From c9b82aa8224b3589ed5121bcf07ee0448177cd4f Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 30 Jan 2020 13:32:58 +0900 Subject: [PATCH] AP_VisualOdom: POS param range of 5m and 1cm increment --- libraries/AP_VisualOdom/AP_VisualOdom.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libraries/AP_VisualOdom/AP_VisualOdom.cpp b/libraries/AP_VisualOdom/AP_VisualOdom.cpp index e314efcfb8..afcb302d5f 100644 --- a/libraries/AP_VisualOdom/AP_VisualOdom.cpp +++ b/libraries/AP_VisualOdom/AP_VisualOdom.cpp @@ -35,18 +35,24 @@ const AP_Param::GroupInfo AP_VisualOdom::var_info[] = { // @DisplayName: Visual odometry camera X position offset // @Description: X position of the camera in body frame. Positive X is forward of the origin. // @Units: m + // @Range: -5 5 + // @Increment: 0.01 // @User: Advanced // @Param: _POS_Y // @DisplayName: Visual odometry camera Y position offset // @Description: Y position of the camera in body frame. Positive Y is to the right of the origin. // @Units: m + // @Range: -5 5 + // @Increment: 0.01 // @User: Advanced // @Param: _POS_Z // @DisplayName: Visual odometry camera Z position offset // @Description: Z position of the camera in body frame. Positive Z is down from the origin. // @Units: m + // @Range: -5 5 + // @Increment: 0.01 // @User: Advanced AP_GROUPINFO("_POS", 1, AP_VisualOdom, _pos_offset, 0.0f),