Skip to content

Commit

Permalink
Plane: Fix metadata (increments) for changed params
Browse files Browse the repository at this point in the history
Moving from centidegree to degree need adjusting the increments in the metadata (MP uses metadata to setup GUI)
  • Loading branch information
EosBandi authored and magicrub committed May 3, 2024
1 parent e2767f8 commit 2a21822
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ArduPlane/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ const AP_Param::Info Plane::var_info[] = {
// @Description: Maximum bank angle commanded in modes with stabilized limits. Increase this value for sharper turns, but decrease to prevent accelerated stalls.
// @Units: deg
// @Range: 0 90
// @Increment: 0.1
// @Increment: 1
// @User: Standard
ASCALAR(roll_limit, "ROLL_LIMIT_DEG", ROLL_LIMIT_DEG),

Expand All @@ -526,7 +526,7 @@ const AP_Param::Info Plane::var_info[] = {
// @Description: Maximum pitch up angle commanded in modes with stabilized limits.
// @Units: deg
// @Range: 0 90
// @Increment: 10
// @Increment: 1
// @User: Standard
ASCALAR(pitch_limit_max, "PTCH_LIM_MAX_DEG", PITCH_MAX),

Expand All @@ -535,7 +535,7 @@ const AP_Param::Info Plane::var_info[] = {
// @Description: Maximum pitch down angle commanded in modes with stabilized limits
// @Units: deg
// @Range: -90 0
// @Increment: 10
// @Increment: 1
// @User: Standard
ASCALAR(pitch_limit_min, "PTCH_LIM_MIN_DEG", PITCH_MIN),

Expand Down

0 comments on commit 2a21822

Please sign in to comment.