← All tools

Message & Error Explainer

What an ArduPilot message means and what to do about it

Українська

The maximum lean angle is outside 10° to 80°

Stops itAutoTune and control4.7 only

What ArduPilot says:

In 4.7 the maximum lean angle belongs to the attitude controller as ATC_ANGLE_MAX and is given in degrees: 30 by default, and it must be between 10 and 80. Outside that range arming is refused, as “PreArm: Bad parameter: …”. Up to 4.6 the same limit was a parameter in centidegrees (3000 for 30°).

What to do, most likely first

  1. The old value in centidegrees, such as 3000 or 4500, was typed into the new parameter.

    CheckATC_ANGLE_MAX reads in the hundreds or thousands.

    FixEnter degrees: ATC_ANGLE_MAX 30 for 30°.

  2. The value was set below 10° to tame a first flight.

    FixSet ATC_ANGLE_MAX to 10 or more; 30 is the default.

Parameters to look at

ParameterWhat it is
ATC_ANGLE_MAXAngle Max
The code that sends it

…_ANGLE_MAX must be >= 10 and <= 80

libraries/AC_AttitudeControl/AC_AttitudeControl.cpp AC_AttitudeControl::pre_arm_checks() · Open in ArduPilot Copter-4.7.1

Written here for Copter 4.7. In the tool you choose your vehicle and version, see your own parameter values beside the ones named here, and drop a flight log to have every message in it explained.

Open it in the Message & Error Explainer