AP_RangeFinder: add range to POS param description

This commit is contained in:
Randy Mackay 2018-12-13 19:44:32 +09:00
parent 760989d786
commit fbf072d84b

View File

@ -146,18 +146,21 @@ const AP_Param::GroupInfo RangeFinder::var_info[] = {
// @DisplayName: X position offset // @DisplayName: X position offset
// @Description: X position of the first rangefinder in body frame. Positive X is forward of the origin. Use the zero range datum point if supplied. // @Description: X position of the first rangefinder in body frame. Positive X is forward of the origin. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
// @Param: _POS_Y // @Param: _POS_Y
// @DisplayName: Y position offset // @DisplayName: Y position offset
// @Description: Y position of the first rangefinder in body frame. Positive Y is to the right of the origin. Use the zero range datum point if supplied. // @Description: Y position of the first rangefinder in body frame. Positive Y is to the right of the origin. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
// @Param: _POS_Z // @Param: _POS_Z
// @DisplayName: Z position offset // @DisplayName: Z position offset
// @Description: Z position of the first rangefinder in body frame. Positive Z is down from the origin. Use the zero range datum point if supplied. // @Description: Z position of the first rangefinder in body frame. Positive Z is down from the origin. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
AP_GROUPINFO("_POS", 49, RangeFinder, state[0].pos_offset, 0.0f), AP_GROUPINFO("_POS", 49, RangeFinder, state[0].pos_offset, 0.0f),
@ -269,18 +272,21 @@ const AP_Param::GroupInfo RangeFinder::var_info[] = {
// @DisplayName: X position offset // @DisplayName: X position offset
// @Description: X position of the second rangefinder in body frame. Positive X is forward of the origin. Use the zero range datum point if supplied. // @Description: X position of the second rangefinder in body frame. Positive X is forward of the origin. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
// @Param: 2_POS_Y // @Param: 2_POS_Y
// @DisplayName: Y position offset // @DisplayName: Y position offset
// @Description: Y position of the second rangefinder in body frame. Positive Y is to the right of the origin. Use the zero range datum point if supplied. // @Description: Y position of the second rangefinder in body frame. Positive Y is to the right of the origin. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
// @Param: 2_POS_Z // @Param: 2_POS_Z
// @DisplayName: Z position offset // @DisplayName: Z position offset
// @Description: Z position of the second rangefinder in body frame. Positive Z is down from the origin. Use the zero range datum point if supplied. // @Description: Z position of the second rangefinder in body frame. Positive Z is down from the origin. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
AP_GROUPINFO("2_POS", 50, RangeFinder, state[1].pos_offset, 0.0f), AP_GROUPINFO("2_POS", 50, RangeFinder, state[1].pos_offset, 0.0f),
@ -394,18 +400,21 @@ const AP_Param::GroupInfo RangeFinder::var_info[] = {
// @DisplayName: X position offset // @DisplayName: X position offset
// @Description: X position of the third rangefinder in body frame. Positive X is forward of the origin. Use the zero range datum point if supplied. // @Description: X position of the third rangefinder in body frame. Positive X is forward of the origin. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
// @Param: 3_POS_Y // @Param: 3_POS_Y
// @DisplayName: Y position offset // @DisplayName: Y position offset
// @Description: Y position of the third rangefinder in body frame. Positive Y is to the right of the origin. Use the zero range datum point if supplied. // @Description: Y position of the third rangefinder in body frame. Positive Y is to the right of the origin. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
// @Param: 3_POS_Z // @Param: 3_POS_Z
// @DisplayName: Z position offset // @DisplayName: Z position offset
// @Description: Z position of the third rangefinder in body frame. Positive Z is down from the origin. Use the zero range datum point if supplied. // @Description: Z position of the third rangefinder in body frame. Positive Z is down from the origin. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
AP_GROUPINFO("3_POS", 51, RangeFinder, state[2].pos_offset, 0.0f), AP_GROUPINFO("3_POS", 51, RangeFinder, state[2].pos_offset, 0.0f),
@ -519,18 +528,21 @@ const AP_Param::GroupInfo RangeFinder::var_info[] = {
// @DisplayName: X position offset // @DisplayName: X position offset
// @Description: X position of the fourth rangefinder in body frame. Use the zero range datum point if supplied. // @Description: X position of the fourth rangefinder in body frame. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
// @Param: 4_POS_Y // @Param: 4_POS_Y
// @DisplayName: Y position offset // @DisplayName: Y position offset
// @Description: Y position of the fourth rangefinder in body frame. Use the zero range datum point if supplied. // @Description: Y position of the fourth rangefinder in body frame. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
// @Param: 4_POS_Z // @Param: 4_POS_Z
// @DisplayName: Z position offset // @DisplayName: Z position offset
// @Description: Z position of the fourth rangefinder in body frame. Use the zero range datum point if supplied. // @Description: Z position of the fourth rangefinder in body frame. Use the zero range datum point if supplied.
// @Units: m // @Units: m
// @Range: -10 10
// @User: Advanced // @User: Advanced
AP_GROUPINFO("4_POS", 52, RangeFinder, state[3].pos_offset, 0.0f), AP_GROUPINFO("4_POS", 52, RangeFinder, state[3].pos_offset, 0.0f),