Skip to content

Commit

Permalink
Fix for missing option in turn mode check in route.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfHoekstra committed Nov 9, 2023
1 parent 146eb0e commit cc5a917
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bluesky/traffic/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def addwptMode(acidx, mode = None, value = None):
Route.addwptStack(acidx, mode)
return True

elif mode in ['TURNSPEED', 'TURNSPD', 'TURNRADIUS', 'TURNRAD']:
elif mode in ['TURNSPEED', 'TURNSPD', 'TURNRADIUS', 'TURNRAD', 'TURNHDGRATE', 'TURNHDG', 'TURNHDGR']:
# We're changing the turn speed or radius
Route.addwptStack(acidx, mode, value)
return True
Expand Down
4 changes: 2 additions & 2 deletions scenario/LNAV_VNAV/LNAV-VNAV-TwoRoutesFlights.scn
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@
#(LNAV is already on due to ADDWPT)
00:00:00.00>KLM1705 VNAV on
00:00:00.00>pos kl204
00:00:00.00>plot alt
00:00:00.00>ff 300
#00:00:00.00>plot alt
#00:00:00.00>ff 300

0 comments on commit cc5a917

Please sign in to comment.