Henry Wurzburg
a46c774698
AP_RangeFinder: add TeraRange Neo Rangefinder
3 years ago
Peter Barker
7e5808a97b
AP_RangeFinder: add prearm for analogue/pwm pin conflicts
3 years ago
Peter Barker
ffc4910c7e
AP_RangeFinder: reduce verbiage when detecting serial rangefinders
3 years ago
Peter Barker
deba0b712b
AP_RangeFinder: correct creation/use of TFMINI_ADDR_DEFAULT
...
Named incorrectly and defined in wrong file...
3 years ago
Peter Barker
3a347d32ca
AP_RangeFinder: allow rangefinder backends to be individually compiled in
3 years ago
Andrew Tridgell
5413893c91
AP_RangeFinder: fixed use of configured() vs configured_in_storage()
3 years ago
Peter Barker
51246fda45
AP_RangeFinder: enable SITL rangefinder for sim-on-hardware
3 years ago
Peter Barker
cef436b272
AP_RangeFinder: implement distance_cm_orient in terms of distance_orient
3 years ago
Peter Barker
414d3d27db
AP_RangeFinder: add PARAMETER CONVERSION comments
3 years ago
Henry Wurzburg
8ab92f42cd
AP_RangeFinder: add build option for Rangefinders
3 years ago
Peter Barker
8973dfa8e0
AP_RangeFinder: use HAL_LOGGING_ENABLED in place of HAL_BUILD_AP_PERIPH
3 years ago
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
3 years ago
Andrew Tridgell
3f85eab272
AP_RangeFinder: added Benewake CAN Lidars
...
includes support for setting CAN ID and min SNR
3 years ago
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.
3 years ago
Andrew Tridgell
4f2bec72b6
AP_RangeFinder: rename uLanding to USD1_Serial
...
this was rebranded by the vendor Ainstein a long time ago
3 years ago
Andy Piper
a2bb0b01e8
AP_RangeFinder: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
3 years ago
Sebastian Quilter
0f7c3e3964
AP_RangeFinder: make rangefinder ranges m rather than cm
3 years ago
Gone4Dirt
e0af10886b
AP_RangeFinder: Add APM_BUILD_Heli
3 years ago
Pierre Kancir
bcfb07b39f
AP_Rangefinder: fix override in constructor
4 years ago
bugobliterator
e51d358552
AP_RangeFinder: use typename SIM instead of SITL as it conflicts with namespace name
4 years ago
Siddharth Purohit
0795225475
AP_RangeFinder: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
4 years ago
Pierre Kancir
88b5ff8c6f
AP_Rangefinder: make get_temp const
4 years ago
Randy Mackay
fee30b4447
AP_RangeFinder: add get_temp and implement for NMEA driver
4 years ago
Patrick José Pereira
efffed0510
AP_RangeFinder: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Peter Barker
78b49a2c35
AP_RangeFinder: maxbotix: use i2c-address parameter
4 years ago
Andrew Tridgell
66c05bef76
AP_RangeFinder: added USD1 CAN driver
...
also known as uLanding CAN
4 years ago
Peter Barker
1c57eed66c
AP_RangeFinder: remove unused voltage_mv_orient method
...
This is really backend-specific data and shouldn't be exposed
4 years ago
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
4 years ago
murata
bbc673c668
AP_RangeFinder: Change rangefinder number 10 to A
4 years ago
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
Andrew Tridgell
84f7589f2d
AP_RangeFinder: allow separate enable of MSP rangefinder
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
Peter Barker
6ec497229b
AP_RangeFinder: add serial support for GY-US42v2 rangefinder
5 years ago
Peter Barker
fc1ea612b1
AP_RangeFinder: add support for HC-SR04 rangefinder
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
ffe9fa22a1
AP_RangeFinder: invalidate param count when changing param tree structure
5 years ago
Peter Barker
b7a03ae5ad
AP_RangeFinder: rename APMrover2 to Rover
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
Michael du Breuil
d92c4dc892
AP_Rangefinder: Fix bad subgroup pointer for drivers
5 years ago
Michael du Breuil
8bd4f2b097
AP_RangeFinder: Allow the VL53L1X to be put into short range mode
5 years ago
Randy Mackay
e12e0d95ae
AP_RangeFinder: remove param conversion for 3rd and 4th
...
3rd and 4th instances were not available to users unless they used their own builds which is rare
this reduces the firmware's flash size a small amount
5 years ago
Randy Mackay
1b84c8132e
AP_RangeFinder: param conversion fix
...
This resolves an issue with the parameter conversion when moving from Copter-3.6.x to 4.0 (and similar moves for other vehicle types)
5 years ago
Peter Barker
35e987c663
AP_RangeFinder: adjust for renaming of RangeFinder files
5 years ago
Peter Barker
7c9ab0203d
AP_RangeFinder: rename source files to include AP_ prefix
...
This makes them look like most of our libraries
5 years ago
Peter Barker
acc1f955ef
AP_RangeFinder: make Benewake backend use new intermediate class
5 years ago
Peter Barker
3538fe360b
AP_RangeFinder: add intermediate serial backend class to share common code
5 years ago