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(comms): Comms panels in Rust #9755

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
f5cc65e
Changelog
juliansebline Jan 14, 2025
b88993f
simvars
juliansebline Jan 14, 2025
8acd848
Airbus.xml
juliansebline Jan 14, 2025
2a2d1e4
Interior A320 includes
juliansebline Jan 14, 2025
ac82dc9
AirlinerCommon.xml
juliansebline Jan 14, 2025
072b892
Climb.flt
juliansebline Jan 14, 2025
86b2987
approach.flt
juliansebline Jan 14, 2025
6a9df32
apron.flt
juliansebline Jan 14, 2025
54620df
cruise.flt
juliansebline Jan 14, 2025
46836f3
final.flt
juliansebline Jan 14, 2025
840643c
hangar.flt
juliansebline Jan 14, 2025
233f59a
A320 Interior.xml
juliansebline Jan 14, 2025
af4f9bb
runway.flt
juliansebline Jan 14, 2025
af661ae
sound.xml
juliansebline Jan 14, 2025
0a680d3
taxi.flt
juliansebline Jan 14, 2025
94968bf
FMCMainDisplay.js
juliansebline Jan 14, 2025
763c7de
A32NX_Interior_ACP.xml
juliansebline Jan 14, 2025
69d71ec
A32NX_Interior_RMP.xml
juliansebline Jan 14, 2025
e76cf37
NavaidTuner.ts
juliansebline Jan 14, 2025
d9c2ebe
PseudoFWC.ts
juliansebline Jan 14, 2025
9c42b01
Radio panels components files
juliansebline Jan 14, 2025
7b536ba
lib.rs systems rust
juliansebline Jan 14, 2025
4893e8e
communications.rs
juliansebline Jan 14, 2025
19db289
audio_control_panel.rs
juliansebline Jan 14, 2025
9f6529c
audio_management_unit.rs
juliansebline Jan 14, 2025
5edbce0
mod.rs communications
juliansebline Jan 14, 2025
2581880
radio_management_panel.rs
juliansebline Jan 14, 2025
bdcaee7
receivers.rs
juliansebline Jan 14, 2025
caaa06e
update_context and mod.rs of update context
juliansebline Jan 14, 2025
caa2c83
arinc429.ts
juliansebline Jan 14, 2025
9db8675
valve.rs
juliansebline Jan 14, 2025
cc44b74
mod.rs of valve.rs
juliansebline Jan 14, 2025
fbc4b47
Pilot seat option enabled on A320
juliansebline Jan 14, 2025
60d011f
Removal of need_update
juliansebline Jan 14, 2025
aaaaac5
Comments
juliansebline Jan 14, 2025
a96a180
lint fix
juliansebline Jan 14, 2025
6caf260
Fix unread variable
juliansebline Jan 14, 2025
bb8e843
Fix lint Rust
juliansebline Jan 14, 2025
a229d27
Merge branch 'master' into comms-panels-rust
juliansebline Jan 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
1. [EFB] Set EFB Auto Brightness to default to On - @MrJigs7 (MrJigs)
1. [FMS] Allow airport to be loaded as fixes in instrument procedures - @tracernz (Mike)
1. [A380X/ND] Fix Terr text wrong position on terrain radar - @MrJigs7 (MrJigs.)
1. [A32NX/COMMS] Enabled all components of communications panels with Rust - @Julian [Z+2 fr en esp]#8476 (Julian Sebline)

## 0.12.0

Expand Down
191 changes: 161 additions & 30 deletions fbw-a32nx/docs/a320-simvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,65 +389,68 @@
- Bool
- Indicates if the APU fire button is RELEASED

- A32NX_RMP_L_TOGGLE_SWITCH
- A32NX_RMP_{L,R}_TOGGLE_SWITCH
- Boolean
- Whether the left radio management panel toggle switch is on or off.
- Whether the left/right radio management panel toggle switch is on or off.

- A32NX_RMP_R_TOGGLE_SWITCH
- Boolean
- Whether the right radio management panel toggle switch is on or off.

- A32NX_RMP_L_SELECTED_MODE
- Number
- The current mode of the left radio management panel.

- A32NX_RMP_R_SELECTED_MODE
- Number
- The current mode of the right radio management panel.
- A32NX_RMP_{L,R}_SELECTED_MODE
- Enum
- The current mode of the left/right radio management panel.
Meaning | Value
--- | ---
VHF1 | 1
VHF2 | 2
VHF3 | 3
HF1 | 4
HF2 | 5
VOR | 6
ILS | 7
GLS | 8
ADF | 9

- A32NX_RMP_{L,R}_NAV_BUTTON_SELECTED
- A32NX_RMP_{L,R}_NAV_BACKUP_MODE
- Bool
- Whether the NAV push button on the corresponding RMP is pushed or not.
- Whether the left/right RMP is in nav backup mode or not

- A32NX_RMP_L_VHF2_STANDBY
- Hz
- The VHF 2 standby frequency for the left RMP.
- A32NX_RMP_NAV_BACKUP_MODE
- Bool
- Whether the system in nav backup mode or not

- A32NX_RMP_L_VHF3_STANDBY
- A32NX_RMP_{L,R}_VHF{1,2,3}_STANDBY
- Hz
- The VHF 3 standby frequency for the left RMP.
- The VHF 1/2/3 standby frequency for the left/right RMP.

- A32NX_RMP_R_VHF1_STANDBY
- A32NX_RMP_HF{1,2}_ACTIVE_FREQUENCY
- Hz
- The VHF 1 standby frequency for the right RMP.
- The HF 1/2 active frequency that is set.

