Commit Graph

196 Commits

Author SHA1 Message Date
rishabsingh3003 6926466d88 AP_Proximity: Fix comments 2022-08-24 18:26:27 +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
rishabsingh3003 b0108f2c0c AP_Proximity: Increase number of available proximity sensor 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 436f77d673 AP_Proximity: boundary uses shortest dist from multiple backends
Co-authored-by: Rishabh <f20171602@hyderabad.bits-pilani.ac.in>
2022-08-24 18:26:27 +10:00
Randy Mackay 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 b6d133e285 AP_Proximity: reduce ignore areas to 4 per backend 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
rishabsingh3003 5af59abb8f AP_Proximity: Add orientation param to Cygbot 2022-08-22 19:12:45 -04:00
Randy Mackay 63db93c6d7 AP_Proximity: minor format fix 2022-08-17 10:46:57 +09:00
Randy Mackay 1dd2fb695c AP_Proximity: minor format fix 2022-08-17 10:46:56 +09:00
Iampete1 ed330fd026 AP_Proximity: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1 1342fa4851 AP_Proximity: fix complation without fence 2022-07-27 19:04:56 +10:00
Iampete1 68b7293d9a AP_Proximity: move to config.h pattern and only include log structures if enabled 2022-07-13 18:14:12 +10:00
Mirko Denecke e52ca87cbc AP_Proximity: fix misleading variable name for TerraRangerTower 2022-05-11 15:53:47 +09:00
Peter Barker 489f68f68e AP_Proximity: tidy includes 2022-05-03 09:14:58 +10:00
xianglunkai c853694f7a AP_Proximity_Boundary_3D:correction of miswriting 2022-04-21 08:41:07 +09:00
Peter Barker a62e08ee40 AP_Proximity: move logging of Proximity into Proximity library 2022-04-13 16:22:19 +10:00
Andy Piper 173a43e361 AP_Proximity: nuke clang warnings 2022-03-03 16:34:14 +11:00
Tatsuya Yamaguchi 4309fc817e AP_Proximity: change variable type from float to uint8_t 2022-02-07 08:44:09 +09:00
Rishabh 6ceee23b85 AP_Proximity: Add parameter to allow manually setting range to sensors 2022-02-03 09:10:55 +09:00
Rishabh ef20d749bf AP_Proximity: Fix Cygbot_D1 driver CRC 2022-01-31 14:10:21 +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
Andrew Tridgell 93d8a0606f AP_Proximity: use have_serial when detecting
avoid find_serial() as it changes port options
2021-12-21 11:07:44 +11:00
Rishabh 6dea779b1e AP_Proximity: Add Cygbot D1 2021-12-03 08:02:50 +09:00
Sebastian Quilter 1fb1eb793f AP_Proximity: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Iampete1 25aedc4ee7 AP_Proximity: lower SF45B update rate 2021-09-26 20:26:20 +09:00
Josh Henderson f534a315ea AP_Proximity: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Iampete1 9bcd706dae AP_Proximity: hide params with enable flag 2021-08-24 09:38:46 +10:00
bugobliterator 02c0ce175e AP_Proximity: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Tatsuya Yamaguchi 1954f596b8 AP_Proximity: fix proximity status for upward facing rangefinder 2021-06-16 17:41:45 +09: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 acfdf6a38f AP_Proximity: remove mavlink boundary clearing conditions 2021-05-02 20:03:56 -04:00
Rishabh 359327c7a3 AP_Proximity: add temp boundary class 2021-04-19 14:23:26 +09:00
murata 7d3a1739d8 AP_Proximity: Integrate the judgment 2021-04-19 09:08:27 +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
Peter Barker 9a66a1564c AP_Proximity: only send distance_sensor messages if valid data seen
In the case you only have a forward-pointing LIDAR we'd send messages
for each of the other orientations from proximty's horizontal-distances
array, chewing up bandwidth and processing time.
2021-02-23 10:02:47 +09:00