Commit Graph

96 Commits

Author SHA1 Message Date
Randy Mackay ce7ee81ede AP_Proximity: remove unused get_horizontal_distance 2020-05-11 18:15:40 +10:00
Randy Mackay d60deafa07 AP_Proximity: sf40c combines seven readings for oadb 2020-05-11 18:15:40 +10:00
Randy Mackay 43cd419dcf AP_Proximity: always use 8 sectors and fix ignore areas 2020-05-11 18:15:40 +10:00
Randy Mackay 74076f6bd9 AP_Proximity: integrate oadb::queue_push argument swap 2020-05-11 18:15:40 +10:00
Randy Mackay b3bbcc6498 AP_Proximity: remove unnecessary const from database_push
also shorten current_vehicle_bearing argument to just current_heading
2020-05-11 18:15:40 +10:00
Randy Mackay 1226291189 AP_Proximity: new lightware SF40C driver
New driver using latest streaming interface
Old driver left in place because older devices cannot be updated
2020-02-05 10:51:30 +11:00
Randy Mackay 7bd839e586 AP_Proximity: backup lightware SF40C driver to v09 2020-02-05 10:51:30 +11:00
Peter Barker e1344ec9c8 AP_Proximity: remove empty constructors
Well, some of them were only essentially empty
2020-02-05 10:51:30 +11:00
Peter Barker c3263b4d17 AP_Proximity: use rangefinder singleton 2020-02-05 10:51:30 +11:00
Peter Barker 2139c397de AP_Proximity: use enum class for status 2020-02-05 10:51:30 +11:00
Peter Barker 85c1f8f5d3 AP_Proximity: correct checking of valid instance in various getters 2020-02-05 10:51:30 +11:00
Peter Barker caeb93e370 AP_Proximity: use enum class for proximity type
Removes verbiage from AP_Proximity.cpp
2020-02-05 10:51:30 +11:00
Peter Barker 105864fd99 AP_Proximity: stop passing serial manager around, use singleton 2020-02-05 10:51:30 +11:00
Peter Barker 7c5e84d572 AP_Proximity: declare RangeFinder as a class to avoid circular include issue 2020-02-05 10:12:13 +11:00
Peter Barker 422aebce95 AP_Proximity: polyfence valid() has been renamed 2020-02-05 10:09:54 +11:00
Peter Barker c6aa243a2b AP_Proximity: cope with polyfence holding boundary points 2020-02-05 10:09:54 +11:00
Andrew Tridgell 5a25d5c42d AP_Proximity: fixed incorrect use of fabs() 2019-10-06 10:58:07 +11:00
Randy Mackay 1433741cc9 AP_Proximity: fix rangefinder backends cm to m conversion 2019-09-22 21:09:38 +10:00
Randy Mackay 2d128e0079 AP_Proximity: remove unused var from AriSimSITL 2019-09-10 09:15:56 +10:00
Andrew Tridgell a4258639c8 AP_Proximity: use strtol instead of sscanf 2019-08-27 15:40:43 +10:00
Rajat Singhal 4af8813014 AP_Proximity: Add license info in Airsim lidar backend 2019-08-15 20:03:31 +10:00
Rajat Singhal 8f1c9759b8 AP_Proximity: Add AirSimSITL lidar sensor 2019-08-04 07:57:46 +10: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
Randy Mackay 9c3812e384 AP_Proximity: move copy_locations to backend
also remove unused get_locations
also fix comment for copy_locations method
2019-06-11 13:13:22 +09:00
Tom Pittenger b792fe4b26 AP_Proximity: add Location* object and accessors 2019-06-11 13:13:22 +09:00
Peter Barker d617904726 AP_Proximity: remove dangling update_instance declaration 2019-06-04 19:36:57 +09:00
Tom Pittenger c67a585b68 AP_Proximity: increase angular resoluion to mavlink packet OBSTACLE_DISTANCE 2019-05-29 18:22:53 -07:00
Randy Mackay 2061621951 AP_Proximity: default YAW_CORR to 0
The default of 22 was good when the Lightware SF40C was our only proximity sensor but not good now that we have numerous options
2019-05-29 11:17:28 +09:00
Randy Mackay ff3d3d256c AP_Proximity: RPLidarA2 supports yaw-correction and orientation params 2019-05-29 11:17:28 +09:00
Peter Barker dbbf09d018 AP_Proximity: minor performance enhancements 2019-05-28 09:19:48 +10:00
Peter Barker b086b39f89 AP_Proximity: add AP::proximity() singleton getter 2019-05-22 07:48:02 -06:00
Pierre Kancir 72e4e69add AP_Proximity: move location_update to Location and rename to offset_bearing 2019-04-06 09:10:28 +11:00
murata fb544cab78 AP_Proximity: Change from method reference to macro 2019-03-28 12:02:55 +11:00
Peter Barker 19d8ffb4e4 AP_Proximity: stop passing through old fence contains_return_point parameter 2019-02-04 16:52:42 +09:00
Dmitri Ranfft 221c4ca3cc AP_Proximity: Removed the 3 bit limitation for the enumeration 2019-02-04 11:08:54 +09:00
Randy Mackay 12d6799aaa AP_Proximity: fix morse sector calc 2018-12-14 09:18:23 +09:00
Randy Mackay f7f50d84c9 AP_Proximity: minor typo fix 2018-12-14 09:18:23 +09:00
Peter Barker 3a7ab5f67e AP_Proximity: rename send_extended_status1 to send_sys_status 2018-12-10 12:52:41 +09:00
Andrew Tridgell e883c6392f AP_Proximity: added a MorseSITL sensor
this interfaces with the laser scanner in morse
2018-12-04 18:29:41 +11:00
Peter Barker e0ab431ebd AP_Proximity: add override keyword where required 2018-11-08 11:30:12 +11: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
pierre-louis.k bf274cd9db AP_Proximity: Change min and max range to support both 60m and 600Hz 2018-08-25 10:22:11 +09:00
Mateusz Sadowski 08332102fe AP_Proximity: Fix sensor order on TeraRanger Tower Evo 2018-08-25 10:22:11 +09:00
Mateusz Sadowski 4b8b8347f2 AP_Proximity: Correctly handle TeraRanger Tower Evo initialization 2018-08-25 10:22:11 +09:00
Mateusz Sadowski f1b550647d AP_Proximity: Change TeraRanger Tower Evo sequence mode to Tower 2018-08-25 10:22:11 +09:00
Mateusz Sadowski 2ca567f409 AP_Proximity: Add support for TeraRanger Tower Evo 2018-08-25 10:22:11 +09:00
Peter Barker e7e0ee0b50 AP_Proximity: add methods covering sensor health, enable and present 2018-06-26 10:25:28 +10:00