mirror of https://github.com/ArduPilot/ardupilot
Rover: set_likely_flying in vehicle
This commit is contained in:
parent
7a620ca95c
commit
a2af641b18
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue