Commit Graph

222 Commits

Author SHA1 Message Date
rishabsingh3003 601b01ed8b AP_Proximity: Add backend for scripted Lua Driver 2023-08-03 08:02:49 +09:00
Andy Piper 80112051b4 AP_Proximity: initialize structures correctly 2023-07-13 11:02:40 +10:00
Randy Mackay e998f93965 AP_Proximity: RPLidarA2 gets S1 support 2023-05-16 10:15:23 +10:00
Randy Mackay 1394a430b0 AP_Proximity: RPLidarA2 minor whitespace fix 2023-05-16 10:15:23 +10:00
Randy Mackay 67accd8920 AP_Proximity: RPLidarA2 loses redundant set of state 2023-05-16 10:15:23 +10:00
Peter Barker 36b494a057 AP_Proximity: increase RPLidar read buffer size
128 bytes at 50Hz is not enough to read all data from device
2023-05-16 10:15:23 +10:00
Peter Barker 206f663e38 AP_Proximity: tweak RPLidar debug 2023-05-16 10:15:23 +10:00
Peter Barker 77f7533f02 AP_Proximity: emit RPLidar detection information 2023-05-16 10:15:23 +10:00
Peter Barker cb7f29cc6b AP_Proximity: correct RPLidarreset path 2023-05-16 10:15:23 +10:00
Peter Barker 8938508147 AP_Proximity: move connect-in-SITL instructions to header 2023-05-16 10:15:23 +10:00
Peter Barker 3355520026 AP_Proximity: add support for RPLidarA1 2023-05-16 10:15:23 +10:00
Peter Barker 811dcebe4f AP_Proximity: RPLidarA2: interpret DEVICE_INFO response to determine model 2023-05-16 10:15:23 +10:00
Peter Barker 4ffdc7239c AP_Proximity: rewrite RPLidarA2 to use more efficient read() method 2023-05-16 10:15:23 +10: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 a499fcc71c AP_Proximity: don't check MINIMIZE_FEATURES when also checking BOARD_FLASH_SIZE
we have an assertion that no board with >1MB of flash is minimized
2023-04-15 09:33:35 +10:00
Peter Barker c110ac489c AP_Proximity: add and use defines for all Proximity backends 2023-04-13 07:07:18 +10:00
Andrew Tridgell 00b9833fac AP_Proximity: text messages and more defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell 70b04a22f0 AP_Proximity: rename more variables, types and defines 2023-04-11 10:31:31 +10:00
Andrew Tridgell 739fb91439 AP_Proximity: rename AP_UAVCAN to AP_DroneCAN 2023-04-08 07:11:23 +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
bugobliterator 47e5337fbd AP_Proximity: replace libuavcan with libcanard based driver 2023-03-29 17:16:39 +11:00
Randy Mackay d94236650a AP_Proximity: reduce SF45b mode filter to 3 elements 2023-03-01 18:22:22 +11:00
Prathamesh Patil b9d718c938 AP_Proximity: corrected return type of uart::read() 2023-02-21 16:52:30 +11:00
rishabsingh3003 ea1fb96e7b AP_Proximity: Add DroneCAN backend 2022-12-15 07:20:05 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
HefnySco 2a0b103c2c AP_Proximity: change PROXIMITY_GND_DETECT_THRESHOLD to param 2022-09-14 19:40:35 +10:00
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