AP_OpticalFlow: reduce POS param range to 5m and add increment

This commit is contained in:
Randy Mackay 2020-01-30 13:31:41 +09:00
parent b7f6f4a05e
commit dd49f199cb

View File

@ -58,21 +58,24 @@ const AP_Param::GroupInfo OpticalFlow::var_info[] = {
// @DisplayName: X position offset
// @Description: X position of the optical flow sensor focal point in body frame. Positive X is forward of the origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
// @Param: _POS_Y
// @DisplayName: Y position offset
// @Description: Y position of the optical flow sensor focal point in body frame. Positive Y is to the right of the origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
// @Param: _POS_Z
// @DisplayName: Z position offset
// @Description: Z position of the optical flow sensor focal point in body frame. Positive Z is down from the origin.
// @Units: m
// @Range: -10 10
// @Range: -5 5
// @Increment: 0.01
// @User: Advanced
AP_GROUPINFO("_POS", 4, OpticalFlow, _pos_offset, 0.0f),