Commit Graph

34 Commits

Author SHA1 Message Date
Peter Barker c110ac489c AP_Proximity: add and use defines for all Proximity backends 2023-04-13 07:07:18 +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 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
Rishabh 6ceee23b85 AP_Proximity: Add parameter to allow manually setting range to sensors 2022-02-03 09:10:55 +09:00
Josh Henderson f534a315ea AP_Proximity: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10: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
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 de67e2b70c AP_Proximity: refactor changes done for 3-D Boundary 2021-02-01 14:34:13 +09:00
Randy Mackay 2d77adf720 AP_Proximity: MAV backend uses modified Boundary_3D interface 2021-02-01 14:34:13 +09:00
Rishabh 43717ea55c AP_Proximity: Add OBSTACLE_DISTANCE_3D mavlink message 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
Peter Barker 945d19a9c5 AP_Proximity: resolve ambiguity about which distance is in which sector 2020-08-17 11:20:12 +10:00
Rishabh 9b5922786e AP_Proximity: Push 3D data into OA_DB 2020-06-19 09:45:34 +09:00
Randy Mackay dac84f4a9d AP_Proximity: integrate oadb ekf-offset change 2020-01-01 13:38:41 +09:00
Randy Mackay 1d6519af72 AP_Proximity: always use 8 sectors and fix ignore areas 2020-01-01 13:38:41 +09:00
Randy Mackay f60ec91993 AP_Proximity: remove unnecessary const from database_push
also shorten current_vehicle_bearing argument to just current_heading
2020-01-01 13:38:41 +09:00
Peter Barker 3942fa2541 AP_Proximity: remove unused include from AP_Proximity_MAV 2019-12-09 11:25:02 +09:00
Peter Barker 39863bf0b4 AP_Proximity: remove empty constructors
Well, some of them were only essentially empty
2019-10-31 11:58:15 +08:00
Peter Barker 8fe16f5627 AP_Proximity: use enum class for status 2019-10-31 11:58:15 +08:00
Andrew Tridgell 1a34fccc71 AP_Proximity: fixed incorrect use of fabs() 2019-10-01 08:12:07 +09:00
Tom Pittenger 6d1362d569 AP_Proximity: allow MAV driver to accept negative increments and sanity check distances 2019-08-02 09:50:13 -06:00
Tom Pittenger b8dcdca909 AP_Proximity: add Object Avoidance Database, remove old Sector->Location converter 2019-08-02 09:50:13 -06:00
Pierre Kancir 5b745aa1f1 AP_Proximity: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Tom Pittenger c67a585b68 AP_Proximity: increase angular resoluion to mavlink packet OBSTACLE_DISTANCE 2019-05-29 18:22:53 -07:00
Randy Mackay 7fa592e673 AP_Proximity: increase MAV driver timeout to 500ms
this comes after testing with ROS/mavros and discovering the update rate is only 4hz
2018-10-26 14:38:04 +09:00
Raouf 8bfb1d2445 AP_Proximity: add support for OBSTACLE_DISTANCE message 2018-10-02 10:37:13 +09:00
Randy Mackay 33ef3bd51d AP_Proximity: MAV driver gets distance validity check 2017-06-06 20:41:54 +09:00
Randy Mackay 09e3d6b7f0 AP_Proximity_MAV: healthy if either horiz or vert positions received 2017-04-20 18:11:43 +09:00
Randy Mackay a47e215a8e AP_Proximity: add get_upward_distance
This allow support for upward facing proximity sensor received through a DISTANCE_SENSOR message.
Also added SITL test
2017-01-18 09:35:47 +09:00
Randy Mackay a0a8472a44 AP_Proximity: fix consumption of distance-sensor messages 2017-01-11 21:48:23 +09:00
Randy Mackay e497dedf35 AP_Proximity: add MAV type
This accepts DISTANCE_SENSOR messages from eight sectors around the vehicle
2016-12-27 08:37:48 +09:00