Maintain tracker correction until it times out

This commit is contained in:
Marek S. Łukasiewicz 2025-03-10 10:03:15 +01:00
parent c7f7f85992
commit 2c72168568
3 changed files with 21 additions and 11 deletions

View file

@ -55,6 +55,11 @@ tracker = &"/user/vive_tracker_htcx/role/camera"
transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0, 0)
visible = false
[node name="RecentTracking" type="Timer" parent="AttitudeRoot/PilotEyes/PilotFloor/XROrigin3D"]
wait_time = 5.0
one_shot = true
ignore_time_scale = true
[node name="FallbackCamera" type="Camera3D" parent="AttitudeRoot/PilotEyes"]
transform = Transform3D(1, 0, 0, 0, 0.980955, 0.194234, 0, -0.194234, 0.980955, 0, 0, 0)
@ -65,5 +70,6 @@ transform = Transform3D(-0.5, -1.27582e-08, 7.43353e-08, 4.33325e-10, 0.4923, 0.
hostname = "192.168.1.2"
[connection signal="use_fallback" from="." to="AttitudeRoot/PilotEyes" method="_on_aircraft_use_fallback"]
[connection signal="timeout" from="AttitudeRoot/PilotEyes/PilotFloor/XROrigin3D/RecentTracking" to="." method="_on_recent_tracking_timeout"]
[editable path="Mi-2"]