Commit Graph

17 Commits

Author SHA1 Message Date
FoxSuzuran 7d28fdc3c9 AP_Proximity: add RPLidarC1 support
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-03-22 17:25:33 +11: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
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 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 c110ac489c AP_Proximity: add and use defines for all Proximity backends 2023-04-13 07:07:18 +10:00
Randy Mackay 1fad5d46e7 AP_Proximity: add #if HAL_PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
Randy Mackay 518078c901 AP_Proximity: RPLidarA2 uses modified Boundary_3D interface 2021-02-01 14:34:13 +09:00
Peter Barker 0d4e72622e AP_Proximity: RPLidarA2 uses intermediate serial class 2020-02-19 11:12:37 +09:00
Randy Mackay 1d6519af72 AP_Proximity: always use 8 sectors and fix ignore areas 2020-01-01 13:38:41 +09:00
Peter Barker 4962b7a98e AP_Proximity: stop passing serial manager around, use singleton 2019-10-31 11:58:15 +08:00
Peter Barker e0ab431ebd AP_Proximity: add override keyword where required 2018-11-08 11:30:12 +11:00
Peter Barker e7d48977ba AP_Proximity: compiler warning fixes
In file included from
../../libraries/AP_Proximity/AP_Proximity_RPLidarA2.cpp:30:
../../libraries/AP_Proximity/AP_Proximity_RPLidarA2.h:88:10: warning:
private field '_payload_data' is not used [-Wunused-private-field]
    bool _payload_data;
         ^
../../libraries/AP_Proximity/AP_Proximity_RPLidarA2.h:91:10: warning:
private field '_skip' is not used [-Wunused-private-field]
    bool _skip;
         ^
../../libraries/AP_Proximity/AP_Proximity_RPLidarA2.h:92:10: warning:
private field '_rp_reset' is not used [-Wunused-private-field]
    bool _rp_reset;
         ^
../../libraries/AP_Proximity/AP_Proximity_RPLidarA2.h:95:13: warning:
private field '_element_len' is not used [-Wunused-private-field]
    uint8_t _element_len[2];
            ^
../../libraries/AP_Proximity/AP_Proximity_RPLidarA2.h:96:13: warning:
private field '_element_num' is not used [-Wunused-private-field]
    uint8_t _element_num;
            ^
5 warnings generated.
2018-03-02 09:26:37 +09:00
Steven Josefs 6e0ff8b169 AP_Proximity: add support for RP Lidar A2
This is a 360degree lidar with up to 16m range
2017-09-18 08:28:11 +09:00