Datasets:
Commit
•
f810d28
1
Parent(s):
57781c9
Upload folder using huggingface_hub
Browse files- 3DCarParkingExample.csproj +1 -1
- scenes/TestingScene.tscn +1 -0
- scenes/car/Car.gd +0 -2
3DCarParkingExample.csproj
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<Project Sdk="Godot.NET.Sdk/4.1.
|
2 |
<PropertyGroup>
|
3 |
<TargetFramework>net6.0</TargetFramework>
|
4 |
<EnableDynamicLoading>true</EnableDynamicLoading>
|
|
|
1 |
+
<Project Sdk="Godot.NET.Sdk/4.1.3">
|
2 |
<PropertyGroup>
|
3 |
<TargetFramework>net6.0</TargetFramework>
|
4 |
<EnableDynamicLoading>true</EnableDynamicLoading>
|
scenes/TestingScene.tscn
CHANGED
@@ -49,6 +49,7 @@ environment = SubResource("Environment_x2xl3")
|
|
49 |
[node name="Sync" type="Node" parent="."]
|
50 |
script = ExtResource("2_xg13p")
|
51 |
speed_up = 3
|
|
|
52 |
|
53 |
[node name="Camera3D" type="Camera3D" parent="."]
|
54 |
transform = Transform3D(0.999998, 0.0014048, -0.00103571, 0, 0.593419, 0.804894, 0.00174533, -0.804893, 0.593418, 0, 11.05, 9.648)
|
|
|
49 |
[node name="Sync" type="Node" parent="."]
|
50 |
script = ExtResource("2_xg13p")
|
51 |
speed_up = 3
|
52 |
+
onnx_model_path = "onnx/model.onnx"
|
53 |
|
54 |
[node name="Camera3D" type="Camera3D" parent="."]
|
55 |
transform = Transform3D(0.999998, 0.0014048, -0.00103571, 0, 0.593419, 0.804894, 0.00174533, -0.804893, 0.593418, 0, 11.05, 9.648)
|
scenes/car/Car.gd
CHANGED
@@ -68,7 +68,6 @@ func reset():
|
|
68 |
goal_marker.global_position = goal_parking_spot.origin + Vector3.UP * 3
|
69 |
|
70 |
_smallest_distance_to_goal = _get_current_distance_to_goal()
|
71 |
-
pass
|
72 |
|
73 |
func _physics_process(delta):
|
74 |
_reset_if_needed()
|
@@ -96,7 +95,6 @@ func _physics_process(delta):
|
|
96 |
_reset_on_turned_over()
|
97 |
_reset_on_went_away_from_goal()
|
98 |
_end_episode_on_goal_reached()
|
99 |
-
pass
|
100 |
|
101 |
func _update_rear_lights():
|
102 |
var velocity := get_normalized_velocity_in_player_reference().z
|
|
|
68 |
goal_marker.global_position = goal_parking_spot.origin + Vector3.UP * 3
|
69 |
|
70 |
_smallest_distance_to_goal = _get_current_distance_to_goal()
|
|
|
71 |
|
72 |
func _physics_process(delta):
|
73 |
_reset_if_needed()
|
|
|
95 |
_reset_on_turned_over()
|
96 |
_reset_on_went_away_from_goal()
|
97 |
_end_episode_on_goal_reached()
|
|
|
98 |
|
99 |
func _update_rear_lights():
|
100 |
var velocity := get_normalized_velocity_in_player_reference().z
|