Adding lidar sensor handling

This commit is contained in:
2026-07-08 20:58:21 -06:00
parent 8fc5088c01
commit 04f3e2ba07
19 changed files with 145 additions and 31 deletions
+5 -5
View File
@@ -8,21 +8,21 @@ script = ExtResource("1_hmdxp")
metadata/_custom_type_script = "uid://b3rfje1auw6to"
[node name="Panel" type="Panel" parent="." unique_id=1393400967]
offset_right = 460.0
offset_right = 300.0
offset_bottom = 120.0
[node name="Label" type="Label" parent="." unique_id=1070194714]
offset_right = 460.0
offset_right = 300.0
offset_bottom = 120.0
theme_override_font_sizes/font_size = 80
text = "Alt: 99999 ft"
theme_override_font_sizes/font_size = 64
text = "99999 ft"
horizontal_alignment = 1
vertical_alignment = 1
[node name="MovableControl" type="Control" parent="." unique_id=1186292353 node_paths=PackedStringArray("move_target")]
layout_mode = 3
anchors_preset = 0
offset_right = 460.0
offset_right = 300.0
offset_bottom = 120.0
mouse_filter = 1
script = ExtResource("2_34sps")
@@ -14,4 +14,4 @@ func _ready() -> void:
func _update_data():
if label_node == null:
return
label_node.text = 'Alt: ' + str(int(round(host_vehicle.altitude_m * Constants.M2FT))) + ' ft'
label_node.text = str(int(round(host_vehicle.altitude_m * Constants.M2FT))) + ' ft'