You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Rangefinder.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ Following rangefinders are supported:
20
20
* UIB - experimental
21
21
* MSP - experimental
22
22
* TOF10120 - small & lightweight laser range sensor, usable up to 200cm
23
+
* TERARANGER EVO - 30cm to 600cm, depends on version https://www.terabee.com/sensors-modules/lidar-tof-range-finders/#individual-distance-measurement-sensors
#defineTERARANGER_EVO_I2C_REGISTRY_TRIGGER_READING 0x00 // Write this command to the TeraRanger Evo and after a wait of approximately 500us read the 3 byte distance response
44
+
#defineTERARANGER_EVO_I2C_REGISTRY_WHO_AM_I 0x01 // Write this value to TeraRanger Evo via I2C and the device responds with 0xA
45
+
#defineTERARANGER_EVO_I2C_REGISTRY_CHANGE_BASE_ADDR 0xA2 // This command assigns a base address that will be memorised by the TerRanger Evo ie. power cycling the Evo will not restore the default I2C address.
* This Source Code Form is subject to the terms of the Mozilla Public
5
+
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
6
+
* You can obtain one at http://mozilla.org/MPL/2.0/.
7
+
*
8
+
* Alternatively, the contents of this file may be used under the terms
9
+
* of the GNU General Public License Version 3, as described below:
10
+
*
11
+
* This file is free software: you may copy, redistribute and/or modify
12
+
* it under the terms of the GNU General Public License as published by the
13
+
* Free Software Foundation, either version 3 of the License, or (at your
14
+
* option) any later version.
15
+
*
16
+
* This file is distributed in the hope that it will be useful, but
17
+
* WITHOUT ANY WARRANTY; without even the implied warranty of
18
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
19
+
* Public License for more details.
20
+
*
21
+
* You should have received a copy of the GNU General Public License
22
+
* along with this program. If not, see http://www.gnu.org/licenses/.
23
+
*/
24
+
#pragma once
25
+
26
+
#defineRANGEFINDER_TERA_EVO_TASK_PERIOD_MS 70
27
+
#defineRANGEFINDER_TERA_EVO_MAX_RANGE_CM 600 // max distance depends on model https://www.terabee.com/sensors-modules/lidar-tof-range-finders/#individual-distance-measurement-sensors
0 commit comments