From 0f0bc78de9d33bb599dc4d73211b4493d15f5ae6 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 10 Nov 2023 17:19:44 +0900 Subject: [PATCH] AP_OpticalFlow: increase scaler param desc ranges --- libraries/AP_OpticalFlow/AP_OpticalFlow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp b/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp index 8739e0282f..137a5778b5 100644 --- a/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp +++ b/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp @@ -39,7 +39,7 @@ 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), @@ -47,7 +47,7 @@ const AP_Param::GroupInfo AP_OpticalFlow::var_info[] = { // @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),