Commit Graph

562 Commits

Author SHA1 Message Date
Peter Barker df8276997a AP_RangeFinder: remove GCS.h from library header files 2022-11-16 18:29:07 +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
Peter Barker 5e7ae1213f AP_RangeFinder: remove sitl pointer from header
similar to what we do elsewhere, just grab the singleton in the cpp file rather than taking a pointer to it
2022-10-11 10:50:13 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Andrew Tridgell b7b02bd369 AP_Rangefinder: fixed out of range issue with benewake uart lidars
this impacts the TF03 180m lidar
2022-09-06 12:34:41 +10:00
Peter Barker 03ce5f62d2 AP_RangeFinder: fix examples 2022-08-19 18:33:58 +10:00
Henry Wurzburg a46c774698 AP_RangeFinder: add TeraRange Neo Rangefinder 2022-08-09 09:01:34 +10:00
Andrew Tridgell a0902e39fe AP_RangeFinder: default orientation to NONE for AP_Periph
this removes a setup step for AP_Periph rangefinders
2022-08-03 09:04:25 +10:00
Peter Barker 7e5808a97b AP_RangeFinder: add prearm for analogue/pwm pin conflicts 2022-07-22 09:09:25 +10:00
Andrew Tridgell 0a7757a720 AP_RangeFinder: support Benewake H30 radar
30m max radar
2022-07-13 18:47:57 +10:00
Peter Barker ffc4910c7e AP_RangeFinder: reduce verbiage when detecting serial rangefinders 2022-07-13 18:39:06 +10:00
Peter Barker f4df4298a0 AP_RangeFinder: make LeddarOne calculations more efficient 2022-06-22 21:15:18 +10:00
Peter Barker 90362a4849 AP_RangeFinder: tighten scope of stack variable definition 2022-06-22 21:15:18 +10:00
Peter Barker 6923f20ce6 AP_RangeFinder: stop persisting detections in LeddarOne driver
We don't use these readings except immediately after where we store them - so don't store them persistently.
2022-06-22 21:15:18 +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 2e1af59057 AP_Rangefinder: fixed scaling on PWM driver and enable SCALING parameter
this fixes a bug introduced here:

  https://github.com/ArduPilot/ardupilot/pull/18829

and allows the scaling of PWM rangefinders to be adjusted
2022-06-17 08:21:44 +10:00
Andrew Tridgell 5413893c91 AP_RangeFinder: fixed use of configured() vs configured_in_storage() 2022-06-06 13:11:50 +10:00
Ruffalo-sunghwan 86cd266010 AP_RangeFinder : correct comment spelling 2022-05-24 20:27:45 +09:00
Peter Barker 51246fda45 AP_RangeFinder: enable SITL rangefinder for sim-on-hardware 2022-05-24 10:38:57 +10:00
murata 5728d2fd7c AP_RangeFinder: Console output can be disabled 2022-05-17 09:53:06 +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 50fc43b2d2 AP_RangeFinder: tidy includes 2022-05-03 09:14:58 +10:00
Peter Barker 414d3d27db AP_RangeFinder: add PARAMETER CONVERSION comments 2022-04-28 10:17:11 +10:00
Mohammad Hefny ce8405b7a4 AP_Rangefinder: preserve new address 2022-04-27 10:16:40 +10:00
Henry Wurzburg 4a2aeb03f3 AP_RangeFinder: add note to desc's on how to determine GPIO pin numbers 2022-04-24 08:21:01 +09:00
Henry Wurzburg 8ab92f42cd AP_RangeFinder: add build option for Rangefinders 2022-03-08 14:33:38 -08:00
Peter Barker c7d72821da AP_RangeFinder: add AP_RANGEFINDER_LEDDARVU8_ENABLED 2022-03-08 11:29:13 +11:00
Peter Barker ade6b3ddfe AP_RangeFinder: include cleanups 2022-03-01 11:21:33 +11:00
Peter Barker 6fb8a4fc15 AP_RangeFinder: correct grammar on type field 2022-02-08 10:42:56 +09:00
chobits 051104a3f7 AP_RangFinder: support various maxbotix serial sonar 2022-01-18 11:08:34 +11:00
Andrew Tridgell 366ff24941 AP_RangeFinder: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-21 11:07:44 +11:00
Hwurzburg b95d3df7ab AP_RangeFinder: change UAVCAN to DroneCAN in param metadata 2021-12-15 09:53:21 +11: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
Andrew Tridgell 7ab343dd66 AP_RangeFinder: fixed support for multiple Benewake_CAN CAN lidars 2021-12-04 16:31:35 +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 4f6da39bb7 AP_CANManager: support Benewake CAN 2021-11-30 09:49:20 +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
Peter Barker f6aeb01994 AP_RangeFinder: signal quality reporting 2021-11-23 18:20:58 +11:00
Wynn, Jesse Stewart a7321cbae1 AP_RangeFinder_LightWareSerial: check dist for lost signal flags
consider messages valid only if they are non-negative AND if the value is not a known lost-signal reading
2021-11-18 12:06:57 +11:00
TunaLobster ba9381f40c AP_RangeFinder: fix ADC scaling on IOMCU 2021-11-16 14:12:43 +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
divyateja04 001f6a29ee AP_RangeFinder: removed empty constructors 2021-10-31 09:49:25 +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
Andrew Tridgell c1b9585926 AP_RangeFinder: average over 100Hz frames in USD1 CAN driver
this reduces noise
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
Randy Mackay 85dbb70df5 AP_RangeFinder_NMEA: add hondex custom message support 2021-10-20 19:46:21 +11:00
Iampete1 f667c098a2 AP_RangeFinder: analog: check for valid pin 2021-10-06 18:42:51 +11:00