aboutsummaryrefslogtreecommitdiff
path: root/profile.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'profile.yaml')
-rw-r--r--profile.yaml45
1 files changed, 31 insertions, 14 deletions
diff --git a/profile.yaml b/profile.yaml
index 8b97e75..1b46a99 100644
--- a/profile.yaml
+++ b/profile.yaml
@@ -109,8 +109,20 @@
source:
- xplane_dataref: sim/cockpit/gyros/the_ind_ahars_pilot_deg # pitch
- xplane_dataref: sim/cockpit/gyros/phi_ind_ahars_pilot_deg # roll
- - xplane_dataref: sim/cockpit2/radios/indicators/gps_hdef_dots_pilot
+ - xplane_dataref: sim/cockpit2/radios/actuators/HSI_source_select_pilot
+ - xplane_dataref: sim/cockpit2/radios/indicators/hsi_vdef_dots_pilot
+ - xplane_dataref: sim/cockpit2/radios/indicators/hsi_display_vertical_pilot
+ src:
+ 2:
+ def: 3
+ received: 4
+ 0:
+ def: 3
+ received: 4
+ 1:
+ def: 3
+ received: 4
- display:
type: alt
freq: 24
@@ -138,39 +150,44 @@
- xplane_dataref: sim/cockpit2/gauges/indicators/heading_AHARS_deg_mag_pilot
- xplane_dataref: sim/cockpit2/autopilot/heading_dial_deg_mag_pilot
- xplane_dataref: sim/cockpit2/radios/actuators/HSI_source_select_pilot
+ - xplane_dataref: sim/cockpit2/radios/indicators/hsi_hdef_dots_pilot
+ - xplane_dataref: sim/cockpit2/radios/indicators/hsi_display_horizontal_pilot
- xplane_dataref: sim/cockpit/radios/gps_course_degtm
- - xplane_dataref: sim/cockpit2/radios/indicators/gps_hdef_dots_pilot
- xplane_dataref: sim/cockpit2/radios/actuators/nav1_obs_deg_mag_pilot
- - xplane_dataref: sim/cockpit2/radios/indicators/nav1_hdef_dots_pilot
- xplane_dataref: sim/cockpit2/radios/actuators/nav2_obs_deg_mag_pilot
- - xplane_dataref: sim/cockpit2/radios/indicators/nav2_hdef_dots_pilot
hdg: 0
src: 1
navs:
2:
- crs: 3
- def: 4
+ crs: 5
+ def: 3
+ received: 4
color: magenta
0:
- crs: 5
- def: 6
- color: green
+ crs: 6
+ def: 3
+ received: 4
+ color: '#2dfe54'
1:
crs: 7
- def: 8
- color: green
+ def: 3
+ received: 4
+ color: '#2dfe54'
- display:
type: text
freq: 6
source:
- xplane_dataref: sim/cockpit2/gauges/indicators/heading_AHARS_deg_mag_pilot
- xplane_dataref: sim/cockpit2/autopilot/heading_dial_deg_mag_pilot
+ - xplane_dataref: sim/cockpit2/radios/actuators/HSI_source_select_pilot
- xplane_dataref: sim/cockpit/radios/gps_course_degtm
+ - xplane_dataref: sim/cockpit2/radios/actuators/nav1_obs_deg_mag_pilot
+ - xplane_dataref: sim/cockpit2/radios/actuators/nav2_obs_deg_mag_pilot
formatter: '${$d[0] != null ? $d[0].toFixed(0).padStart(3, "0") : "xxx"}'
formatter2: 'HDG ${$d[1] != null ? $d[1].toFixed(0).padStart(3, "0") : "xxx"}'
- formatter3: 'CRS ${$d[2] != null ? $d[2].toFixed(0).padStart(3, "0") : "xxx"}'
- color_fg2: '#1a62fd'
- color_fg3: 'magenta'
+ formatter3: 'CRS ${($d[2] == 2 ? $d[3] : ($d[2] == 0 ? $d[4] : ($d[2] == 1 ? $d[5] : 0))).toFixed(0).padStart(3, "0")}'
+ color_fg2: 'cyan'
+ color_fg3: '${($d[2] == 2 ? "magenta" : ($d[2] == 0 ? "#2dfe54" : ($d[2] == 1 ? "#2dfe54" : "magenta")))}'
size2: 16
size3: 16
- text: Brake