Navigator: make weather vane work in all auto modes, not just mission (#13761)

- rename of flag in position sp: from allow_weather_vane to disable_weather_vane
 - flag now doesn't have to be set for all auto modes, meaning that weather vane is also active outside of mission
 - flag is set before front transition to align with wp, and unset after alignment is over

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2019-12-28 18:13:16 +01:00
committed by Daniel Agar
parent 89e1f478ac
commit 574b482fdb
3 changed files with 7 additions and 7 deletions

View File

@@ -55,4 +55,4 @@ float32 acceptance_radius # navigation acceptance_radius if we're doing waypoi
float32 cruising_speed # the generally desired cruising speed (not a hard constraint)
float32 cruising_throttle # the generally desired cruising throttle (not a hard constraint)
bool allow_weather_vane # VTOL: allow (in mission mode) the weather vane feature that turns the nose into the wind
bool disable_weather_vane # VTOL: disable (in auto mode) the weather vane feature that turns the nose into the wind