Browse Source

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

c415-sdk
Randy Mackay 5 years ago
parent
commit
dd49f199cb
  1. 9
      libraries/AP_OpticalFlow/OpticalFlow.cpp

9
libraries/AP_OpticalFlow/OpticalFlow.cpp

@ -58,21 +58,24 @@ const AP_Param::GroupInfo OpticalFlow::var_info[] = { @@ -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),

Loading…
Cancel
Save