AntennaTracker: remove call to set fly forward, else if the tracker is moving it will use the GPS direction for yaw instead of the compass

This commit is contained in:
Mike McCauley 2014-03-23 16:25:20 +10:00 committed by Andrew Tridgell
parent cc21f68ed4
commit 6648170102

View File

@ -106,7 +106,6 @@ static void calibrate_ins()
{
gcs_send_text_P(SEVERITY_MEDIUM, PSTR("Beginning INS calibration; do not move tracker"));
ahrs.init();
ahrs.set_fly_forward(true);
ins.init(AP_InertialSensor::COLD_START, ins_sample_rate);
ins.init_accel();
ahrs.set_trim(Vector3f(0, 0, 0));