Skip to content

Commit

Permalink
Merge pull request #94 from Horizon-Simulations/fbw-merge
Browse files Browse the repository at this point in the history
FlyByWire Pull Request Merge for #8501 #8497 #8453 #8491
  • Loading branch information
markszutor authored Feb 27, 2024
2 parents 9bc2b5c + 79d4f3a commit 94b5991
Show file tree
Hide file tree
Showing 165 changed files with 2,046 additions and 11,005 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build-a318:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vdev
Expand All @@ -38,7 +38,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a318ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a318ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a318ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a318ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a318ceo/.env
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
build-a319:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vdev
Expand All @@ -111,7 +111,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a319ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a319ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a319ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a319ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a319ceo/.env
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
build-a320:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vdev
Expand All @@ -184,7 +184,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a320ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a320ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a320ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a320ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a320ceo/.env
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
build-a321:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vdev
Expand All @@ -257,7 +257,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a321neo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a321neo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a321neo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a321neo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a321neo/.env
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build-a318:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vmain
Expand All @@ -33,7 +33,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a318ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a318ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a318ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a318ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a318ceo/.env
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
build-a319:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vmain
Expand All @@ -101,7 +101,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a319ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a319ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a319ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a319ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a319ceo/.env
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
build-a320:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vmain
Expand All @@ -169,7 +169,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a320ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a320ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a320ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a320ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a320ceo/.env
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
build-a321:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vmain
Expand All @@ -237,7 +237,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a321neo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a321neo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a321neo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a321neo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a321neo/.env
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build-a318:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vmain
Expand All @@ -35,7 +35,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a318ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a318ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a318ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a318ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a318ceo/.env
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
build-a319:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vmain
Expand All @@ -113,7 +113,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a319ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a319ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a319ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a319ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a319ceo/.env
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
build-a320:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vmain
Expand All @@ -191,7 +191,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a320ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a320ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a320ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a320ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a320ceo/.env
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
build-a321:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vmain
Expand All @@ -269,7 +269,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a321neo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a321neo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a321neo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a321neo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a321neo/.env
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build-a318:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vstable
Expand All @@ -38,7 +38,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a318ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a318ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a318ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a318ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a318ceo/.env
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
build-a319:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vstable
Expand All @@ -111,7 +111,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a319ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a319ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a319ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a319ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a319ceo/.env
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
build-a320:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vstable
Expand All @@ -184,7 +184,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a320ceo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a320ceo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a320ceo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a320ceo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a320ceo/.env
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
build-a321:
runs-on: ubuntu-latest
env:
A32NX_PRODUCTION_BUILD: 1
FBW_PRODUCTION_BUILD: 1
A32NX_INSTRUMENTS_BUILD_WORKERS: 2
PRE_RELEASE_ID: 64125785
PRE_RELEASE_TAG: vstable
Expand All @@ -257,7 +257,7 @@ jobs:
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hsim-a321neo/.env
echo FBW_PRODUCTION_BUILD=1 >> hsim-a321neo/.env
echo CLIENT_ID=\"${{ secrets.NAVIGRAPH_CLIENT_ID }}\" >> hsim-a321neo/.env
echo CLIENT_SECRET=\"${{ secrets.NAVIGRAPH_CLIENT_SECRET }}\" >> hsim-a321neo/.env
echo SENTRY_DSN=\"${{ secrets.SENTRY_DSN }}\" >> hsim-a321neo/.env
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ add_definitions(
# add the common components
add_subdirectory(fbw-common/src/wasm)

# add the A318 components
add_subdirectory(build-a318ceo/src/wasm)
# add the A321 components
add_subdirectory(build-a321neo/src/wasm)
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ resolver = "2"
exclude = ["a32nx"]

members = [
"build-a318ceo/src/wasm/systems/a320_systems",
"build-a318ceo/src/wasm/systems/a320_systems_wasm",
"build-a318ceo/src/wasm/systems/a320_hydraulic_simulation_graphs",
"build-a321neo/src/wasm/systems/a320_systems",
"build-a321neo/src/wasm/systems/a320_systems_wasm",
"build-a321neo/src/wasm/systems/a320_hydraulic_simulation_graphs",
"fbw-common/src/wasm/systems/systems",
"fbw-common/src/wasm/systems/systems_wasm",
]
Expand Down
2 changes: 1 addition & 1 deletion Cargo_a321.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ strip = true
opt-level=1
lto = false
debug-assertions=true
debug=true
debug=true
13 changes: 7 additions & 6 deletions hsim-a21n-common/src/systems/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
"jsx": "react",
"skipLibCheck": true,
"paths": {
"@datalink/aoc": ["datalink/aoc/src/index.ts"],
"@datalink/atc": ["datalink/atc/src/index.ts"],
"@datalink/common": ["datalink/common/src/index.ts"],
"@datalink/router": ["datalink/router/src/index.ts"],
// "@datalink/aoc": ["datalink/aoc/src/index.ts"],
// "@datalink/atc": ["datalink/atc/src/index.ts"],
// "@datalink/common": ["datalink/common/src/index.ts"],
// "@datalink/router": ["datalink/router/src/index.ts"],
"@fmgc/*": ["../../../build-a321neo/src/systems/fmgc/src/*"],
"@shared/*": ["../../../build-a321neo/src/systems/shared/src/*"],
"@typings/*": ["../typings/*"],
"@flybywiresim/fbw-sdk": ["./index.ts"]
"@flybywiresim/fbw-sdk": ["./index.ts"],
"@flybywiresim/flypad": ["./instruments/src/EFB/index.ts"]
}
}
}
}
13 changes: 7 additions & 6 deletions hsim-a318-common/src/systems/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
"jsx": "react",
"skipLibCheck": true,
"paths": {
"@datalink/aoc": ["datalink/aoc/src/index.ts"],
"@datalink/atc": ["datalink/atc/src/index.ts"],
"@datalink/common": ["datalink/common/src/index.ts"],
"@datalink/router": ["datalink/router/src/index.ts"],
// "@datalink/aoc": ["datalink/aoc/src/index.ts"],
// "@datalink/atc": ["datalink/atc/src/index.ts"],
// "@datalink/common": ["datalink/common/src/index.ts"],
// "@datalink/router": ["datalink/router/src/index.ts"],
"@fmgc/*": ["../../../build-a318ceo/src/systems/fmgc/src/*"],
"@shared/*": ["../../../build-a318ceo/src/systems/shared/src/*"],
"@typings/*": ["../typings/*"],
"@flybywiresim/fbw-sdk": ["./index.ts"]
"@flybywiresim/fbw-sdk": ["./index.ts"],
"@flybywiresim/flypad": ["./instruments/src/EFB/index.ts"]
}
}
}
}
2 changes: 1 addition & 1 deletion hsim-a318ceo/mach.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
extract: true,
postcss: {
plugins: [
tailwind('src/systems/instruments/src/EFB/tailwind.config.js'),
tailwind('../fbw-common/src/systems/instruments/src/EFB/tailwind.config.js'),

// transform: hsl(x y z / alpha) -> hsl(x, y, z, alpha)
postCssColorFunctionalNotation(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ AudioMarkerListen=True
AudioDmeListen=False
AudioAdfListen=False
AudioAdf2Listen=False
AvionicsSwitch=False
AvionicsSwitch=True

[Engine Parameters.1.0]
ThrottleLeverPct=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ AudioMarkerListen=True
AudioDmeListen=False
AudioAdfListen=False
AudioAdf2Listen=False
AvionicsSwitch=False
AvionicsSwitch=True

[Engine Parameters.1.0]
ThrottleLeverPct=0
Expand Down
Binary file not shown.
Loading

0 comments on commit 94b5991

Please sign in to comment.