Skip to content

Commit

Permalink
AP_Proximity: RPLidarA2 gets larger receive buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Apr 1, 2024
1 parent bc29550 commit 2b2122a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/AP_Proximity/AP_Proximity_RPLidarA2.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ class AP_Proximity_RPLidarA2 : public AP_Proximity_Backend_Serial
// update state
void update(void) override;

// increase receive buffer size
uint16_t rxspace() const override { return 1280; };

// get maximum and minimum distances (in meters) of sensor
float distance_max() const override;
float distance_min() const override;
Expand Down

0 comments on commit 2b2122a

Please sign in to comment.