muramura
f43a277706
AP_Proximity: PROXIMITY is optional, so the number of devices can be specified
2025-04-29 12:33:00 +09:00
rishabsingh3003
114bbf1a58
AP_Proximity: Add more proximity backends
2025-04-22 11:10:51 +10:00
Peter Barker
e93594c486
AP_Proximity: correct compialtion when hexsoon radar not compiled in
...
../../libraries/AP_Proximity/AP_Proximity.cpp: In member function 'void AP
_Proximity::init()':
../../libraries/AP_Proximity/AP_Proximity.cpp:231:20: error: 'Hexsoon_Rada
r' is not a member of 'AP_Proximity::Type'
231 | case Type::Hexsoon_Radar:
| ^~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
2025-03-09 11:16:38 +11:00
Randy Mackay
ebbf3998b6
AP_Proximity: add Hexsoon radar support
2025-02-18 16:38:12 +09:00
Andrew Tridgell
c681701f81
AP_Proximity: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
rishabsingh3003
0efe4351f1
AP_Proximity: Improve get_status handling
2024-03-07 18:14:04 +11:00
rishabsingh3003
b8d08a7211
AP_Proximity: Add support for CAN MR72
2024-02-06 10:57:21 +11:00
Adithya Patil
98d8c94fee
AP_Proximity: add driver for LD06
2023-10-05 08:23:00 +11:00
rishabsingh3003
601b01ed8b
AP_Proximity: Add backend for scripted Lua Driver
2023-08-03 08:02:49 +09:00
Peter Barker
37f638c5f7
AP_Proximity: include AP_Proximity_Backend.h in AP_Proximity.cpp
...
fixes a compilation problem if all of the backends are compiled out!
2023-04-16 12:29:42 +10:00
Peter Barker
c110ac489c
AP_Proximity: add and use defines for all Proximity backends
2023-04-13 07:07:18 +10:00
Peter Barker
4a29a57d8d
AP_Proximity: fix fallthrough in proximity switch
...
in the case that cygbot was selected but not compiled in we would try to insantiate a DroneCAN backend
2023-04-06 15:10:55 +10:00
rishabsingh3003
ea1fb96e7b
AP_Proximity: Add DroneCAN backend
2022-12-15 07:20:05 +11:00
HefnySco
2a0b103c2c
AP_Proximity: change PROXIMITY_GND_DETECT_THRESHOLD to param
2022-09-14 19:40:35 +10:00
rishabsingh3003
6e603418eb
AP_Proximity: Remove primary_instance
2022-08-24 18:26:27 +10:00
rishabsingh3003
3a347374c8
AP_Proximity: Cycle through all drivers to check for upward distance
2022-08-24 18:26:27 +10:00
rishabsingh3003
5d29dd98c1
AP_Proximity: Make new Utils file for PRX utility functions
2022-08-24 18:26:27 +10:00
rishabsingh3003
f0f24dde99
AP_Proximity: Make sure all sensors are used for pre arm check
2022-08-24 18:26:27 +10:00
Randy Mackay
0cbba4fdd0
AP_Proximity: distance_min/max checks all backends
2022-08-24 18:26:27 +10:00
Randy Mackay
1f0a633425
AP_Proximity: fixup handle_msg comment
2022-08-24 18:26:27 +10:00
Randy Mackay
7dbbca8d58
AP_Proximity: remove public get_orientation and get_yaw_correction
...
this are only used by backends
2022-08-24 18:26:27 +10:00
Randy Mackay
965cdd7e72
AP_Proximity: fixup detection of serial drivers
2022-08-24 18:26:27 +10:00
Randy Mackay
826cf558eb
AP_Proximity: log if any drivers created
...
allows logging even if only 2nd proximity sensor is configured
2022-08-24 18:26:27 +10:00
Randy Mackay and Rishabh
7432a20394
AP_Proximity: move boundary to frontend
...
Co-authored-by: Rishabh <f20171602@hyderabad.bits-pilani.ac.in >
2022-08-24 18:26:27 +10:00
Randy Mackay
eff86c88ab
AP_Proximity: reorder method declarations and implementations
2022-08-24 18:26:27 +10:00
Randy Mackay
6025b1dcaa
AP_Proximity: move params to separate class
...
simplies increasing the maximum number of backends
2022-08-24 18:26:27 +10:00
Peter Barker
a62e08ee40
AP_Proximity: move logging of Proximity into Proximity library
2022-04-13 16:22:19 +10:00
Rishabh
6ceee23b85
AP_Proximity: Add parameter to allow manually setting range to sensors
2022-02-03 09:10:55 +09:00
khanasif786
c50b8597db
AP_Proximity: Removed AP_Proximity_LightWareSF40C_v09
...
deleted older drivers for fixing running out of flash space in some boards
2022-01-07 08:28:59 +09:00
Rishabh
6dea779b1e
AP_Proximity: Add Cygbot D1
2021-12-03 08:02:50 +09:00
Iampete1
9bcd706dae
AP_Proximity: hide params with enable flag
2021-08-24 09:38:46 +10:00
Rishabh
cb911a01e2
AP_Prox: Add plane intersection code to closest_point_from_segment_to_obstacle
2021-06-12 13:31:52 +09:00
Rishabh
5e5ca6e02a
AP_Proximity: Check for stray faces and add new param for filter cut off freq
2021-04-05 14:09:17 +09:00
Rishabh
1dc67fb932
AP_Proximity: Change parameter defaults
2021-04-05 13:43:28 +09:00
Randy Mackay
1fad5d46e7
AP_Proximity: add #if HAL_PROXIMITY_ENABLED
2021-03-26 16:22:46 +09:00
Rishabh
e9c0e50185
AP_Proximity: Filter out land detected by sensors
2021-03-09 11:02:26 +09:00
Rishabh
044e1850d4
AP_Proximity: Add a low pass filter per face for distances
2021-03-08 16:33:20 +09:00
Tatsuya Yamaguchi
ecf928d68b
AP_Proximity: change PRX_IGN_WIDx range from 45 to 127
2021-03-04 17:40:07 +09:00
Rishabh
343ba1a693
AP_Proximity: Use only valid boundary for Simple Avoidance
2021-02-01 14:34:13 +09:00
Rishabh
36bba2e02c
AP_Proximity: Convert Proximity Backend drivers to use 3D Boundary methods
2021-02-01 14:34:13 +09:00
Rishabh
c1d67705ce
AP_Proximity: Remove Morse backend
2020-11-18 20:23:45 +11:00
Randy Mackay
e081d83185
AP_Proximity: Lightware SF45B driver
2020-10-06 20:52:29 +11:00
Randy Mackay
449b8d124b
AP_Proximity: remove unused get_horizontal_distance
2020-01-01 13:38:41 +09:00
Peter Barker
cff648caf6
AP_Proximity: remove unused AP_AHRS.h include
2019-12-05 22:41:49 +11:00
Randy Mackay
49069c7ad5
AP_Proximity: new lightware SF40C driver
...
New driver using latest streaming interface
Old driver left in place because older devices cannot be updated
2019-11-15 12:25:53 +08:00
Randy Mackay
a747610fc1
AP_Proximity: backup lightware SF40C driver to v09
2019-11-15 12:25:53 +08:00
Peter Barker
8fe16f5627
AP_Proximity: use enum class for status
2019-10-31 11:58:15 +08:00
Peter Barker
f5f6eb8231
AP_Proximity: correct checking of valid instance in various getters
2019-10-31 11:58:15 +08:00
Peter Barker
de7e3acc29
AP_Proximity: use enum class for proximity type
...
Removes verbiage from AP_Proximity.cpp
2019-10-31 11:58:15 +08:00
Peter Barker
4962b7a98e
AP_Proximity: stop passing serial manager around, use singleton
2019-10-31 11:58:15 +08:00