AP_OpticalFlow: increase scaler param desc ranges

This commit is contained in:
Randy Mackay 2023-11-10 17:19:44 +09:00 committed by Andrew Tridgell
parent 4681e5fba6
commit 0f0bc78de9
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ const AP_Param::GroupInfo AP_OpticalFlow::var_info[] = {
// @Param: _FXSCALER // @Param: _FXSCALER
// @DisplayName: X axis optical flow scale factor correction // @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. // @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 // @Increment: 1
// @User: Standard // @User: Standard
AP_GROUPINFO("_FXSCALER", 1, AP_OpticalFlow, _flowScalerX, 0), AP_GROUPINFO("_FXSCALER", 1, AP_OpticalFlow, _flowScalerX, 0),
@ -47,7 +47,7 @@ const AP_Param::GroupInfo AP_OpticalFlow::var_info[] = {
// @Param: _FYSCALER // @Param: _FYSCALER
// @DisplayName: Y axis optical flow scale factor correction // @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. // @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 // @Increment: 1
// @User: Standard // @User: Standard
AP_GROUPINFO("_FYSCALER", 2, AP_OpticalFlow, _flowScalerY, 0), AP_GROUPINFO("_FYSCALER", 2, AP_OpticalFlow, _flowScalerY, 0),