- A32NX_RMP_R_VHF3_STANDBY
- A32NX_RMP_{L,R}_HF{1,2}_STANDBY_FREQUENCY
- Hz
- The VHF 3 standby frequency for the right RMP.
- The HF 1/2 standby frequency for the left/right RMP.

- A32NX_RMP_{L,R}_SAVED_ACTIVE_FREQUENCY_VOR
- Hz
- The VOR active frequency that is saved for display for the left/right RMP.
- The VOR active frequency that is saved for the left/right RMP.

- A32NX_RMP_{L,R}_SAVED_ACTIVE_FREQUENCY_ILS
- Hz
- The ILS active frequency that is saved for display for the left/right RMP.
- The ILS active frequency that is saved for the left/right RMP.

- A32NX_RMP_{L,R}_SAVED_ACTIVE_FREQUENCY_ADF
- Hz
- The ADF active frequency that is saved for display for the left/right RMP.
- The ADF active frequency that is saved for the left/right RMP.

- A32NX_RMP_{L,R}_SAVED_STANDBY_FREQUENCY_VOR
- Hz
- The VOR standby frequency that is saved for display for the left/right RMP.
- The VOR standby frequency that is saved for the left/right RMP.

- A32NX_RMP_{L,R}_SAVED_STANDBY_FREQUENCY_ILS
- Hz
- The ILS standby frequency that is saved for display for the left/right RMP.
- The ILS standby frequency that is saved for the left/right RMP.

- A32NX_RMP_{L,R}_SAVED_STANDBY_FREQUENCY_ADF
- Hz
- The ADF standby frequency that is saved for display for the left/right RMP.
- The ADF standby frequency that is saved for the left/right RMP.

- A32NX_RMP_{L,R}_SAVED_COURSE_VOR
- Number
Expand All @@ -457,6 +460,134 @@
- Number
- The ILS course tuned via the left/right RMP

- A32NX_RMP_SEL_LIGHT_ON
- Bool
- If the SEL light is on

- A32NX_ACP{1,2,3}_VHF{1,2}_TRANSMIT
- Bool
- Indicates which VHF is selected for transmission on which ACP
Value | Meaning
--- | ---
0 | Not selected
1 | Selected

- A32NX_ACP{1,2,3}_VHF{1,2,3}_VOLUME
- Number
- Volume of VHF 1/2/3 on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_HF{1,2}_VOLUME
- Number
- Volume of HF 1/2 on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_MECH_VOLUME
- Number
- Volume of MECH on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_ATT_VOLUME
- Number
- Volume of CABIN on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_PA_VOLUME
- Number
- Volume of PA on the left/right/overhead ACP

- A32NX_HF{1,2}_VOLUME
- Number
- The HF1/2 volume equal to one of the ACPs depending on the controlling mode

- A32NX_ACP_MECH_VOLUME
- Number
- The MECH volume equal to one of the ACPs depending on the controlling mode

- A32NX_ACP_ATT_VOLUME
- Number
- The CABIN volume equal to one of the ACPs depending on the controlling mode

- A32NX_ACP_PA_VOLUME
- Number
- The PA volume equal to one of the ACPs depending on the controlling mode

- A32NX_NAV_VOLUME:{1,2,3}
- Number
- The Morse volume for the corresponding nav transceiver equal to one of the ACPs depending on the controlling mode

- A32NX_ADF_VOLUME:{1,2}
- Number
- The Morse volume for the corresponding adf transceiver equal to one of the ACPs depending on the controlling mode

- A32NX_ACP{1,2,3}_VHF{1,2,3}_KNOB_VOLUME_DOWN
- Bool
- If the VHF 1/2/3 volume knob is activated on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_HF{1,2}_KNOB_VOLUME_DOWN
- Bool
- If the HF 1/2 volume knob is activated on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_MECH_KNOB_VOLUME_DOWN
- Bool
- If the MECH volume knob is activated on the left/right/overhead

- A32NX_ACP{1,2,3}_ATT_KNOB_VOLUME_DOWN
- Bool
- If the CABIN volume knob is activated on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_PA_KNOB_VOLUME_DOWN
- Bool
- If the PA volume knob is activated on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_VOR{1,2}_KNOB_VOLUME_DOWN
- Bool
- If the VOR 1/2 volume knob is activated on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_ILS_KNOB_VOLUME_DOWN
- Bool
- If the ILS volume knob is activated on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_MLS_KNOB_VOLUME_DOWN
- Bool
- If the MLS volume knob is activated on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_MKR_KNOB_VOLUME_DOWN
- Bool
- If the ILS Markers volume knob is activated on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_ADF{1,2}_KNOB_VOLUME_DOWN
- Bool
- If the ADF 1/2 volume knob is activated on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_VOR{1,2}_VOLUME
- Number
- Volume of VOR 1/2 on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_ILS_VOLUME
- Number
- Volume of ILS on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_MLS_VOLUME
- Number
- Volume of MLS on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_MKR_VOLUME
- Number
- Volume of the ILS Markers on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_ADF{1,2}_VOLUME
- Number
- Volume of ADF 1/2 on the left/right/overhead ACP

- A32NX_ACP{1,2,3}_SWITCH_INT
- Number
- Set to 0 whenever on RAD position. 100 whenever neutral position. 200 whenever in INT position

- A32NX_SIDE_CONTROLLING
- Enum
- Indicates which side controls the airplane
Value | Meaning
--- | ---
0 | Captain
1 | FO

- A32NX_TO_CONFIG_FLAPS
- Enum
- The pilot-entered FLAPS value in the PERF TAKE OFF page. 0 is a valid entry, -1 if not entered
Expand Down
Loading
Loading