From 62ac32e18f60f3109d6bfc3529fa1a8cc98a4760 Mon Sep 17 00:00:00 2001 From: Huibean Date: Fri, 10 Jan 2025 13:55:27 +0800 Subject: [PATCH] fix param Increment comment --- libraries/AP_AHRS/AP_AHRS.cpp | 8 ++++---- libraries/AP_Mount/AP_Mount_Params.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/AP_AHRS/AP_AHRS.cpp b/libraries/AP_AHRS/AP_AHRS.cpp index c09e349c7cc0c8..8f16ba46131e8f 100644 --- a/libraries/AP_AHRS/AP_AHRS.cpp +++ b/libraries/AP_AHRS/AP_AHRS.cpp @@ -59,7 +59,7 @@ const AP_Param::GroupInfo AP_AHRS::var_info[] = { // @DisplayName: AHRS GPS gain // @Description: This controls how much to use the GPS to correct the attitude. This should never be set to zero for a plane as it would result in the plane losing control in turns. For a plane please use the default value of 1.0. // @Range: 0.0 1.0 - // @Increment: .01 + // @Increment: 0.01 // @User: Advanced AP_GROUPINFO("GPS_GAIN", 2, AP_AHRS, gps_gain, 1.0f), @@ -74,7 +74,7 @@ const AP_Param::GroupInfo AP_AHRS::var_info[] = { // @DisplayName: Yaw P // @Description: This controls the weight the compass or GPS has on the heading. A higher value means the heading will track the yaw source (GPS or compass) more rapidly. // @Range: 0.1 0.4 - // @Increment: .01 + // @Increment: 0.01 // @User: Advanced AP_GROUPINFO("YAW_P", 4, AP_AHRS, _kp_yaw, 0.2f), @@ -82,7 +82,7 @@ const AP_Param::GroupInfo AP_AHRS::var_info[] = { // @DisplayName: AHRS RP_P // @Description: This controls how fast the accelerometers correct the attitude // @Range: 0.1 0.4 - // @Increment: .01 + // @Increment: 0.01 // @User: Advanced AP_GROUPINFO("RP_P", 5, AP_AHRS, _kp, 0.2f), @@ -133,7 +133,7 @@ const AP_Param::GroupInfo AP_AHRS::var_info[] = { // @DisplayName: AHRS Velocity Complementary Filter Beta Coefficient // @Description: This controls the time constant for the cross-over frequency used to fuse AHRS (airspeed and heading) and GPS data to estimate ground velocity. Time constant is 0.1/beta. A larger time constant will use GPS data less and a small time constant will use air data less. // @Range: 0.001 0.5 - // @Increment: .01 + // @Increment: 0.01 // @User: Advanced AP_GROUPINFO("COMP_BETA", 10, AP_AHRS, beta, 0.1f), diff --git a/libraries/AP_Mount/AP_Mount_Params.cpp b/libraries/AP_Mount/AP_Mount_Params.cpp index 30d14960a78fee..13db92c4e0c196 100644 --- a/libraries/AP_Mount/AP_Mount_Params.cpp +++ b/libraries/AP_Mount/AP_Mount_Params.cpp @@ -139,7 +139,7 @@ const AP_Param::GroupInfo AP_Mount_Params::var_info[] = { // @Description: Servo mount roll angle output leads the vehicle angle by this amount of time based on current roll rate. Increase until the servo is responsive but does not overshoot // @Units: s // @Range: 0.0 0.2 - // @Increment: .005 + // @Increment: 0.005 // @User: Standard AP_GROUPINFO("_LEAD_RLL", 12, AP_Mount_Params, roll_stb_lead, 0.0f), @@ -148,7 +148,7 @@ const AP_Param::GroupInfo AP_Mount_Params::var_info[] = { // @Description: Servo mount pitch angle output leads the vehicle angle by this amount of time based on current pitch rate. Increase until the servo is responsive but does not overshoot // @Units: s // @Range: 0.0 0.2 - // @Increment: .005 + // @Increment: 0.005 // @User: Standard AP_GROUPINFO("_LEAD_PTCH", 13, AP_Mount_Params, pitch_stb_lead, 0.0f),