PX4 Firmware
PX4 Autopilot Software http://px4.io
sensor_params_mag.c File Reference

Go to the source code of this file.

Functions

 PARAM_DEFINE_INT32 (CAL_MAG_PRIME, 0)
 
 PARAM_DEFINE_INT32 (CAL_MAG_SIDES, 63)
 Bitfield selecting mag sides for calibration. More...
 

Function Documentation

◆ PARAM_DEFINE_INT32() [1/2]

PARAM_DEFINE_INT32 ( CAL_MAG_PRIME  ,
 
)

◆ PARAM_DEFINE_INT32() [2/2]

PARAM_DEFINE_INT32 ( CAL_MAG_SIDES  ,
63   
)

Bitfield selecting mag sides for calibration.

DETECT_ORIENTATION_TAIL_DOWN = 1 DETECT_ORIENTATION_NOSE_DOWN = 2 DETECT_ORIENTATION_LEFT = 4 DETECT_ORIENTATION_RIGHT = 8 DETECT_ORIENTATION_UPSIDE_DOWN = 16 DETECT_ORIENTATION_RIGHTSIDE_UP = 32

34 63 34 Two side calibration 38 Three side calibration 63 Six side calibration Sensors