Andrew Tridgell
51acb72152
AP_RangeFinder: fixed lightware serial with LW20 lidar
...
it needs a longer serial write to force it to serial mode from i2c
2019-02-25 10:52:25 +11:00
Andrew Tridgell
3dd4cf4d87
AP_Rangefinder: probe all I2C buses for rangefinders
2019-02-25 10:52:25 +11:00
pierre-louis.k
a23c174e24
AP_RangeFinder: Remove range enforcement on out of range
2018-12-09 07:32:49 +11:00
pierre-louis.k
5e328e6276
AP_RangeFinder: Rework function structure in TeraRanger driver
2018-12-09 07:32:46 +11:00
pierre-louis.k
8198235af4
AP_RangeFinder: Rename function in TeraRanger driver
2018-12-09 07:32:44 +11:00
pierre-louis.k
4769055c4a
AP_RangeFinder: Give back semaphore on whoami error
2018-12-09 07:32:42 +11:00
pierre-louis.k
92791821c1
AP_RangeFinder: Clean TeraRanger driver
2018-12-09 07:32:39 +11:00
pierre-louis.k
cfd13d4e83
AP_RangeFinder: Add error codes rejection for TeraRanger sensors
2018-12-09 07:32:36 +11:00
Nghia Nguyen
21782835c4
AP_Rangefinder: Add support for Garmin LidarLite-V3HP
2018-12-09 07:31:44 +11:00
Randy Mackay
f408adf696
AP_RangeFinder: check I2C dev during detect
2018-12-09 07:31:32 +11:00
Randy Mackay
6699a44b1b
AP_RangeFinder: benewake tfmini always provide cm distances
...
a misunderstanding of the datasheet led to the mistaken idea that while in short-range-mode the distances were returned in millimeters
2018-12-09 07:30:46 +11:00
Randy Mackay
dfe32e7496
RangeFinder: benewake buffer uses uint8_t
2018-12-09 07:30:44 +11:00
Randy Mackay
8969926765
AP_RangeFinder: fix benewake checksum check
2018-11-15 17:20:40 +11:00
Randy Mackay
07bbf75a8b
AP_RangeFinder: benewake returns at least 12m or 22m when out-of-range
...
value logged and shown to the user will be at least 12m for TFmini or 22m for TF02 which ensure the user won't see the range drop even if they have configured a very short useable distance
2018-11-15 17:20:30 +11:00
Randy Mackay
16c4776475
AP_RangeFinder: benewake logic reordering
...
this should be a non-functional change
2018-11-15 17:20:27 +11:00
Randy Mackay
89f485f32e
AP_RangeFinder: benewake lidar returns max range + 1m when out-of-range
...
also returns out-of-range when signal is weak
2018-11-15 17:20:23 +11:00
Randy Mackay
9485ab8eb8
AP_RangeFinder: Benewake driver discards distances over 327m
2018-11-10 14:04:07 +11:00
Andrew Tridgell
3c95a74438
AP_RangeFinder: fixed VL53L0X semaphore usage
2018-07-27 10:04:02 +10:00
Patrick José Pereira
32fa7e2c2a
AP_RangeFilter: Fix equality comparison with extraneous parentheses
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-27 14:59:33 -07:00
Michael du Breuil
fb99ea0446
AP_Rangefinder: Update WASP defaults
2018-06-01 15:08:35 +09:00
Randy Mackay
99cf279dff
AP_RangeFinder: remove unused definitions from MaxSonarI2C
2018-06-01 15:06:13 +09:00
Randy Mackay
98e87db274
AP_RangeFinder: MaxsonarI2C reports no data after 300ms
2018-06-01 15:04:40 +09:00
Randy Mackay
e520d4fe42
AP_RangeFinder: Benewake TF02 and TFmini lidar driver
2018-05-30 11:16:35 +09:00
Michael du Breuil
b2d8f6e788
AP_Rangefinder: Fix bad fallthrough from NMEA driver
2018-05-29 00:10:40 +01:00
Andrew Tridgell
08228efc72
AP_Rangefinder: fixed param docs for Wasp backend
2018-05-28 11:44:29 +01:00
Andrew Tridgell
3b8d5ea4cf
AP_Rangefinder: fixed param handling for Wasp backends
2018-05-28 11:44:29 +01:00
Michael du Breuil
b678302aed
AP_Rangefinder: Add WASP 200 LRF backend
2018-05-28 11:44:29 +01:00
Randy Mackay
85efab1ec8
AP_RangeFinder: reduce MaxsonarI2C update to 10hz
2018-05-24 13:37:03 +09:00
Randy Mackay
fd2e5741ce
AP_RangeFinder: MaxsonarI2C formatting fixes
2018-05-24 13:37:00 +09:00
Randy Mackay
3f749051d3
AP_RangeFinder: NMEA sonar driver
2018-05-24 12:46:38 +09:00
Michael du Breuil
7d6c3ec683
AP_RangeFinder: Make singleton
2018-05-16 23:21:41 +01:00
Michael du Breuil
9e551350a4
AP_RangeFinder: Remove unneeded state member
2018-05-16 23:21:41 +01:00
Dmitri Ranfft
8fa281fa5b
RangeFinder: fixed a crash when VL53L0X was enabled in the software but not connected.
2018-05-07 11:47:39 +10:00
Peter Barker
c627ed6ae3
RangeFinder: remove divide-by-zero possibility
2018-03-31 16:14:09 +09:00
Francisco Ferreira
146143ff2e
AP_Rangefinder: adapt to new serial manager enum name
...
Lidar is now called Rangefinder
2018-02-28 08:04:16 +09:00
Francisco Ferreira
45531775cd
AP_Rangefinder: support multiple serial rangefinders
2018-02-28 08:04:16 +09:00
Francisco Ferreira
5999421c72
AP_RangeFinder: uLanding now uses the Lidar protocol
...
uLanding was using a specific protocol in serial manager, but that's not needed and would break following work
As previously, baudrate is hardcoded
2018-02-28 08:04:16 +09:00
LukeMike
721f55e93c
VRBRAIN / AP_RangeFinder: removed AP_RangeFinder_PX4_PWM for VR Brain boards
2018-02-05 08:26:49 +11:00
Pierre Kancir
6728598099
AP_Rangefinder: don't include Bebop rangefinder by default
2017-12-21 04:13:09 +00:00
Andrew Tridgell
ffced7d591
AP_RangeFinder: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Francisco Ferreira
02586b0a2e
AP_Rangefinder: search buses 0 and 1 for Maxbotix I2C driver
2017-10-09 11:57:02 +01:00
Francisco Ferreira
bb46eaedaa
AP_Rangefinder: look in buses 0/1 when Lightware I2C bus isn't defined
2017-10-09 11:57:02 +01:00
Lucas De Marchi
72fd2d6f05
global: use static method to construct AP_SerialManager
2017-09-26 03:01:21 +01:00
Lucas De Marchi
9027a55696
global: use static method to construct RangeFinder
2017-09-26 03:01:21 +01:00
Lucas De Marchi
2e80b2e1d0
AP_RangeFinder: add static create method
2017-09-26 03:01:21 +01:00
davidaroyer
cb270a9acf
AP_RangeFinder: cleanup variable names in uLanding driver
2017-09-22 18:08:27 +01:00
davidaroyer
8284fb1093
AP_RangeFinder: update uLanding driver for new firmware data format
2017-09-22 18:08:27 +01:00
Lucas De Marchi
7b0d6166e1
AP_RangeFinder: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
2017-08-22 23:59:13 -07:00
Mateusz Sadowski
eb56a010b3
AP_RangeFinder: TeraRangerI2C: use address from parameter instead of hardcoded
2017-08-15 19:42:10 +01:00
Mateusz Sadowski
0993300506
AP_Rangefinder: rename trone to TeraRangerI2C
2017-08-15 19:27:49 +01:00