Peter Barker
e55799c8d8
AP_RangeFinder: correct use of AP_RANGEFINDER_LUA_ENABLED
...
new, separate define to AP_SCRIPTING_ENABLED use was incomplete
2023-10-27 14:16:47 +11:00
rishabsingh3003
9a02967e3d
AP_RangeFinder: Add NoopLoop TOFSenseF I2c driver
2023-10-25 10:03:54 +11:00
Willian Galvani
fd4da61067
AP_RangeFinder: log signal quality
2023-10-11 08:29:58 +11:00
rishabsingh3003
747c708dba
AP_RangeFinder: Have special handling for NRA24 pre-arm checks
2023-09-09 17:21:44 +10: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
0355ab45ff
AP_RangeFinder: add missing internalerror include
2023-09-03 08:41:10 +10:00
Peter Barker
b7232b1d38
AP_RangeFinder: add missing include for I2cDevice.h
...
needed for the FOREACH_I2C macro
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
Andrew Tridgell
7b1337adaf
AP_RangeFinder: change UAVCAN_ENABLED to DRONECAN_ENABLED
2023-04-11 10:31:31 +10:00
Andrew Tridgell
f7a52557f6
AP_RangeFinder: update header references
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
d084ae0153
AP_RangeFinder: Allow multiple USD-D1-CAN
2023-03-02 07:56:56 +11:00
rishabsingh3003
52bdca950b
AP_RangeFinder: Add Lua Script based backend
2023-02-21 16:47:56 +11:00
Iampete1
b155731f33
AP_RangeFinder: skip GPIO arming check on analog backend
2022-12-13 12:06:06 +11:00
Peter Barker
a6510daf6a
AP_RangeFinder: tidy AP_SerialManager.h includes
2022-11-08 09:49:19 +11:00
Peter Barker
1b7ced4e2e
AP_RangeFinder: remove conversion code from 2019
2022-10-20 08:00:32 +11:00
Henry Wurzburg
a46c774698
AP_RangeFinder: add TeraRange Neo Rangefinder
2022-08-09 09:01:34 +10:00
Peter Barker
7e5808a97b
AP_RangeFinder: add prearm for analogue/pwm pin conflicts
2022-07-22 09:09:25 +10:00
Peter Barker
ffc4910c7e
AP_RangeFinder: reduce verbiage when detecting serial rangefinders
2022-07-13 18:39:06 +10:00
Peter Barker
deba0b712b
AP_RangeFinder: correct creation/use of TFMINI_ADDR_DEFAULT
...
Named incorrectly and defined in wrong file...
2022-06-21 09:15:20 +10:00
Peter Barker
3a347d32ca
AP_RangeFinder: allow rangefinder backends to be individually compiled in
2022-06-21 09:15:20 +10:00
Andrew Tridgell
5413893c91
AP_RangeFinder: fixed use of configured() vs configured_in_storage()
2022-06-06 13:11:50 +10:00
Peter Barker
51246fda45
AP_RangeFinder: enable SITL rangefinder for sim-on-hardware
2022-05-24 10:38:57 +10:00
Peter Barker
cef436b272
AP_RangeFinder: implement distance_cm_orient in terms of distance_orient
2022-05-03 09:23:37 +10:00
Peter Barker
414d3d27db
AP_RangeFinder: add PARAMETER CONVERSION comments
2022-04-28 10:17:11 +10:00
Henry Wurzburg
8ab92f42cd
AP_RangeFinder: add build option for Rangefinders
2022-03-08 14:33:38 -08:00
Peter Barker
8973dfa8e0
AP_RangeFinder: use HAL_LOGGING_ENABLED in place of HAL_BUILD_AP_PERIPH
2021-12-14 10:34:06 +11:00
Shiv Tyagi
e1a528213d
AP_Rangefinder: Use default address for TFMiniPlus I2C unless configured
...
This fixes the issue #13419 . If RNGFNDx_ADDR is not configured, it uses default address for TFmini i2c
2021-11-30 10:09:24 +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
Shiv Tyagi
516eafa45b
AP_Rangefinder: fail RF prearm checks for NoData/NotConnected statuses
...
Earlier we only failed RF checks if we could not detect an RF instance but we should also fail it if the RF is not connected or we receive no data.
2021-11-13 09:47:39 +09: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
Andy Piper
a2bb0b01e8
AP_RangeFinder: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
2021-10-26 11:42:12 +11:00
Sebastian Quilter
0f7c3e3964
AP_RangeFinder: make rangefinder ranges m rather than cm
2021-10-21 21:28:53 +11:00
Gone4Dirt
e0af10886b
AP_RangeFinder: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10: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
Siddharth Purohit
0795225475
AP_RangeFinder: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +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
Peter Barker
78b49a2c35
AP_RangeFinder: maxbotix: use i2c-address parameter
2021-01-19 11:20:47 +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
murata
bbc673c668
AP_RangeFinder: Change rangefinder number 10 to A
2020-11-17 11:46:25 +11:00
Peter Barker
dd8361ba33
AP_RangeFinder: remove default case from Rangefinder init switch
...
Allows the compiler to help the programmer fill in required code
2020-09-10 20:52:06 +10: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
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