Skip to content

Commit

Permalink
AP_OpticalFlow: increase scaler param desc ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Nov 10, 2023
1 parent 63c1981 commit 67e8883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_OpticalFlow/AP_OpticalFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ const AP_Param::GroupInfo AP_OpticalFlow::var_info[] = {
// @Param: _FXSCALER
// @DisplayName: X axis optical flow scale factor correction
// @Description: This sets the parts per thousand scale factor correction applied to the flow sensor X axis optical rate. It can be used to correct for variations in effective focal length. Each positive increment of 1 increases the scale factor applied to the X axis optical flow reading by 0.1%. Negative values reduce the scale factor.
// @Range: -200 +200
// @Range: -800 +800
// @Increment: 1
// @User: Standard
AP_GROUPINFO("_FXSCALER", 1, AP_OpticalFlow, _flowScalerX, 0),

// @Param: _FYSCALER
// @DisplayName: Y axis optical flow scale factor correction
// @Description: This sets the parts per thousand scale factor correction applied to the flow sensor Y axis optical rate. It can be used to correct for variations in effective focal length. Each positive increment of 1 increases the scale factor applied to the Y axis optical flow reading by 0.1%. Negative values reduce the scale factor.
// @Range: -200 +200
// @Range: -800 +800
// @Increment: 1
// @User: Standard
AP_GROUPINFO("_FYSCALER", 2, AP_OpticalFlow, _flowScalerY, 0),
Expand Down

0 comments on commit 67e8883

Please sign in to comment.