diff --git a/Models/Instruments/PFD-WIP/PFD1.nas b/Models/Instruments/PFD-WIP/PFD1.nas
index df6a85d8..f78f271d 100644
--- a/Models/Instruments/PFD-WIP/PFD1.nas
+++ b/Models/Instruments/PFD-WIP/PFD1.nas
@@ -15,6 +15,7 @@ setprop("/it-autoflight/output/ap2", 0);
setprop("/it-autoflight/output/fd1", 0);
setprop("/it-autoflight/output/fd2", 0);
setprop("/it-autoflight/output/athr", 0);
+setprop("/instrumentation/pfd/horizon-pitch", 0);
var ASI = 0;
var ASItrgt = 0;
var alt = 0;
@@ -77,6 +78,11 @@ var canvas_PFD_base = {
me.AI_horizon_trans = me["AI_horizon"].createTransform();
me.AI_horizon_rot = me["AI_horizon"].createTransform();
+
+ me.AI_horizon_ground_trans = me["AI_horizon_ground"].createTransform();
+ me.AI_horizon_ground_rot = me["AI_horizon_ground"].createTransform();
+
+ me.AI_horizon_sky_rot = me["AI_horizon_sky"].createTransform();
me.page = canvas_group;
@@ -105,7 +111,7 @@ var canvas_PFD_1 = {
getKeys: func() {
return ["FMA_man","FMA_manmode","FMA_flxtemp","FMA_thrust","FMA_lvrclb","FMA_pitch","FMA_pitcharm","FMA_pitcharm2","FMA_roll","FMA_rollarm","FMA_combined","FMA_catmode","FMA_cattype","FMA_nodh","FMA_dh","FMA_dhn","FMA_ap","FMA_fd","FMA_athr",
"FMA_man_box","FMA_flx_box","FMA_thrust_box","FMA_pitch_box","FMA_pitcharm_box","FMA_roll_box","FMA_rollarm_box","FMA_combined_box","FMA_catmode_box","FMA_cattype_box","FMA_cat_box","FMA_dh_box","FMA_ap_box","FMA_fd_box","FMA_athr_box","FMA_Middle1",
- "FMA_Middle2","ASI_scale","ASI_target","ASI_mach","ASI_mach_decimal","ASI_ten_sec","AI_center","AI_bank","AI_slipskid","AI_horizon","FD_roll","FD_pitch","ALT_digits","ALT_tens","VS_pointer","QNH_setting","LOC_pointer","LOC_scale","GS_scale","GS_pointer","HDG_target"];
+ "FMA_Middle2","ASI_scale","ASI_target","ASI_mach","ASI_mach_decimal","ASI_ten_sec","AI_center","AI_bank","AI_slipskid","AI_horizon","AI_horizon_ground","AI_horizon_sky","FD_roll","FD_pitch","ALT_digits","ALT_tens","VS_pointer","QNH_setting","LOC_pointer","LOC_scale","GS_scale","GS_pointer","HDG_target"];
},
update: func() {
state1 = getprop("/systems/thrust/state1");
@@ -354,6 +360,9 @@ var canvas_PFD_1 = {
me.AI_horizon_trans.setTranslation(0, pitch * 11.825);
me.AI_horizon_rot.setRotation(-roll * D2R, me["AI_center"].getCenter());
+ me.AI_horizon_ground_trans.setTranslation(0, getprop("/instrumentation/pfd/horizon-ground") * 11.825);
+ me.AI_horizon_ground_rot.setRotation(-roll * D2R, me["AI_center"].getCenter());
+ me.AI_horizon_sky_rot.setRotation(-roll * D2R, me["AI_center"].getCenter());
me["AI_slipskid"].setTranslation(getprop("/instrumentation/slip-skid-ball/indicated-slip-skid") * -15, 0);
me["AI_bank"].setRotation(-roll * D2R);
diff --git a/Models/Instruments/PFD-WIP/res/pfd.svg b/Models/Instruments/PFD-WIP/res/pfd.svg
index 9507a707..96b284ca 100644
--- a/Models/Instruments/PFD-WIP/res/pfd.svg
+++ b/Models/Instruments/PFD-WIP/res/pfd.svg
@@ -42,9 +42,9 @@
inkscape:window-height="1030"
id="namedview371"
showgrid="true"
- inkscape:zoom="0.70710678"
- inkscape:cx="461.56075"
- inkscape:cy="538.82439"
+ inkscape:zoom="0.3535534"
+ inkscape:cx="1384.9211"
+ inkscape:cy="1063.0453"
inkscape:window-x="1592"
inkscape:window-y="-8"
inkscape:window-maximized="1"
@@ -79,6 +79,22 @@
x="203.79523"
y="229.74361"
inkscape:label="#rect9211" />
+
+
+
-
+
+
+
+
+
+
+
+
1
- /it-autoflight/internal/vs
+ /it-autoflight/input/vs
diff --git a/Systems/pfd.xml b/Systems/pfd.xml
index 293dfd04..e6a4c239 100644
--- a/Systems/pfd.xml
+++ b/Systems/pfd.xml
@@ -301,13 +301,13 @@
/position/gear-agl-ft
- 1 0
- 150 16
+ 1 0.00
+ 150 17.35
/orientation/pitch-deg
- 0 0
- 16 -16
+ 0.00 0.00
+ 17.35 -17.35
@@ -329,21 +329,21 @@
/position/gear-agl-ft
- 1 0
- 150 16
+ 1 0.00
+ 150 17.35
/orientation/pitch-deg
- -16 16
- 0 0
- 16 -16
+ -17.35 17.35
+ 0.00 0.00
+ 17.35 -17.35
/instrumentation/pfd/horizon-ground
- -16
- 16
+ -17.35
+ 17.35
diff --git a/revision.txt b/revision.txt
index f79c76d9..3fd5ef4c 100644
--- a/revision.txt
+++ b/revision.txt
@@ -1 +1 @@
-3045
\ No newline at end of file
+3046
\ No newline at end of file