Commit Graph

235 Commits

Author SHA1 Message Date
rishabsingh3003 31f527c9a7 AP_Proximity: Include database push in MR72 driver 2024-09-04 18:07:27 +10:00
Peter Barker 96b5fa6e93 AP_Proximity: use GCS_SEND_TEXT rather than gcs().send_text
Co-authored-by: muramura <ma2maru@gmail.com>
2024-08-07 18:33:16 +10:00
Peter Barker 31f3a796f1 AP_Proximity: avoid use of int16_t-read call 2024-07-10 17:01:09 +10:00
Andrew Tridgell c681701f81 AP_Proximity: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
FoxSuzuran c53f55fd05 AP_Proximity: add RPLidarC1 support
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-03-20 18:58:57 +11:00
Peter Barker 6534a9657c AP_Proximity: cope with AP_OADATABASE_ENABLED being false 2024-03-11 18:07:18 +11:00
Peter Barker e4ff1a97d5 AP_Proximity: cope with AP_AVOIDANCE_ENABLED being false 2024-03-11 18:07:18 +11:00
rishabsingh3003 0efe4351f1 AP_Proximity: Improve get_status handling 2024-03-07 18:14:04 +11:00
rishabsingh3003 8a24699bfa AP_Proximity: move mutlican to AP_CANSensor 2024-02-27 10:59:41 +11:00
rishabsingh3003 b8d08a7211 AP_Proximity: Add support for CAN MR72 2024-02-06 10:57:21 +11:00
Peter Barker c583edc34b AP_Proximity: move simulated height_agl into fdm structure
allows value to be shipped via multicast to simulated peripherals
2024-01-08 20:00:01 +11:00
rishabsingh3003 368f744435 AP_Proximity: Minor fixes to LD06 driver 2023-10-05 08:23:00 +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
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