Rover: removed INS print code

its all in parameters now
This commit is contained in:
Andrew Tridgell 2012-12-04 09:09:36 +11:00
parent cbb97f7294
commit 4484144228

View File

@ -66,7 +66,6 @@ setup_show(uint8_t argc, const Menu::arg *argv)
report_xtrack();
report_throttle();
report_flight_modes();
report_ins();
report_compass();
cliSerial->printf_P(PSTR("Raw Values\n"));
@ -328,7 +327,6 @@ setup_accel_scale(uint8_t argc, const Menu::arg *argv)
g.manual_level.set_and_save(1);
}
}
report_ins();
return(0);
}
#endif
@ -461,17 +459,6 @@ static void report_throttle()
print_blanks(2);
}
static void report_ins()
{
//print_blanks(2);
cliSerial->printf_P(PSTR("INS\n"));
print_divider();
print_gyro_offsets();
print_accel_offsets_and_scaling();
print_blanks(2);
}
static void report_compass()
{
//print_blanks(2);
@ -641,14 +628,4 @@ print_accel_offsets_and_scaling(void)
(float)accel_scale.z); // YAW
}
static void
print_gyro_offsets(void)
{
cliSerial->printf_P(PSTR("Gyro offsets: %4.2f, %4.2f, %4.2f\n"),
(float)ins.gx(),
(float)ins.gy(),
(float)ins.gz());
}
#endif // CLI_ENABLED