Skip to content
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(a380x/mfd): MFD/FMS based on avionics framework and fms-v2 #8331

Closed
wants to merge 731 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
731 commits
Select commit Hold shift + click to select a range
5d49950
Refactor LOC tuning by ident
BlueberryKing Dec 7, 2023
7e6129e
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing Dec 7, 2023
9b58b76
Improve LDA/SDF approach handling
BlueberryKing Dec 7, 2023
00f399d
introduce data entry errors, set simvars (port from a32nx fmc code)
flogross89 Dec 9, 2023
406c9ad
feat: crz alt import and more (#8308)
Saschl Dec 9, 2023
9947584
calculate operating speeds, add POSITION/NAVAIDS, add managed speed
flogross89 Dec 14, 2023
9d2eed5
fix type errors and PFD
flogross89 Dec 14, 2023
fd83316
change error handler architecture
flogross89 Dec 14, 2023
31e5f6a
operating speeds update
flogross89 Dec 14, 2023
b37809a
Merge remote-tracking branch 'origin/fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Dec 14, 2023
383d5d7
update to subject-less performance data
flogross89 Dec 15, 2023
d12e606
re-integrate geometry guards
flogross89 Dec 15, 2023
8f40aab
fmgc fixes
flogross89 Dec 15, 2023
2723c36
integrate CdsDisplayUnit, adapt TO speed check, use efisInterface,
flogross89 Dec 15, 2023
bf37aa7
InputField: fix delete value case, fix PERF speed tables
flogross89 Dec 16, 2023
055be99
add REC MAX FL and OPT FL on PERF page
flogross89 Dec 16, 2023
663dac3
fix some typescript path stuff
Benjozork Dec 16, 2023
1e6203b
fix simbrief type usage in efb
Benjozork Dec 16, 2023
5aae038
generic flight plan perf data types
Benjozork Dec 16, 2023
489f5c9
Merge remote-tracking branch 'origin/fms-v2' into feat-mfd-a380x-fmsv2
Benjozork Dec 16, 2023
783c253
specify typescript paths that don't include react code for MFD
Benjozork Dec 16, 2023
d828791
fixes after fms-v2 changes
Benjozork Dec 16, 2023
f203c3f
fix various typing issues and missing properties
Benjozork Dec 16, 2023
fcd1c72
Merge remote-tracking branch 'origin/fms-v2' into feat-mfd-a380x-fmsv2
Benjozork Dec 16, 2023
d3615c4
Fix undefined reference for duplicate ils page
BlueberryKing Dec 9, 2023
d3c65ca
Implement runway-by-itself approaches
BlueberryKing Dec 9, 2023
bbadd70
Fix reference to undefined approach
BlueberryKing Dec 9, 2023
020ac9f
Fix missing export
BlueberryKing Dec 9, 2023
55c6c6e
Fix VNAV issue with no active leg
BlueberryKing Dec 9, 2023
52f3729
Properly reset VNAV when data is not available
BlueberryKing Dec 9, 2023
30e3a7c
Fix icao vs ident confusion in ils tuning
BlueberryKing Dec 10, 2023
6e31a4c
Port thr red/acc alt climb constraint reconsiliation
BlueberryKing Dec 10, 2023
91bccbd
Fix incorrect LOC bearing
BlueberryKing Dec 10, 2023
ad02e33
Refactor tuning by ident again
BlueberryKing Dec 13, 2023
0f15f65
feat: Support EX1 events to be used for fbw events (#8326)
frankkopp Dec 11, 2023
00631d8
build: update FlyByWire localization (#8251)
github-actions[bot] Dec 13, 2023
408bf6b
Fix tuning of non-ILS approaches
BlueberryKing Dec 17, 2023
1a4168a
don't load testing fpln on startup, fix gross weight calc
flogross89 Dec 17, 2023
4167ae9
Fix no disco after MANUAL issue
BlueberryKing Dec 17, 2023
198f0a2
Prevent deletion of discontinuity after MANUAL
BlueberryKing Dec 17, 2023
c365baa
Remove XI leg if succeeding leg is removed
BlueberryKing Dec 17, 2023
34f5711
Show error message when clearing MANUAL disco
BlueberryKing Dec 17, 2023
f22fd5f
Use more `MathUtils.round`
BlueberryKing Dec 17, 2023
8b495d5
Pseudo-fix elevation for airports with no runways
BlueberryKing Dec 20, 2023
3d75185
Remove unnecessary database call
BlueberryKing Dec 20, 2023
5de4f6d
Fix procedures being removed when enabling altn
BlueberryKing Dec 20, 2023
91d94c6
Set cruise altitude and cost index in alternate
BlueberryKing Dec 20, 2023
6edfaa7
fix: fms v2 geometry guards (#8288)
flogross89 Dec 20, 2023
d697935
Merge remote-tracking branch 'origin/master' into fms-v2
Saschl Dec 22, 2023
1cbb1d2
fix: type and lint errors
Saschl Dec 22, 2023
e8b69ce
Improve leg deletion and disco logic
BlueberryKing Dec 22, 2023
787b4fc
Fix undefined variable access
BlueberryKing Dec 22, 2023
c9617c8
fix cruise altitude comparison
flogross89 Dec 23, 2023
4e632ca
Merge branch 'fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Dec 23, 2023
e5aa730
move costIndex to FP performance data
flogross89 Dec 23, 2023
f42b7ce
startup bug fixes, listen to some KCCU keys
flogross89 Dec 23, 2023
afa4b41
Properly clear out alternate flightplan
BlueberryKing Dec 23, 2023
796a5e1
Fix alternate legs erroneously showing on ND
BlueberryKing Dec 23, 2023
e24606d
add DATA/STATUS, complete POSITION/NAVAIDS
flogross89 Dec 23, 2023
cfae969
Fix merge regression
BlueberryKing Dec 23, 2023
6a3eb73
Hide altn airport symbol on ND
BlueberryKing Dec 23, 2023
4d12f7c
Fix another direct to destination issue
BlueberryKing Dec 23, 2023
838e5b9
Avoid rounding undefined values
BlueberryKing Dec 24, 2023
aba2609
Fix not being able to delete discos
BlueberryKing Dec 24, 2023
d79ea0d
Initialize flightplans with new performancedata
BlueberryKing Dec 24, 2023
9be6d5f
Prevent stringing behind active leg
BlueberryKing Dec 25, 2023
a6833dd
Fix missing argument
BlueberryKing Dec 25, 2023
625f1c5
Copy metadata of non-XF legs
BlueberryKing Dec 25, 2023
53f5be0
String missed approach on flightphase change
BlueberryKing Dec 25, 2023
6b986d4
Sequence out of goaround phase after enable altn
BlueberryKing Dec 26, 2023
cc6ffa0
Fix direct to legs with same ident
BlueberryKing Dec 26, 2023
8d5d020
Prevent deleting disco between origin and destination
BlueberryKing Dec 26, 2023
139f8d6
Fix PLAN mode not working after landing
BlueberryKing Dec 26, 2023
78124b2
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing Dec 26, 2023
3d6e86e
Fix forgotten renaming
BlueberryKing Dec 27, 2023
7c85d25
Allow direct to destination
BlueberryKing Dec 27, 2023
daa7008
Merge remote-tracking branch 'origin/fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Dec 27, 2023
2231b87
Merge remote-tracking branch 'origin/master' into feat-mfd-a380x-fmsv2
flogross89 Dec 27, 2023
1d1a78a
move page directory to separate file
flogross89 Dec 29, 2023
e7de704
Fix regressions after fms-v2 merge
flogross89 Dec 29, 2023
27dd2d0
linting, fix some errors from #98
flogross89 Dec 30, 2023
a18c26b
reset revised waypoint after navigateTo
flogross89 Dec 31, 2023
652affa
Merge branch 'master' into feat-mfd-a380x-fmsv2
flogross89 Dec 31, 2023
2223e4f
fix flight phase switching, trans alt SimVar setting
flogross89 Dec 31, 2023
14fb730
use sim time instead of real time for predictions
flogross89 Dec 31, 2023
138f41c
only allow waypoint terminated legs for DIRECT TO list
flogross89 Dec 31, 2023
265773f
remove testing init
flogross89 Dec 31, 2023
14ad531
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing Jan 1, 2024
9d44674
Filter efis airports at database level
BlueberryKing Jan 1, 2024
85336da
Fix FUEL PRED not computing
BlueberryKing Jan 1, 2024
8d5fcdc
Fix single waypoint SID uplink edge case
BlueberryKing Jan 2, 2024
7d71730
Port hack for VD legs
BlueberryKing Jan 2, 2024
b8b242f
#98 F7, F8: Fix CRZ->DES flight phase transition; listen to correct H…
flogross89 Jan 3, 2024
ca61e22
#98 F30, F32: Unfocus input fields on navigation
flogross89 Jan 3, 2024
35ac9e5
#98 F34: Disable derated CLB dropdown field (not implemented in FADEC…
flogross89 Jan 3, 2024
bcb9bd1
#110 F.31 improve direct to page behavior
flogross89 Jan 3, 2024
a28688a
don't require explicit Fmgc namespace reference when calling fmgc's D…
flogross89 Jan 3, 2024
3b9cff0
#98 F.35 improve vertical revision selection and page
flogross89 Jan 3, 2024
3980321
#109 F.6, F.19 fix PLAN centering, introduce dummy VSD
flogross89 Jan 3, 2024
3acb734
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing Jan 3, 2024
2eaed13
Show fpln page after copying SEC
BlueberryKing Jan 3, 2024
07457e8
Don't show constraint circles on altn plan
BlueberryKing Jan 3, 2024
213ee54
Set ground temp after uplink insert
BlueberryKing Jan 3, 2024
c1bff6d
Reinsert arrival immediately on TOGA
BlueberryKing Jan 3, 2024
d8a643c
rename pages to camel case; improve performance on F-PLN (introduce p…
flogross89 Jan 3, 2024
7522599
#110 F.40: Improve arrival page filtering, improve message handling
flogross89 Jan 3, 2024
d955dfb
Merge branch 'master' into feat-mfd-a380x-fmsv2
flogross89 Jan 3, 2024
93499d4
Merge branch 'fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Jan 3, 2024
3c64b97
several bugfixes + linting
flogross89 Jan 4, 2024
dd28456
Fix stringing after goaround
BlueberryKing Jan 4, 2024
37c3775
Set new active leg when sequencing disco
BlueberryKing Jan 5, 2024
435aeaa
Merge branch 'master' into feat-mfd-a380x-fmsv2
flogross89 Jan 6, 2024
622b2bc
Merge branch 'fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Jan 6, 2024
93be104
fix manual airway entry bug
flogross89 Jan 6, 2024
5ceadb3
improve dest efob display
flogross89 Jan 6, 2024
7638b6f
fpln page and msg list improvements
flogross89 Jan 6, 2024
bb59bd4
some efob fixes
flogross89 Jan 6, 2024
ffca34e
workaround for MSFS crash when inserting A380 weights
flogross89 Jan 6, 2024
4176559
Fix MRP selection
BlueberryKing Jan 6, 2024
eb36648
Update altn departure properly after new dest
BlueberryKing Jan 7, 2024
afd98c4
Fix missed app not being shown
BlueberryKing Jan 7, 2024
a4aa95c
Port automatic airway intersection
BlueberryKing Jan 7, 2024
00d7a99
Do not restring after inserting a hold
BlueberryKing Jan 10, 2024
ecac4ce
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing Jan 10, 2024
eec43bc
Merge branch 'master' into feat-mfd-a380x-fmsv2
flogross89 Jan 16, 2024
71674de
Merge branch 'fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Jan 16, 2024
45e806c
restore to fms-v2 state
flogross89 Jan 16, 2024
f0a8b7a
half-heartedly convert FWC from JS to TS, waiting for Rust implementa…
flogross89 Jan 16, 2024
4a086e3
introduce AMI file for airline-specific FMS configuration
flogross89 Jan 16, 2024
6e155d1
AMI: use perf and idle factor for DATA/STATUS
flogross89 Jan 16, 2024
2e47dd6
refactor: move parts into FlightManagementComputer, accessed by FmcSe…
flogross89 Jan 17, 2024
8ef9990
implement dual-screen texture
flogross89 Jan 17, 2024
3e42a58
panel.cfg changes
flogross89 Jan 17, 2024
4996e86
Merge branch 'master' into feat-mfd-a380x-fmsv2
flogross89 Jan 17, 2024
c362cba
unify definitions, fix fms source
flogross89 Jan 17, 2024
06eee39
fix distance column on fpln page
flogross89 Jan 17, 2024
4ac0b80
set #000 as background color for all remaining instruments for a380
flogross89 Jan 17, 2024
b2b40f5
fix various errors on fpln page, set #000 as bg color for MFD instrument
flogross89 Jan 17, 2024
162b71d
broaden mfd texture, modify nlg animation
flogross89 Jan 17, 2024
44a544e
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing Jan 17, 2024
5d3a8ee
Update Copyright and lint class names order change
frankkopp Jan 13, 2024
6569da1
Set IDLE detent as default (to not confuse people with only 2 axis co…
frankkopp Jan 13, 2024
271c5cb
Completed axis mapping for A380X throttle calibration
frankkopp Jan 13, 2024
79774ba
Added throttle lever sounds to sound.xml
frankkopp Jan 13, 2024
696b692
Fixing React code for throttle config for less than 4 axis
frankkopp Jan 13, 2024
83e9b1a
Extending and fixing throttle config for A380X - needs adaption to A3…
frankkopp Jan 15, 2024
2e1aaf1
Extending and fixing throttle config for A380X and A32NX
frankkopp Jan 15, 2024
40534b2
Removed debugger statement
frankkopp Jan 15, 2024
a48634d
Commenting changes
frankkopp Jan 15, 2024
1d7b7cb
Added note to the A380 2-axis calibration screen to remember to map a…
frankkopp Jan 16, 2024
3ded85c
Fixed lint error
frankkopp Jan 16, 2024
d51d086
Commenting and lint clean up
frankkopp Jan 16, 2024
8b55b4b
Fixed defaults for missing ini file entries
frankkopp Jan 16, 2024
10e2446
Fixing rebase issue
frankkopp Jan 17, 2024
4c005d7
Merge branch 'feat-a380x-mfd-panel-xml-update' into feat-mfd-a380x-fmsv2
flogross89 Jan 18, 2024
72ac421
disable NOISE button
flogross89 Jan 18, 2024
12c6b3e
un-freeze time, add time and buttons to SD
flogross89 Jan 18, 2024
f1bfbe5
Adapt to change from master
BlueberryKing Jan 17, 2024
414e872
Merge remote-tracking branch 'frankkopp/a380x-throttle-calib' into fe…
flogross89 Jan 18, 2024
fbe6f54
convert SimVars for LS button and EFIS options
flogross89 Jan 18, 2024
9b47dae
camel case fix, fix bootup display for dual screen MFD
flogross89 Jan 19, 2024
b46e460
improve SD message area
flogross89 Jan 19, 2024
76c4498
SD: update G load warning
flogross89 Jan 19, 2024
eea9bd5
improve EFIS ND display
flogross89 Jan 19, 2024
7435bbd
refactor: move fmgc, rename mfd-value classes
flogross89 Jan 19, 2024
ba1cd7b
why wasn't this merged from fms-v2?
flogross89 Jan 20, 2024
56dc741
Merge remote-tracking branch 'origin/master' into feat-mfd-a380x-fmsv2
flogross89 Jan 20, 2024
c730480
update mach conversion, convert a380 weights to a320 if necessary
flogross89 Jan 20, 2024
fc493b7
use static cruise mach, fix FPLN page scrolling
flogross89 Jan 20, 2024
3dbbc03
Implement upstream stringing
BlueberryKing Jan 20, 2024
3763d7d
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing Jan 20, 2024
f320eb0
fpln page bugfixes, improved clb and des speeds from fmgc
flogross89 Jan 21, 2024
180ab25
auto-navigate to tab of active flight phase
flogross89 Jan 21, 2024
332cf5a
Change method to more appropriate name
BlueberryKing Jan 21, 2024
ca0609a
Convert TF to DF legs if necessary
BlueberryKing Jan 21, 2024
cbc64f1
Fix duplicate disco after NEW DEST
BlueberryKing Jan 21, 2024
35e88a2
add some guards
flogross89 Jan 21, 2024
453aa59
Fix missed approach being strung twice
BlueberryKing Jan 21, 2024
092f430
Merge remote-tracking branch 'upstream/master' into fms-v2
BlueberryKing Jan 23, 2024
578930b
Fix TF DF leg conversion with XI legs
BlueberryKing Jan 23, 2024
560c316
feat(a380x): Add legacy FWS, GPWS from A32NX implementation
flogross89 Jan 23, 2024
a05b88b
add MFD active URI/page SimVar; reorder legacy files
flogross89 Jan 23, 2024
c2e50df
remove legacy FWC from FMC
flogross89 Jan 23, 2024
eb32d27
remove fbw-a380x/.../fmgc (only keep one fmgc)
flogross89 Jan 26, 2024
8145e1e
navigation SimVar now set in MFD class
flogross89 Jan 26, 2024
ba41654
Deduplicate waypoints when inserting into flightplan
BlueberryKing Jan 26, 2024
5fe849d
Merge branch 'master' into feat-mfd-a380x-fmsv2
flogross89 Jan 26, 2024
960dbb4
Merge branch 'fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Jan 26, 2024
145ae77
fix(a380x FCU):
flogross89 Jan 27, 2024
dd6b788
fix(a380x FCU):
flogross89 Jan 27, 2024
77391b4
fix vertical position of Std; fix dimension of degrees sign
flogross89 Jan 27, 2024
63cc346
Merge branch 'fix-a380x-fcu-variousfixes' into feat-mfd-a380x-fmsv2
flogross89 Jan 27, 2024
76bc206
Fix origin being active leg initially
BlueberryKing Jan 27, 2024
3352127
Add IF for procedures starting with FX
BlueberryKing Jan 27, 2024
446e8de
prepare for "un-blur if MFD is not visible within camera FOV"
flogross89 Jan 28, 2024
877430a
linting, small bugfixes
flogross89 Jan 28, 2024
0c8ebd5
prevent NaN for econ speeds (assume CI if none is set)
flogross89 Jan 28, 2024
8291ec7
transmit pax number as SimVar
flogross89 Jan 29, 2024
3459a4d
FD button controls both FD; allow switch to APPR phase also from GA p…
flogross89 Jan 29, 2024
14e9940
Merge branch 'master' into feat-mfd-a380x-fmsv2
flogross89 Jan 29, 2024
07a4834
Implement FROM/TO leg deletion
BlueberryKing Feb 1, 2024
58e415b
add strike-through zero to MFD numerical values
flogross89 Feb 2, 2024
e6609fe
fix: fms-v2 fmgc variable ref (#8376)
flogross89 Feb 2, 2024
0ffc721
Always compute IF at runway/airport
BlueberryKing Feb 2, 2024
3cb41ca
Merge branch 'fms-v2' of https://github.com/flybywiresim/aircraft int…
BlueberryKing Feb 2, 2024
0f0ce98
pull PFD from master; but keep reference to a32nx fmgc
flogross89 Feb 3, 2024
1345327
import Arinc429Word from fbw-sdk (remove copy from @shared)
flogross89 Feb 3, 2024
afbae42
- import Arinc429Word from fbw-sdk (remove copy from @shared)
flogross89 Feb 3, 2024
fba1a98
FMC: transmit FM landing elevation + destination coords
flogross89 Feb 3, 2024
4ed8139
correct alt tape spacing and font size
flogross89 Feb 3, 2024
b02ebb0
- import Arinc429Word from fbw-sdk (remove copy from @shared)
flogross89 Feb 3, 2024
932c3a3
Merge branch 'master' into feat-mfd-a380x-fmsv2
flogross89 Feb 3, 2024
026165a
Merge branch 'fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Feb 3, 2024
72b262c
Only restring to enroute if arrival changed
BlueberryKing Feb 3, 2024
6ccb90c
revert changes to flaps/slats position
flogross89 Feb 3, 2024
7c61201
Fix arrival not being rebuilt for transition change
BlueberryKing Feb 3, 2024
7408d51
Reset enroute transition when arrival changes
BlueberryKing Feb 3, 2024
e35aeee
revert font for tens of altitude
flogross89 Feb 4, 2024
4652f09
activate GearIndicator, use LGCIU input for now
flogross89 Feb 4, 2024
75dc8f2
Merge branch 'fix-pfd-visuals-update' into feat-mfd-a380x-fmsv2
flogross89 Feb 4, 2024
5b49c1d
Merge branch 'master' into feat-mfd-a380x-fmsv2
flogross89 Feb 4, 2024
cedf635
Merge branch 'fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Feb 4, 2024
27aea33
re-organize slashed zero font
flogross89 Feb 4, 2024
23fd493
PFD linting
flogross89 Feb 4, 2024
cafdd42
Show ILS frequency on Arrivals page
BlueberryKing Feb 4, 2024
3d01124
Set active leg when arrival changes while flying it
BlueberryKing Feb 4, 2024
ccb1ca9
Deduplicate after airway entry
BlueberryKing Feb 4, 2024
e16e3d2
Create disco but no tmpy on waypoint entry
BlueberryKing Feb 4, 2024
a89465f
linting
flogross89 Feb 4, 2024
d31c219
Fix missing approach vias with Navigraph data
BlueberryKing Feb 5, 2024
4380fca
Remove `MagVar` class
BlueberryKing Feb 5, 2024
702cdc2
Fix no disco for waypoint insertion before destination
BlueberryKing Feb 5, 2024
61f5d09
Fix being able to clear PPOS
BlueberryKing Feb 5, 2024
138748d
revert a32nx source font; change name of a380 fonts
flogross89 Feb 6, 2024
46be6c7
enable TS strict mode
flogross89 Feb 6, 2024
f147f24
don't load test route...
flogross89 Feb 6, 2024
5cc6b0f
ND font fixes
flogross89 Feb 6, 2024
7839d6d
FL change bugfix
flogross89 Feb 6, 2024
548ad23
fix: cleanup docker images for more space
Saschl Feb 6, 2024
3070dd5
fix open revisions menu bugfix
flogross89 Feb 7, 2024
933298d
fix managed SimVar
flogross89 Feb 7, 2024
f9c9b7b
Merge branch 'master' into feat-mfd-a380x-fmsv2
flogross89 Feb 7, 2024
2df5402
Merge branch 'fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Feb 7, 2024
19722e6
Remove deleted import
BlueberryKing Feb 7, 2024
5a76afd
Merge branch 'fms-v2' of https://github.com/flybywiresim/aircraft int…
BlueberryKing Feb 7, 2024
e9d385d
Improve airway entry perf by filtering at db level
BlueberryKing Feb 8, 2024
20bb626
Fix typo in constraint parsing
BlueberryKing Feb 8, 2024
42a95f9
Port AIRPORT key functionality
BlueberryKing Feb 8, 2024
8078d17
[a380/mfd] fix a32nx_util import; add debug data page; smaller weight…
flogross89 Feb 9, 2024
0c3a185
Merge branch 'fms-v2' into feat-mfd-a380x-fmsv2
flogross89 Feb 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ fbw-a32nx/src/systems/fmgc/src/flightplanning/ManagedFlightPlan.ts
fbw-a32nx/src/systems/fmgc/src/flightplanning/ProcedureDetails.ts
fbw-a32nx/src/systems/fmgc/src/flightplanning/RawDataMapper.ts
fbw-a32nx/src/systems/fmgc/src/flightplanning/SegmentedFlightPlan.ts
fbw-a32nx/src/systems/fmgc/src/flightplanning/WaypointBuilder.ts
fbw-a32nx/src/systems/fmgc/src/flightplanning/WorldMagneticModel.ts
fbw-a32nx/src/systems/fmgc/src/utils/LzUtf8.js
target/*
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/fms-v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: fms-v2
on:
push:
branches:
- fms-v2

jobs:
build:
# Prevent running this on forks
if: github.repository_owner == 'flybywiresim'
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
BUILD_DIR_NAME: fms-v2
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Set BUILT_DATE_TIME
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> .env
echo CLIENT_ID=${{ secrets.NAVIGRAPH_CLIENT_ID }} >> .env
echo CLIENT_SECRET=${{ secrets.NAVIGRAPH_CLIENT_SECRET }} >> .env
echo CHARTFOX_SECRET=${{ secrets.CHARTFOX_SECRET }} >> .env
echo SENTRY_DSN=${{ secrets.SENTRY_DSN }} >> .env
echo BUILD_DIR_NAME=${{ env.BUILD_DIR_NAME }} >> .env
echo LOCALAZY_READ_KEY=${{ secrets.LOCALAZY_READ_KEY }} >> .env
- name: Build A32NX
run: |
./scripts/dev-env/run.sh ./scripts/setup.sh
./scripts/dev-env/run.sh ./scripts/build_a32nx.sh --no-tty -j 4
rm -rf fbw-a32nx/src
docker system prune -af
- name: Build ZIP files
run: |
df -h
node ./scripts/fragment_a32nx.js
- name: Upload to CloudFlare CDN
env:
CLOUDFLARE_BUCKET_PASSWORD: ${{ secrets.CLOUDFLARE_BUCKET_PASSWORD }}
CDN_BUCKET_DESTINATION: addons/a32nx/fms-v2
run: |
./scripts/cf-cdn.sh $CDN_BUCKET_DESTINATION ./fbw-a32nx/out/build-modules
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ painting00 = A32NX_Printer/Printer.html?Index=0, 0, 0, 1024, 1024
size_mm = 1024,1024
pixel_size = 1024,1024
texture = $PRINT_STATIC
painting00 = A32NX_Printer/Printer.html?Index=1, 0, 0, 1024, 1024
painting00 = A32NX_Printer/Printer.html?Index=1, 0, 0, 1024, 1024
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021-2023 FlyByWire Simulations
//
// SPDX-License-Identifier: GPL-3.0

const A32NX_Util = {};

let nxNotificationsListener;
Expand Down Expand Up @@ -171,17 +175,17 @@ A32NX_Util.getIsaTempDeviation = (alt = Simplane.getAltitude(), sat = Simplane.g

/**
* Get the magvar to use for radials from a wp.
* @param {WayPoint} wp The waypoint.
* @param {VhfNavaid} facility The waypoint.
*/
A32NX_Util.getRadialMagVar = (wp) => {
if (wp.infos.icao.charAt(0) === "V") {
if (wp.infos.magneticVariation !== undefined) {
return 360 - wp.infos.magneticVariation;
}
}

return Facilities.getMagVar(wp.infos.coordinates.lat, wp.infos.coordinates.long);
}
A32NX_Util.getRadialMagVar = (facility) => {
if (facility.subSectionCode === 0 /* VhfNavaid */) {
if (facility.stationDeclination !== undefined) {
return 360 - facility.stationDeclination;
}
}

return Facilities.getMagVar(facility.location.lat, facility.location.long);
};

/**
* Utility class to throttle instrument updates
Expand Down
Loading