← All tools

Message & Error Explainer

What an ArduPilot message means and what to do about it

Українська

An orientation parameter holds a number that is not an orientation

Stops itBoard, internal errors, CAN, scripting

What ArduPilot says:

Orientation parameters (AHRS_ORIENTATION for the board, COMPASS_ORIENT for a compass and others) take a number from a fixed list: 0 to 43 for the built-in rotations, 101 and 102 for the two custom ones. ArduPilot was asked to turn a measurement by a rotation outside that list, could not, and left the measurement unturned. The sensor that uses the parameter is therefore read in the wrong direction.

What to do, most likely first

  1. A value was typed by hand, or came with a parameter file from another firmware.

    CheckRead every parameter whose name contains ORIENT and compare each value with the list in its description.

    FixChoose the orientation from the list, reboot, and check on the ground station that the horizon and the heading move the right way before flying.

  2. A custom rotation (101 or 102) is selected on a firmware built without custom rotations.

    FixUse one of the built-in orientations, or a firmware that includes custom rotations.

The old value 100 for the board is turned into 101 by itself at start-up; it is not the cause.

Parameters to look at

ParameterWhat it is
AHRS_ORIENTATIONBoard Orientation
COMPASS_ORIENTCompass orientation
COMPASS_ORIENT2Compass2 orientation

Written here for Copter 4.6. 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