WIP: PFD instrument

This commit is contained in:
Marek S. Łukasiewicz 2025-12-15 23:01:10 +01:00
parent 4be36eb39e
commit 740a72bcb6
23 changed files with 432 additions and 32 deletions

View file

@ -49,6 +49,7 @@ func _process(delta: float) -> void:
# Update the instruments
instruments.call("set_controls", connector.get_controls())
instruments.call("set_trim", connector.get_trim())
instruments.call("update_pfd", connector.get_aircraft(), connector.get_velocity())
# Spin the rotor only when receiving flight data
if connector.get_model_connected():

View file

@ -66,7 +66,6 @@ fov = 60.0
[node name="Instruments" parent="AttitudeRoot" instance=ExtResource("3_5w717")]
transform = Transform3D(-0.5, -1.27582e-08, 7.43353e-08, 4.33325e-10, 0.4923, 0.0874084, -7.5421e-08, 0.0874084, -0.4923, 0.00724897, -1.1581, 2.40391)
lidia_hostname = "127.0.0.1"
[node name="MarshConnector" type="MarshConnector" parent="."]