Skip to content

Copter parameter conversion from cm, cd to m and degrees #31562

@lthall

Description

@lthall

ANGLE_MAX -> PILOT_ANGLE_MAX

These need to break into two parameters, the command model and the angle controller.
ATC_ACCEL_P_MAX
ATC_ACCEL_R_MAX
ATC_ACCEL_Y_MAX

A little more careful conversion is required. We are changing the parameter name to "NE" and "D" so at least the naming is not a problem.
PSC_ACCZ_D
PSC_ACCZ_D_FF
PSC_ACCZ_FF
PSC_ACCZ_I
PSC_ACCZ_IMAX
PSC_VELXY_IMAX
PSC_VELZ_IMAX

This is currently PWM needs to be normalised:
MOT_YAW_HEADROOM -> maybe MOT_YAW_RESERVE

Nothing too complicated here I think past the naming problem:
ATC_SLEW_YAW
AVOID_ANGLE_MAX
BARO_ALTERR_MAX
CIRCLE_RADIUS
LAND_ALT_LOW
LAND_SPEED
LAND_SPEED_HIGH
LOIT_ACC_MAX
LOIT_BRK_ACCEL
LOIT_BRK_JERK
LOIT_SPEED
PHLD_BRAKE_ANGLE
PHLD_BRAKE_RATE
PILOT_ACCEL_Z
PILOT_SPEED_DN
PILOT_SPEED_UP
PILOT_TKOFF_ALT
PILOT_Y_RATE
RTL_ALT
RTL_ALT_FINAL
RTL_CLIMB_MIN
RTL_SPEED
WPNAV_ACCEL
WPNAV_ACCEL_C
WPNAV_ACCEL_Z
WPNAV_RADIUS
WPNAV_SPEED
WPNAV_SPEED_DN
WPNAV_SPEED_UP

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions