Peter Barker
dd8361ba33
AP_RangeFinder: remove default case from Rangefinder init switch
...
Allows the compiler to help the programmer fill in required code
4 years ago
yaapu
bc21e505e3
AP_RangeFinder: aligned msp message data struct name to gps,baro and mag
4 years ago
Peter Barker
72b49efc78
AP_RangeFinder: create and use new AP_HAL::PWMSource object
4 years ago
Rajat Singhal
e9b3c54e6d
AP_Rangefinder: Add SITL option in param description
4 years ago
Andrew Tridgell
34430e9d6c
AP_RangeFinder: allow separate enable of MSP rangefinder
4 years ago
Andrew Tridgell
84f7589f2d
AP_RangeFinder: allow separate enable of MSP rangefinder
4 years ago
Andrew Tridgell
17173871a4
AP_RangeFinder: fixed non-MSP build
4 years ago
yaapu
699ffcbcd2
AP_RangeFinder: added support for MSP based range finders
4 years ago
Siddharth Purohit
6ef85dd7eb
AP_RangeFinder: use AP_CANManager library
5 years ago
Iampete1
e18c195df4
AP_RangeFinder: add SITL backend
5 years ago
Andrew Tridgell
8d5c51748f
AP_RangeFinder: fixed legacy parsing of 65436 for lightware i2c
...
some lidars will probe as legacy protocol and return 65436 as range
5 years ago
Iampete1
2adbaf1a1d
AP_RangeFinder_NMEA: decode each sentence once
5 years ago
Randy Mackay
9c7f382392
AP_RangeFinder: remove unused set_rfnd_bit
5 years ago
Randy Mackay
613d2c2e0a
AP_RangeFinder: LightWareSerial gets small comment
5 years ago
murata
98feb06183
AP_RangeFinder: Add GYUS42v2 to the TYPE item
5 years ago
Peter Barker
6ec497229b
AP_RangeFinder: add serial support for GY-US42v2 rangefinder
5 years ago
Randy Mackay
429e70fb94
AP_RangeFinder: LightwareSerial uses nullptr for strtof
5 years ago
Randy Mackay
85c4db6896
AP_RangeFinder: LightwareSerial driver loses unnecessary initialisation
5 years ago
Randy Mackay
cdbc0c782b
AP_RangeFinder: add sf30d binary protocol support
...
Co-authored-by: Tatsuya Yamaguchi <susumu-336@hotmail.co.jp>
5 years ago
Tatsuya Yamaguchi
ed14518634
AP_RangeFinder: TYPE param becomes enable flag
5 years ago
Henry Wurzburg
f9b02a6814
AP_RangeFinder: HC-SR04: Add glitch filter
5 years ago
Peter Barker
fc1ea612b1
AP_RangeFinder: add support for HC-SR04 rangefinder
5 years ago
Andrew Tridgell
2dcf8a3b08
AP_RangeFinder: cope with beyond max range with LightwareI2C
5 years ago
Peter Barker
af80c4a29f
AP_RangeFinder: remove move-to-error-state for LeddarOne driver
...
Just because there's a lot in your input buffer doesn't necessarily mean
the rangefinder is faulty.
5 years ago
Peter Barker
95f9769041
AP_RangeFinder: use new UARTDriver discard_input method
5 years ago
Henry Wurzburg
23e7e2d193
AP_RangeFinder: rename Benewake types for easier identification
5 years ago
Andrew Tridgell
d16f31711e
AP_RangeFinder: fixed mixing UAVCAN and non-UAVCAN rangefinders
...
UAVCAN rangefinders add themselves to the frontend drivers as the
devices appear. If they turn up before RangeFinder::init() is run then
this prevented init() from scanning for the other rangefinders as
num_instances is non-zero
This also fixes a race condition in updating num_instances in the
UAVCAN backend
5 years ago
Andrew Tridgell
603e5c4b55
AP_RangeFinder: added get_address()
...
allows AP_Periph to supply sensor_id for multiple CAN rangefinders
5 years ago
Andrew Tridgell
ffe9fa22a1
AP_RangeFinder: invalidate param count when changing param tree structure
5 years ago
Andrew Tridgell
b102fd6b59
AP_RangeFinder: use GCS_SEND_TEXT()
5 years ago
Peter Barker
b7a03ae5ad
AP_RangeFinder: rename APMrover2 to Rover
5 years ago
Peter Barker
adcfb60850
AP_RangeFinder: comment out no-loner-used PX4 enum entry
5 years ago
Peter Barker
6febbcdc13
AP_RangeFinder: remove incorrect and misleading comment
...
Wrong on several counts. detect calls this method. The constructor
doesn't initialise the rangefinder. detect doesn't return boolean.
5 years ago
Patrick José Pereira
a183d00b7e
AP_RangeFinder: BLPing: Rework class to work with new firmware version 3.28
...
- Uses the continuous message request
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Randy Mackay
7d8952a48a
AP_RangeFinder: fix offset param for PWM driver
5 years ago
Randy Mackay
52ca1e016e
AP_RangeFinder: minor fix in POS param description
5 years ago
Randy Mackay
9f3154372d
AP_RangeFinder: POS param range of 5m and 1cm increment
5 years ago
Michael du Breuil
7bc1f4ff9b
AP_RangeFinder: a to close reading is not the minimum distance
5 years ago
Andrew Tridgell
2fa6f534ab
AP_RangeFinder: added get_type() API
5 years ago
murata
b0af48745e
AP_RangeFinder: VL53L1X LONG can be specified
...
AP_RangeFinder: VL53L1X LONG can be specified
AP_RangeFinder: Add VL53L1X to device number 16
AP_RangeFinder: Add VL53L1X to device number 16
5 years ago
Randy Mackay
141099078c
AP_RangeFinder: increase leddarvu8 timeout to 0.5sec
5 years ago
Randy Mackay
f269004610
AP_RangeFinder: fix detect for LeddarVu8
...
Co-Authored-By: Peter Barker <pb-gh@barker.dropbear.id.au>
5 years ago
Randy Mackay
b068f15932
AP_RangeFinder: LeddarVu8 driver
5 years ago
Randy Mackay
e5c3a7f7b5
AP_RangeFinder: typo fix for LeddarOne
5 years ago
Randy Mackay
266a908b83
AP_RangeFinder: serial backend get_reading returns false
5 years ago
Randy Mackay
9ac10c3af9
AP_RangeFinder: remove virtual from _get_mav_distance_sensor_type
5 years ago
Andrew Tridgell
7dcb5c60b0
AP_RangeFinder: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
...
this makes for cleaner and smaller code as the failure case is not
needed
5 years ago
Randy Mackay
bcef478eab
AP_RangeFinder: update OFFSET param description to clarify only for analog and pwm
5 years ago
Randy Mackay
2bdb2f67ab
AP_RangeFinder: PWM driver adds offset param value
5 years ago
Michael du Breuil
d92c4dc892
AP_Rangefinder: Fix bad subgroup pointer for drivers
5 years ago