Rover: set_likely_flying in vehicle

This commit is contained in:
Peter Hall 2020-01-06 23:05:52 +00:00 committed by WickedShell
parent 7a620ca95c
commit a2af641b18
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ void Rover::one_second_loop(void)
// need to set "likely flying" when armed to allow for compass // need to set "likely flying" when armed to allow for compass
// learning to run // learning to run
ahrs.set_likely_flying(hal.util->get_soft_armed()); set_likely_flying(hal.util->get_soft_armed());
// send latest param values to wp_nav // send latest param values to wp_nav
g2.wp_nav.set_turn_params(g.turn_max_g, g2.turn_radius, g2.motors.have_skid_steering()); g2.wp_nav.set_turn_params(g.turn_max_g, g2.turn_radius, g2.motors.have_skid_steering());