mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-19 14:25:16 +03:00
Simplified 2D navigation routenes
This commit is contained in:
parent
b47d666702
commit
f933381d18
4 changed files with 79 additions and 1 deletions
|
@ -2982,7 +2982,9 @@ void applyWaypointNavigationAndAltitudeHold(void)
|
|||
|
||||
/* Process controllers */
|
||||
navigationFSMStateFlags_t navStateFlags = navGetStateFlags(posControl.navState);
|
||||
if (STATE(FIXED_WING_LEGACY)) {
|
||||
if (STATE(ROVER) || STATE(BOAT)) {
|
||||
applyRoverBoatNavigationController(navStateFlags, currentTimeUs);
|
||||
} else if (STATE(FIXED_WING_LEGACY)) {
|
||||
applyFixedWingNavigationController(navStateFlags, currentTimeUs);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue