mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 15:23:33 +08:00
ll40ls: unify maximum operational distance to 35m
Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Nuno Marques
parent
fcdd2fabeb
commit
327529d063
@@ -45,7 +45,7 @@ LidarLite::LidarLite(uint8_t rotation) :
|
||||
_px4_rangefinder(0 /* device id not yet used */, ORB_PRIO_DEFAULT, rotation)
|
||||
{
|
||||
_px4_rangefinder.set_min_distance(LL40LS_MIN_DISTANCE);
|
||||
_px4_rangefinder.set_max_distance(LL40LS_MAX_DISTANCE_V3);
|
||||
_px4_rangefinder.set_max_distance(LL40LS_MAX_DISTANCE);
|
||||
_px4_rangefinder.set_fov(0.008); // Divergence 8 mRadian
|
||||
}
|
||||
|
||||
|
||||
@@ -46,8 +46,8 @@
|
||||
|
||||
/* Device limits */
|
||||
#define LL40LS_MIN_DISTANCE (0.05f)
|
||||
#define LL40LS_MAX_DISTANCE_V3 (35.00f)
|
||||
#define LL40LS_MAX_DISTANCE_V1 (25.00f)
|
||||
#define LL40LS_MAX_DISTANCE (35.00f)
|
||||
|
||||
|
||||
// normal conversion wait time
|
||||
#define LL40LS_CONVERSION_INTERVAL 50*1000UL /* 50ms */
|
||||
|
||||
Reference in New Issue
Block a user