-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(fms): flight planning version 2 #7692
Merged
Merged
Changes from 3 commits
Commits
Show all changes
570 commits
Select commit
Hold shift + click to select a range
4380fca
Remove `MagVar` class
BlueberryKing 702cdc2
Fix no disco for waypoint insertion before destination
BlueberryKing 61f5d09
Fix being able to clear PPOS
BlueberryKing 548ad23
fix: cleanup docker images for more space
Saschl 19722e6
Remove deleted import
BlueberryKing 5a76afd
Merge branch 'fms-v2' of https://github.com/flybywiresim/aircraft int…
BlueberryKing e9d385d
Improve airway entry perf by filtering at db level
BlueberryKing 20bb626
Fix typo in constraint parsing
BlueberryKing 42a95f9
Port AIRPORT key functionality
BlueberryKing 50e7eb4
Remove unnecessary navdata workaround
BlueberryKing 2b14603
Remove accidental CSS changes
BlueberryKing 8998ae4
Use 0 as default origin altitude
BlueberryKing 6cf601d
Rename to more meaningful name
BlueberryKing b49986b
Only transmit fixinfos of active flightplan
BlueberryKing 027e4c2
Treat "at" speed constraints as "atOrBelow"
BlueberryKing 87e4de1
Fix inaccurate comments
BlueberryKing 10b4fcf
Use more appropriate name
BlueberryKing 3ba2cdd
Keep using `Avionics.Utils.bearingDistanceToCoordinates` for now
BlueberryKing de362de
Fix typo
BlueberryKing a046146
Remove unused code
BlueberryKing c676717
Fix DIR to waypoint bug
BlueberryKing 6040424
Move DIR to logic out of page rendering code
BlueberryKing 1946eea
Remove debugging code
BlueberryKing 263ec39
Fix AIRPORT button
BlueberryKing 55c5a97
Fix VNAV not resetting after landing
BlueberryKing 62c0cf0
Port forced turn indications
BlueberryKing ec845c5
Fix turn area exceedance message logic
BlueberryKing 4914c12
Fix toggle overfly function in non active flightplan
BlueberryKing cb54571
Keep database format for altitude constraints
BlueberryKing 8602787
Remove unnecessary speed constraint abstraction layer
BlueberryKing 683da10
Remove unused constraint properties on TF leg
BlueberryKing 1270e3b
Remove unclear comment
BlueberryKing 107c60c
Filter out approach to missing runways
BlueberryKing 6e9557e
Change to simpler FROM/TO deletion stopgap logic
BlueberryKing 4240eea
Keep upstream leg when stringing arrival to upstream
BlueberryKing c874b44
Fix typo in FROM/TO validation
BlueberryKing 420431d
Fix ILS frequency display after first arrival selection
BlueberryKing ccb91d0
Allow selection of arrival without runway
BlueberryKing 85106e4
String XI to XF
BlueberryKing 5882ca7
Remove XI if leg added after it
BlueberryKing 80ab251
Fix typecheck
BlueberryKing b36bcb8
Fix airport/runway altitude shown in flight plan
BlueberryKing 84c1622
Merge branch 'master' into fms-v2
BlueberryKing 56fc126
Delete alternate flight plan after NEW DEST
BlueberryKing ad3ee14
Ensure DIR to leg is not in missed approach
BlueberryKing 4f8b1a1
Use TF leg after truncating duplicate waypoint
BlueberryKing f412c8a
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing 5cd9d0c
Fix performance data rounding
BlueberryKing 99c60bb
Only change out of GA phase with new destination
BlueberryKing 6e8214b
Make approach transition names unique
BlueberryKing e0c25c8
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing 87483c7
fix: clock build
Saschl bcc1ffd
fix: weather request manual entry
Saschl 038c58d
Ignore null legs in distance calculation
BlueberryKing 2483b07
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing 0ad6151
Identify procedures by id over ident
BlueberryKing f42e80c
fix: clock build pt 2
Saschl 87a40b4
Merge branch 'fms-v2' of https://github.com/flybywiresim/aircraft int…
BlueberryKing 8bf9a2c
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing d80da7c
Adjust flypad imports
BlueberryKing a058620
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing ac12e93
sync and serialization fixes
Benjozork 3bc75e4
fix: efb build
Saschl 5c9d8dd
Fix first departure leg runway check
BlueberryKing ddfe067
Fix linting issues
BlueberryKing 2256fab
Don't override runway idents
BlueberryKing 6c7f1e2
Fix leftover procedure identification inconsistencies
BlueberryKing e33356e
Export `getAlongTrackDistanceTo`
BlueberryKing 6177948
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing 69da905
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing c7a5da4
Fix some more linting issues
BlueberryKing b0302ed
Port basic atsu flightplan synchronisation code
BlueberryKing a3769df
Merge branch 'master' into fms-v2
aguther 8ae0d0e
Fix lint even harder
BlueberryKing a642b2f
Fix departure page layout
BlueberryKing de10dce
Fix alternate destination being copied to active
BlueberryKing d949208
Do not try to string MANUAL legs
BlueberryKing 3677241
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing 5caf2b6
Fix single waypoint SID imports again
BlueberryKing 9c80196
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing 20c9d31
Merge branch 'master' into fms-v2
aguther 5683499
feat: fms-v2 msfs sync (#8508)
Saschl 3612c22
fix: approach mapping, off by one error and runway selection
Saschl 17f190b
remove flightPlanTest
Saschl c0cadfa
fix: typing errors
Saschl bbfa446
fix: destination runways without secondary designator
Saschl 985f247
fix: lint
Saschl 981209b
fix(sync): use sensible defaults if mapping fails
Saschl e9fbdd1
fix: init issue after fixing other init issue
Saschl e366799
Fix wrong FD leg ident
BlueberryKing 48ffe17
Improve arrival and departure pages
BlueberryKing 4221c75
Handle explicit NO SID, NO STAR, etc. selection
BlueberryKing 7947117
Refactor MPR selection
BlueberryKing 65339fe
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing a833eff
Merge branch 'fms-v2' of https://github.com/flybywiresim/aircraft int…
BlueberryKing 803deb3
Fix missing disco after leg deletion in alternate
BlueberryKing 1123df5
Remove arrival procedures after changing alternate
BlueberryKing 5217910
Dump entire alternate plan when changing altn dest
BlueberryKing 5aef002
feat: load MSFS flightplan in "SAVE" mode too
Saschl 5c0c395
Remove commented code
BlueberryKing b06c814
Merge branch 'fms-v2' of https://github.com/flybywiresim/aircraft int…
BlueberryKing fe481af
Remove FacilityCache console logging
BlueberryKing efe2b80
Highlight entire row for selected approach
BlueberryKing f4c88d4
Allow repeated constraints in F-PLN page
BlueberryKing fa049ce
Remove duplicate code
BlueberryKing b94ea8d
Fix deletion of leg after CI at segment boundary
BlueberryKing eda1abe
Implement basic support for XI IF XF leg combination
BlueberryKing e89dcdc
Disable SEC fpln functionality for now
BlueberryKing 3877dea
Disable fms-v2 tests until they are fixed
BlueberryKing 08ce72d
improve error handling and runway designatorChars
Saschl f4c05d2
make loading and saving more resilient
Saschl 458a304
Disable inoperative buttons
BlueberryKing 6d5e164
Remove debugger statement
BlueberryKing 1f30c2f
Fix WAYPOINT page entry
BlueberryKing f4b29ed
Fix missing error message after waypoint insertion
BlueberryKing 053bb8d
fix: potential bogus comparison
Saschl 7bcf973
Rebuild arrival after setting all alternate procedures
BlueberryKing 465795f
Handle missing geometry leg again
BlueberryKing e61e69b
Reset managed speed constraint after GA
BlueberryKing c6f4283
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing 093e635
Increase VM leg size
BlueberryKing 123b8d5
Make MRP side dependent
BlueberryKing 0a98fa1
Remove dead code
BlueberryKing bb6517d
Fix AIRPORT button getting stuck
BlueberryKing 6f946a8
Fix references to dead functions
BlueberryKing 0ab07be
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing bd91f97
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing 00d070d
Fix typo
BlueberryKing f68bf26
Remove TODO for clarity
BlueberryKing ac51467
Sync cruise step deletion
BlueberryKing 56265ab
Re-add licence identifier
BlueberryKing dc12ff8
Move `WaypointConstraintType`
BlueberryKing d9878d6
fix: do not transmit empty vectors if not needed
Saschl 5dc361d
Encode MRP in ARINC429
BlueberryKing 71cd446
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing 5e3be0f
Update comment
BlueberryKing 0e1dab7
Remove unused arguments
BlueberryKing 1519ca3
Fix wrong TO waypoint for runways
BlueberryKing 676a3bb
Fix EFB build again
BlueberryKing 0415b78
fix: efb ts config
2hwk ce17f8d
Merge branch 'master' into fms-v2
2hwk 75bda12
fix: revert optimization until better solution found
Saschl e630f51
fix: new allocation optimisation for efis vector sync
2hwk 57813f6
refactor: undefined -> null
2hwk 1f38dc2
Add null check
BlueberryKing 9dfce4c
Remove JS FMCDataManager
BlueberryKing 912c66b
fix: hotfix for departure page issue with selecting new dep runway
2hwk a2f37ea
fix: only set atc crz flight level when defined, remove console logs
Saschl 83083f4
Change runway ident format
BlueberryKing 39c7f36
Merge branch 'fms-v2' of https://github.com/flybywiresim/aircraft int…
BlueberryKing 5f29b35
fix: fpln sync after recent changes
Saschl ea0f79c
Remove SID when changing runway
BlueberryKing 65a848b
Remove arrival when changing approach
BlueberryKing 6d4814d
fix: text alignment for constraints (font still needs work)
2hwk f73824f
ci: Rename workflows from 'PR' to more descriptive names (#8614)
alepouna 57e9a4f
feat(flight_model): Add drag from landing lights (#8554)
crocket63 203ff6d
refactor: Fadec rewrite using Cpp framework (#8547)
frankkopp 7bc0448
fix(fadec): flex temp unit conversion (#8617)
Saschl fd04390
Show NOT ALLOWED upon procedure reselection
BlueberryKing bdf8be2
Merge legs after certain disco deletions
BlueberryKing ed220a1
Fix circling approach not showing up
BlueberryKing 0d1041d
fix: Fixed bug in checklist to not display previous checklists as com…
frankkopp 91e2e0e
Fix ND not updating after TMPY deletion
BlueberryKing d4f99f2
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing c2dd86e
Fix disco deletion
BlueberryKing e8351e0
Show NOT ALLOWED upon procedure reselection
BlueberryKing 89293b8
Merge legs after certain disco deletions
BlueberryKing d57cbb8
Fix circling approach not showing up
BlueberryKing 6fb38bc
Fix ND not updating after TMPY deletion
BlueberryKing 7fbe4c8
Fix disco deletion
BlueberryKing c3efdd0
fix: don't throw null true bearing when parsing discont
2hwk e32577e
fix: check for null vs truthiness
2hwk 8e42ab0
Merge branch 'fms-v2' of https://github.com/flybywiresim/aircraft int…
BlueberryKing 56ad887
fix: use strict !==
2hwk 7157cf2
Merge branch 'fms-v2' of https://github.com/flybywiresim/aircraft int…
BlueberryKing 3b091b5
Fix FREQ not shown after deduplicating airway fixes
BlueberryKing 6934d42
Port tropopause uplink
BlueberryKing fa18ae1
Show NOT ALLOWED when attempting to clr ZFW/ZFWCG
BlueberryKing fef527e
Remove unused import
BlueberryKing ed18556
HIde circling approaches
BlueberryKing 26c6788
Show CLB or DES prompt when necessary
BlueberryKing f6a8905
Show NO TRANS when explicitly selected
BlueberryKing 9b45d77
Show ENTRY for pilot constructed points on PROG page
BlueberryKing fd6bdaf
Filter STARs when only runway selected
BlueberryKing f89abf0
Revert "Show NO TRANS when explicitly selected"
BlueberryKing 9e8c368
Fix NO SID, NO STAR selection not working
BlueberryKing b308e77
Improve automatic NONE selection
BlueberryKing c0fc48d
Improve automatic NONE trans selection
BlueberryKing 5e7cb17
Handle missing airways during uplink
BlueberryKing 76e2435
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing d09f7a1
feat(fms): fm legs
tracernz 0e70176
fix(fms): to wpt details for fm leg
tracernz 8659650
Fix trans lvl being reset when changing runway
BlueberryKing a95a6bd
Fix runway formatting on PERF page
BlueberryKing e2762e1
feat(utils): add angle normalise functions
tracernz 4c25e19
fix(fms): fix vor station declination
tracernz 47a32a8
fix: handle "at or below" constraint
Saschl b3502a9
Merge branch 'master' into fms-v2
BlueberryKing 8704ace
chore: update fms-v2 workflow
Saschl 2fb16d5
Merge remote-tracking branch 'fbw/master' into fms-v2
Saschl 357854d
fix: 380 fadec build
Saschl 3157ad7
fix(fms): cf leg interpretation
tracernz 2f5dae9
fix(fms): idf sids => also sids starting with cf leg
tracernz 571401a
feat(fms): fa leg v0.0.1
tracernz 80781a4
Merge branch 'refs/heads/master' into fms-v2
Benjozork f44dae8
fix: eslint ref
Benjozork 715d22a
style: run lint after merge
Benjozork e7bf4b2
chore: fix lint
Benjozork a3c167b
chore: fix lint
Benjozork 39634ee
Treat missed approach legs as climb constraints
BlueberryKing 8aee5c4
Fix missed approach track not being shown
BlueberryKing 8922551
Merge branch 'fms-v2' of https://github.com/flybywiresim/aircraft int…
BlueberryKing bdd35b8
Allow SID without runway
BlueberryKing e357ffc
fix(fms): navaid selection fallback
tracernz 3224a52
Fix missed approach path going dashed on landing
BlueberryKing 3a6379c
Allow leg insertion at flight plan end
BlueberryKing c3ec4cc
Fix FM leg distance computation
BlueberryKing 072a0bc
Prevent leg insertion after MANUAL
BlueberryKing f5d58b9
Fix distance to destination on XM leg
BlueberryKing e0f0625
Improve uplink error handling
BlueberryKing aaf6eba
Show ILS frequency for runway with LOC approach
BlueberryKing cd29045
Always show solid flight plan line in preflight phase
BlueberryKing ba82921
Fix cruise step deletion
BlueberryKing 09b9c3b
Don't show EFIS approach message for runway-only
BlueberryKing b35b6f4
Keep holds when stringing
BlueberryKing 9dba379
Fix crash when changing departure runway
BlueberryKing 7c5cdbf
Do not send constraints to PFD in GA phase
BlueberryKing 8a83cfd
Check for active plan on active leg symbol
BlueberryKing 79f2d42
Delete constraint until MAP when going around
BlueberryKing 63d1b51
Mark AF as computed after computation
BlueberryKing 740e2db
Fix turn direction indicator in alternate plan
BlueberryKing 17af616
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing 3ab2585
Fix PROG page crash when entering from/to after takeoff
BlueberryKing 4084876
Don't show ENTER DEST DATA without from/to
BlueberryKing a52df47
fix: costindex -> cruiseFlightLevel
Saschl 098e600
fix(fms): nav db info
tracernz 7fce7e6
Fix sequencing of overshot legs
BlueberryKing 3aa5d38
Replace `GetAirportByIdent` calls
BlueberryKing bec6257
Merge branch 'master' into fms-v2
Saschl c4da6d4
Fix missed approach display logic in non PLAN mode
BlueberryKing f58ee40
Fix DIR TO waypoint in hold
BlueberryKing cb0a14b
Treat HX legs equally
BlueberryKing 471769e
Fix premature deceleration to hold speed
BlueberryKing 0341c50
Fix crash with bad navdata
BlueberryKing def0484
Merge remote-tracking branch 'fbw/master' into fms-v2
Saschl 31a4112
fix: mark FA leg as computed
Saschl 6333d25
Improve arrival selection error handling
BlueberryKing b93989c
Delete TMPY on error during procedure selection
BlueberryKing 644f5c2
Handle missing alternate during uplink gracefully
BlueberryKing a9a5cdb
Merge branch 'master' into fms-v2
Saschl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not use databaseId like this. The format of it varies depending on the database backend! It can only be used to test uniqueness of records.