mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
lightware_laser_i2c: add SF30/D
This commit is contained in:
parent
afa085da7f
commit
0d6cb46c83
@ -195,6 +195,13 @@ int LightwareLaser::init()
|
||||
_type = Type::LW20c;
|
||||
break;
|
||||
|
||||
case 7:
|
||||
/* SF/LW30/d (200m 49-20'000Hz) */
|
||||
_px4_rangefinder.set_min_distance(0.2f);
|
||||
_px4_rangefinder.set_max_distance(200.0f);
|
||||
_conversion_interval = 20409;
|
||||
break;
|
||||
|
||||
default:
|
||||
PX4_ERR("invalid HW model %" PRId32 ".", hw_model);
|
||||
return ret;
|
||||
|
||||
@ -45,5 +45,6 @@
|
||||
* @value 4 SF11/c
|
||||
* @value 5 SF/LW20/b
|
||||
* @value 6 SF/LW20/c
|
||||
* @value 7 SF/LW30/d
|
||||
*/
|
||||
PARAM_DEFINE_INT32(SENS_EN_SF1XX, 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user