third_party/phoenixsuite/cpp/src/Sensors/PigeonIMU.cpp
/**
 * Set the declination for compass. Declination is the difference between
 * Earth Magnetic north, and the geographic "True North".
 *
 * @param angleDegOffset  Degrees to set Compass Declination to.
 * @param timeoutMs
 *            Timeout value in ms. If nonzero, function will wait for
 *            config success and report an error if it times out.
 *            If zero, no blocking or checking is performed.
 * @return Error Code generated by function. 0 indicates no error.
 */
Set the declination for compass. Declination is the difference between
Earth Magnetic north, and the geographic "True North".

@param angleDegOffset  Degrees to set Compass Declination to.
@param timeoutMs
Timeout value in ms. If nonzero, function will wait for
config success and report an error if it times out.
If zero, no blocking or checking is performed.
@return Error Code generated by function. 0 indicates no error.
Set the declination for compass . Declination is the difference between Earth Magnetic north and the geographic " True North " . @param angleDegOffset Degrees to set Compass Declination to . @param timeoutMs Timeout value in ms . If nonzero function will wait for config success and report an error if it times out . If zero no blocking or checking is performed . @return Error Code generated by function . 0 indicates no error .
int PigeonIMU::SetCompassDeclination(double angleDegOffset, int timeoutMs) {
	int errCode = c_PigeonIMU_SetCompassDeclination(_handle, angleDegOffset,
			timeoutMs);
	return errCode;
}
int PigeonIMU :: SetCompassDeclination ( double angleDegOffset , int timeoutMs ) { int errCode = c_PigeonIMU_SetCompassDeclination ( _handle , angleDegOffset , timeoutMs ) ; return errCode ; }
Set the declination for compass.
Set the declination for compass .