Peter Barker
ee6bd4fca0
AP_RangeFinder: number enum entries
...
we log these so they should be numbered
2024-08-27 11:05:32 +10:00
Peter Barker
f9a94fd7dd
AP_RangeFinder: make AP_RANGEFINDER_ENABLED remove more code
2024-07-02 09:17:26 +10:00
rishabsingh3003
b22e4fa085
AP_RangeFinder: Refactor RDS02UF rangefinder
2024-04-01 16:12:53 +11:00
zebulon-86
871292cb29
AP_RangeFinder:add support for RDS02UF radar driver on serial
...
parameter RNGFNDx_TYPE is 42
Apply suggestions from code review
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2024-04-01 16:12:53 +11:00
jkronk
5393af5ce4
AP_RangeFinder: add Ainstein radar driver
2024-03-18 12:40:37 -07:00
Peter Mullen
adc0ebf9de
AP_RangeFinder: Add signal_quality_pct to range finder state
2023-11-21 22:24:12 +11:00
jfbblue0922
fef47303d2
AP_RangeFinder: add serial driver for JRE
2023-11-15 19:10:05 +09:00
Peter Barker
26e6a11ba3
AP_RangeFinder: remove more code based on defines
2023-11-01 19:29:48 +11:00
rishabsingh3003
9a02967e3d
AP_RangeFinder: Add NoopLoop TOFSenseF I2c driver
2023-10-25 10:03:54 +11:00
rishabsingh3003
f6a244e14f
AP_RangeFinder: Add NanoRadar NRA24 CAN driver
2023-09-09 17:21:44 +10:00
rishabsingh3003
4422296b95
AP_RangeFinder: Add TOFSenseP CAN Rangefinder
2023-09-09 17:21:44 +10:00
Peter Barker
bf3bafcd17
AP_RangeFinder: move remaining feature defines into _config.h
2023-07-11 10:30:02 +09:00
rishabsingh3003
9e5b75be31
AP_RangeFinder: Add UART driver for NoopLoop rangefinder
2023-06-28 17:16:22 +10:00
Peter Barker
b0c3aae8e2
AP_RangeFinder: use minimize.inc for HAL_MSP_ENABLED and dependencies
2023-06-14 17:44:13 +10:00
Peter Barker
3eae62c69a
AP_RangeFinder: add and use AP_RangeFinder_config.h
2023-04-13 07:07:18 +10:00
Andrew Tridgell
83114f4c74
AP_RangeFinder: rename more variables, types and defines
2023-04-11 10:31:31 +10:00
Andrew Tridgell
e300db5be0
AP_RangeFinder: allow re-init if no sensors found
...
needed for AP_Periph with slow startup sensors or sensors that power
on separately to the CAN node
2023-03-06 19:48:07 +11:00
rishabsingh3003
52bdca950b
AP_RangeFinder: Add Lua Script based backend
2023-02-21 16:47:56 +11:00
Peter Barker
1b7ced4e2e
AP_RangeFinder: remove conversion code from 2019
2022-10-20 08:00:32 +11:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Henry Wurzburg
a46c774698
AP_RangeFinder: add TeraRange Neo Rangefinder
2022-08-09 09:01:34 +10:00
Peter Barker
3a347d32ca
AP_RangeFinder: allow rangefinder backends to be individually compiled in
2022-06-21 09:15:20 +10:00
Peter Barker
50fc43b2d2
AP_RangeFinder: tidy includes
2022-05-03 09:14:58 +10:00
Henry Wurzburg
8ab92f42cd
AP_RangeFinder: add build option for Rangefinders
2022-03-08 14:33:38 -08:00
Peter Barker
ade6b3ddfe
AP_RangeFinder: include cleanups
2022-03-01 11:21:33 +11:00
Andrew Tridgell
3f85eab272
AP_RangeFinder: added Benewake CAN Lidars
...
includes support for setting CAN ID and min SNR
2021-11-30 09:49:20 +11:00
Andrew Tridgell
4f2bec72b6
AP_RangeFinder: rename uLanding to USD1_Serial
...
this was rebranded by the vendor Ainstein a long time ago
2021-10-26 15:31:12 +11:00
Sebastian Quilter
0f7c3e3964
AP_RangeFinder: make rangefinder ranges m rather than cm
2021-10-21 21:28:53 +11:00
Pierre Kancir
bcfb07b39f
AP_Rangefinder: fix override in constructor
2021-08-26 21:48:19 +10:00
bugobliterator
e51d358552
AP_RangeFinder: use typename SIM instead of SITL as it conflicts with namespace name
2021-08-05 07:25:31 +10:00
Pierre Kancir
88b5ff8c6f
AP_Rangefinder: make get_temp const
2021-06-09 10:52:00 +09:00
Randy Mackay
fee30b4447
AP_RangeFinder: add get_temp and implement for NMEA driver
2021-04-20 09:17:48 +10:00
Patrick José Pereira
efffed0510
AP_RangeFinder: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Andrew Tridgell
66c05bef76
AP_RangeFinder: added USD1 CAN driver
...
also known as uLanding CAN
2021-01-01 17:29:54 +11:00
Peter Barker
1c57eed66c
AP_RangeFinder: remove unused voltage_mv_orient method
...
This is really backend-specific data and shouldn't be exposed
2020-12-06 16:49:43 +11:00
Andrew Tridgell
0c05e9a2e7
AP_RangeFinder: fixed handling of instance numbers
...
if a backend allocation failed then we could end up with the backend
being assigned to the wrong instance number. Switch to using
_add_backend() everywhere, and pass the instance number to
_add_backend() to ensure that it always uses the correct slot.
Also added comment explaining how num_sensors() works when we have a
sparse set of rangefinders configured
2020-12-01 10:53:08 +11:00
yaapu
bc21e505e3
AP_RangeFinder: aligned msp message data struct name to gps,baro and mag
2020-09-09 06:35:50 +10:00
Andrew Tridgell
34430e9d6c
AP_RangeFinder: allow separate enable of MSP rangefinder
2020-09-02 05:56:46 +10:00
Andrew Tridgell
84f7589f2d
AP_RangeFinder: allow separate enable of MSP rangefinder
2020-09-02 05:56:46 +10:00
yaapu
699ffcbcd2
AP_RangeFinder: added support for MSP based range finders
2020-09-02 05:56:46 +10:00
Iampete1
e18c195df4
AP_RangeFinder: add SITL backend
2020-08-05 18:24:36 +10:00
Randy Mackay
9c7f382392
AP_RangeFinder: remove unused set_rfnd_bit
2020-07-08 11:42:10 +09:00
Peter Barker
6ec497229b
AP_RangeFinder: add serial support for GY-US42v2 rangefinder
2020-07-04 13:40:10 +10:00
Peter Barker
fc1ea612b1
AP_RangeFinder: add support for HC-SR04 rangefinder
2020-06-02 09:58:53 +10:00
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
2020-05-12 09:45:15 +10:00
Andrew Tridgell
603e5c4b55
AP_RangeFinder: added get_address()
...
allows AP_Periph to supply sensor_id for multiple CAN rangefinders
2020-05-11 18:36:46 +10:00
Peter Barker
adcfb60850
AP_RangeFinder: comment out no-loner-used PX4 enum entry
2020-02-12 21:18:47 +11:00
Andrew Tridgell
2fa6f534ab
AP_RangeFinder: added get_type() API
2020-01-26 09:12:55 +11:00
Randy Mackay
b068f15932
AP_RangeFinder: LeddarVu8 driver
2020-01-23 16:24:33 +11:00
Michael du Breuil
8bd4f2b097
AP_RangeFinder: Allow the VL53L1X to be put into short range mode
2019-12-24 11:40:47 +11:00