Add SENS_EN_SF1XX param to specify sensor model

Fix missing orb_unadvertise on shutdown
Fix missing closing of file descriptors
This commit is contained in:
Vasily Evseenko
2016-08-04 15:09:33 +02:00
committed by Lorenz Meier
parent 6d3aba1c5f
commit 6689a3d1b1
2 changed files with 75 additions and 21 deletions
+15
View File
@@ -3064,6 +3064,21 @@ PARAM_DEFINE_INT32(SENS_EN_SF0X, 0);
*/
PARAM_DEFINE_INT32(SENS_EN_MB12XX, 0);
/**
* Lightware SF1xx laser rangefinder
*
* @reboot_required true
* @min 0
* @max 4
* @group Sensor Enable
* @value 0 Disabled
* @value 1 SF10/a (25m)
* @value 2 SF10/b (50m)
* @value 3 SF10/c (100m)
* @value 4 SF11/c (120m)
*/
PARAM_DEFINE_INT32(SENS_EN_SF1XX, 0);
/**
* Set the minimum PWM for the MAIN outputs
*