-
-
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: Flypadosv3 - Presets for Lighting and Aircraft #6925
feat: Flypadosv3 - Presets for Lighting and Aircraft #6925
Conversation
Please, fix typos in PR name. |
914640a
to
ba312ba
Compare
Two addional Ideas:
Example Order to find a "state":
If more states match, use one of it randomly. If nothing match, use C&D. More realism is not possible :-) Please ensure, that u will also save the Brightness-Positions of the PFD, ND, ECAM etc. |
aee696e
to
30f4373
Compare
3f6ea66
to
1fccbac
Compare
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.
Just a couple things :). Also make sure to remove some of the explanatory comments in the files that don't add too much value to the overall understanding of what you are doing.
I think I rather have too much documentation than too little 😜 |
ce835a0
to
e865203
Compare
1232494
to
784a5ba
Compare
I defer to the kernel coding style on this
|
Quality Assurance Tester Report Discord : mico#3145 Testing Process: General Lighting Aircraft Presets Negatives: Testing Results: Conclusions: |
Quality Assurance Trainee Report Discord : LeDerpLegend#0109 Testing Process: General Lighting Aircraft Presets Negatives: Presets help dialogue icon could use more attention. Didn't notice it at first. Testing Results: PASSED Conclusions: Very nice, recommend a confirmation box before saving presets and loading aircraft configuration state. |
87dd485
to
2a3b368
Compare
Co-authored-by: Benjamin Dupont <benjozorkfr@gmail.com>
Co-authored-by: Benjamin Dupont <benjozorkfr@gmail.com>
…eady in UtilComponents (rebase issue?)
Co-authored-by: Benjamin Dupont <benjozorkfr@gmail.com>
Co-authored-by: Benjamin Dupont <benjozorkfr@gmail.com>
Targets flypadosv3
Put these into the flypadosv3 PR when merged: #6230,
Summary of Changes
This PR implements presets for interior lighting and for aircraft state.
Interior Lighting Presets: User can load and save the state of interior lighting setting via the EFB.
Aircraft States; The user can choose 5 presets from the EFB which will be applied to the aircraft. The presets will be applied by executing the correct procedure as if done by a Co-Pilot. The presets are therefore NOT applied instantaneous.
Architecture
Front End:
EFB presets page with tabs for lighting and aircraft presets (see screenshots)
Uses LVARs to request the presets being applied by the wasm backend.
Backend:
C++ WASM backend to overcome MSFS JS limitation to execute certain tasks (calculator codes).
The backend checks the request LVARs and applies the requested preset settings accordingly. The request LVAR is reset to 0 after applying the preset.
Lighting:
Aircraft:
LVARs:
Screenshots
Layout might still change.
Lighting Presets Page:
Aircraft Presets Page:
Video:
https://user-images.githubusercontent.com/16833201/158637942-5592cd6e-20fe-49a5-be83-7599b3213cfa.mp4
Discord username (if different from GitHub): Cdr_Maverick#6475
Testing instructions
General
Lighting
Aircraft Presets
Help page
How to download the PR for QA
Every new commit to this PR will cause a new A32NX artifact to be created, built, and uploaded.