Commit Graph

576 Commits

Author SHA1 Message Date
Peter Barker b0c3aae8e2 AP_RangeFinder: use minimize.inc for HAL_MSP_ENABLED and dependencies 2023-06-14 17:44:13 +10:00
Peter Barker 7461dffb89 AP_RangeFinder: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker 3eae62c69a AP_RangeFinder: add and use AP_RangeFinder_config.h 2023-04-13 07:07:18 +10:00
Andrew Tridgell 1d5bf5a58a AP_RangeFinder: text messages and more defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell 83114f4c74 AP_RangeFinder: rename more variables, types and defines 2023-04-11 10:31:31 +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 01a32430f5 AP_RangeFinder: rename UAVCAN drivers to DroneCAN 2023-04-11 10:31:31 +10:00
Andrew Tridgell ac809c84f2 AP_RangeFinder: rename AP_UAVCAN to AP_DroneCAN 2023-04-08 07:11:23 +10:00
bugobliterator 805a8707da AP_RangeFinder: replace libuavcan with libcanard based driver 2023-03-29 17:16:39 +11: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 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