third_party/phoenixsuite/cpp/src/Sensors/PigeonIMU.cpp
/**
 * Convert CalibrationMode to string.
 * This function is static.
 */
Convert CalibrationMode to string.
This function is static.
Convert CalibrationMode to string . This function is static .
std::string PigeonIMU::ToString(CalibrationMode cm) {
	std::string retval = "Unknown";
	switch (cm) {
	case BootTareGyroAccel:
		return "BootTareGyroAccel";
	case Temperature:
		return "Temperature";
	case Magnetometer12Pt:
		return "Magnetometer12Pt";
	case Magnetometer360:
		return "Magnetometer360";
	case Accelerometer:
		return "Accelerometer";
	}
	return retval;
}
std :: string PigeonIMU :: ToString ( CalibrationMode cm ) { std :: string retval = " " ; switch ( cm ) { case BootTareGyroAccel : return " " ; case Temperature : return " " ; case Magnetometer12Pt : return " " ; case Magnetometer360 : return " " ; case Accelerometer : return " " ; } return retval ; }
Convert CalibrationMode to string.
Convert CalibrationMode to string .