AP_RangeFinder: add Bebop and MAVLink types
Thanks OXINARF!
This commit is contained in:
parent
96f665061e
commit
53785d1f72
@ -31,7 +31,7 @@ const AP_Param::GroupInfo RangeFinder::var_info[] = {
|
|||||||
// @Param: _TYPE
|
// @Param: _TYPE
|
||||||
// @DisplayName: Rangefinder type
|
// @DisplayName: Rangefinder type
|
||||||
// @Description: What type of rangefinder device that is connected
|
// @Description: What type of rangefinder device that is connected
|
||||||
// @Values: 0:None,1:Analog,2:APM2-MaxbotixI2C,3:APM2-PulsedLightI2C,4:PX4-I2C,5:PX4-PWM,6:BBB-PRU,7:LightWareI2C,8:LightWareSerial,9:CompanionComputer
|
// @Values: 0:None,1:Analog,2:APM2-MaxbotixI2C,3:APM2-PulsedLightI2C,4:PX4-I2C,5:PX4-PWM,6:BBB-PRU,7:LightWareI2C,8:LightWareSerial,9:Bebop,10:MAVLink
|
||||||
// @User: Standard
|
// @User: Standard
|
||||||
AP_GROUPINFO("_TYPE", 0, RangeFinder, _type[0], 0),
|
AP_GROUPINFO("_TYPE", 0, RangeFinder, _type[0], 0),
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ const AP_Param::GroupInfo RangeFinder::var_info[] = {
|
|||||||
// @Param: 2_TYPE
|
// @Param: 2_TYPE
|
||||||
// @DisplayName: Second Rangefinder type
|
// @DisplayName: Second Rangefinder type
|
||||||
// @Description: What type of rangefinder device that is connected
|
// @Description: What type of rangefinder device that is connected
|
||||||
// @Values: 0:None,1:Analog,2:APM2-MaxbotixI2C,3:APM2-PulsedLightI2C,4:PX4-I2C,5:PX4-PWM,6:BBB-PRU,7:LightWareI2C,8:LightWareSerial
|
// @Values: 0:None,1:Analog,2:APM2-MaxbotixI2C,3:APM2-PulsedLightI2C,4:PX4-I2C,5:PX4-PWM,6:BBB-PRU,7:LightWareI2C,8:LightWareSerial,9:Bebop,10:MAVLink
|
||||||
// @User: Advanced
|
// @User: Advanced
|
||||||
AP_GROUPINFO("2_TYPE", 12, RangeFinder, _type[1], 0),
|
AP_GROUPINFO("2_TYPE", 12, RangeFinder, _type[1], 0),
|
||||||
|
|
||||||
@ -228,7 +228,7 @@ const AP_Param::GroupInfo RangeFinder::var_info[] = {
|
|||||||
// @Param: 3_TYPE
|
// @Param: 3_TYPE
|
||||||
// @DisplayName: Second Rangefinder type
|
// @DisplayName: Second Rangefinder type
|
||||||
// @Description: What type of rangefinder device that is connected
|
// @Description: What type of rangefinder device that is connected
|
||||||
// @Values: 0:None,1:Analog,2:APM2-MaxbotixI2C,3:APM2-PulsedLightI2C,4:PX4-I2C,5:PX4-PWM,6:BBB-PRU,7:LightWareI2C,8:LightWareSerial
|
// @Values: 0:None,1:Analog,2:APM2-MaxbotixI2C,3:APM2-PulsedLightI2C,4:PX4-I2C,5:PX4-PWM,6:BBB-PRU,7:LightWareI2C,8:LightWareSerial,9:Bebop,10:MAVLink
|
||||||
AP_GROUPINFO("3_TYPE", 25, RangeFinder, _type[2], 0),
|
AP_GROUPINFO("3_TYPE", 25, RangeFinder, _type[2], 0),
|
||||||
|
|
||||||
// @Param: 3_PIN
|
// @Param: 3_PIN
|
||||||
@ -312,7 +312,7 @@ const AP_Param::GroupInfo RangeFinder::var_info[] = {
|
|||||||
// @Param: 4_TYPE
|
// @Param: 4_TYPE
|
||||||
// @DisplayName: Second Rangefinder type
|
// @DisplayName: Second Rangefinder type
|
||||||
// @Description: What type of rangefinder device that is connected
|
// @Description: What type of rangefinder device that is connected
|
||||||
// @Values: 0:None,1:Analog,2:APM2-MaxbotixI2C,3:APM2-PulsedLightI2C,4:PX4-I2C,5:PX4-PWM,6:BBB-PRU,7:LightWareI2C,8:LightWareSerial
|
// @Values: 0:None,1:Analog,2:APM2-MaxbotixI2C,3:APM2-PulsedLightI2C,4:PX4-I2C,5:PX4-PWM,6:BBB-PRU,7:LightWareI2C,8:LightWareSerial,9:Bebop,10:MAVLink
|
||||||
AP_GROUPINFO("4_TYPE", 37, RangeFinder, _type[3], 0),
|
AP_GROUPINFO("4_TYPE", 37, RangeFinder, _type[3], 0),
|
||||||
|
|
||||||
// @Param: 4_PIN
|
// @Param: 4_PIN
|
||||||
|
Loading…
Reference in New Issue
Block a user