Magnetic Field Declination Source Control (0x0D,0x43)

Description

Set/Get the local magnetic field declination angle source.

Notes

This can be used to correct for the local value of declination of the earthmagnetic field. Having a correct value is important for best performance of the auto-mag calibration feature. If you do not have an accurate inclination angle source, it is recommended that you leave the auto-mag calibration feature off.

Parameter Name Data Type Description
Field Length u8 8
Descriptor u8 0x43
Function Selector u8 This command supports the following MIP function selectors:
Write Read Save Load Default [WRSLD]
Source u8 enum Magnetic field declination angle source
NameValueDescription
NONE1No source. See command documentation for default behavior
WMM2Magnetic field is assumed to conform to the World Magnetic Model, calculated using current location estimate as an input to the model.
MANUAL3Magnetic field is assumed to have the parameter specified by the user.
Declination float Declination angle [radians] (only required if source = MANUAL)
Ack/Nack Reply See standard MIP ack/nack reply format.
Response Data Data Type Description
Response Length u8 7
Response Descriptor u8 0xB2
Source u8 enum Magnetic field declination angle source
NameValueDescription
NONE1No source. See command documentation for default behavior
WMM2Magnetic field is assumed to conform to the World Magnetic Model, calculated using current location estimate as an input to the model.
MANUAL3Magnetic field is assumed to have the parameter specified by the user.
Declination float Declination angle [radians] (only required if source = MANUAL)