Compare commits
2 Commits
f27abbd0db
...
676fe1d8f5
Author | SHA1 | Date | |
---|---|---|---|
676fe1d8f5 | |||
545a8a7a60 |
BIN
app/src/main/assets/DynamicObject/Bicycle.glb
Normal file
BIN
app/src/main/assets/DynamicObject/Bicycle.glb
Normal file
Binary file not shown.
36
app/src/main/assets/DynamicObject/Bicycle.glb.import
Normal file
36
app/src/main/assets/DynamicObject/Bicycle.glb.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bpe6ox17twkk1"
|
||||||
|
path="res://godot/imported/Bicycle.glb-b405ea2dd66e2bd9820703116e500a35.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/Bicycle.glb"
|
||||||
|
dest_files=["res://godot/imported/Bicycle.glb-b405ea2dd66e2bd9820703116e500a35.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
18
app/src/main/assets/DynamicObject/Bicycle.tscn
Normal file
18
app/src/main/assets/DynamicObject/Bicycle.tscn
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://dkmranywt6ne7"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bpe6ox17twkk1" path="res://DynamicObject/Bicycle.glb" id="1_nruxc"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qx0u6"]
|
||||||
|
transparency = 1
|
||||||
|
albedo_color = Color(0.423529, 0.427451, 0.905882, 0.839216)
|
||||||
|
|
||||||
|
[node name="Bicycle" instance=ExtResource("1_nruxc")]
|
||||||
|
|
||||||
|
[node name="FrontTire" parent="." index="0"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="RearTire" parent="." index="1"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="Body" parent="." index="2"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
BIN
app/src/main/assets/DynamicObject/Bus.glb
Normal file
BIN
app/src/main/assets/DynamicObject/Bus.glb
Normal file
Binary file not shown.
36
app/src/main/assets/DynamicObject/Bus.glb.import
Normal file
36
app/src/main/assets/DynamicObject/Bus.glb.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://ue602kue1n4f"
|
||||||
|
path="res://godot/imported/Bus.glb-d37361c2976f37c949fdb6a01e841070.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/Bus.glb"
|
||||||
|
dest_files=["res://godot/imported/Bus.glb-d37361c2976f37c949fdb6a01e841070.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
18
app/src/main/assets/DynamicObject/Bus.tscn
Normal file
18
app/src/main/assets/DynamicObject/Bus.tscn
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://bqvh70kin1uwr"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://ue602kue1n4f" path="res://DynamicObject/Bus.glb" id="1_eoacy"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qx0u6"]
|
||||||
|
transparency = 1
|
||||||
|
albedo_color = Color(0.423529, 0.427451, 0.905882, 0.839216)
|
||||||
|
|
||||||
|
[node name="Bus2" instance=ExtResource("1_eoacy")]
|
||||||
|
|
||||||
|
[node name="Body" parent="." index="0"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="FrontTire" parent="." index="1"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="RearTire" parent="." index="2"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
BIN
app/src/main/assets/DynamicObject/Car.glb
Normal file
BIN
app/src/main/assets/DynamicObject/Car.glb
Normal file
Binary file not shown.
36
app/src/main/assets/DynamicObject/Car.glb.import
Normal file
36
app/src/main/assets/DynamicObject/Car.glb.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bak08gw4syg4j"
|
||||||
|
path="res://godot/imported/Car.glb-0fceafc678c7ba22d57978350168b6e1.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/Car.glb"
|
||||||
|
dest_files=["res://godot/imported/Car.glb-0fceafc678c7ba22d57978350168b6e1.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
18
app/src/main/assets/DynamicObject/Car.tscn
Normal file
18
app/src/main/assets/DynamicObject/Car.tscn
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://bfni5yaaj4grk"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bak08gw4syg4j" path="res://DynamicObject/Car.glb" id="1_erah3"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qx0u6"]
|
||||||
|
transparency = 1
|
||||||
|
albedo_color = Color(0.423529, 0.427451, 0.905882, 0.839216)
|
||||||
|
|
||||||
|
[node name="Car" instance=ExtResource("1_erah3")]
|
||||||
|
|
||||||
|
[node name="Body" parent="." index="0"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="FrontTire" parent="." index="1"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="RearTire" parent="." index="2"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
BIN
app/src/main/assets/DynamicObject/Motorcycle.glb
Normal file
BIN
app/src/main/assets/DynamicObject/Motorcycle.glb
Normal file
Binary file not shown.
36
app/src/main/assets/DynamicObject/Motorcycle.glb.import
Normal file
36
app/src/main/assets/DynamicObject/Motorcycle.glb.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bp34okb8uvvx1"
|
||||||
|
path="res://godot/imported/Motorcycle.glb-01f02c463d494d3da8d18d1a1ea5a31c.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/Motorcycle.glb"
|
||||||
|
dest_files=["res://godot/imported/Motorcycle.glb-01f02c463d494d3da8d18d1a1ea5a31c.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
18
app/src/main/assets/DynamicObject/Motorcycle.tscn
Normal file
18
app/src/main/assets/DynamicObject/Motorcycle.tscn
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://c7nenvfg5sheu"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bp34okb8uvvx1" path="res://DynamicObject/Motorcycle.glb" id="1_qcx5g"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qx0u6"]
|
||||||
|
transparency = 1
|
||||||
|
albedo_color = Color(0.423529, 0.427451, 0.905882, 0.839216)
|
||||||
|
|
||||||
|
[node name="Motorbike" instance=ExtResource("1_qcx5g")]
|
||||||
|
|
||||||
|
[node name="RearTire" parent="." index="0"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="FrontTire" parent="." index="1"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="Body" parent="." index="2"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
BIN
app/src/main/assets/DynamicObject/Pedestrian.glb
Normal file
BIN
app/src/main/assets/DynamicObject/Pedestrian.glb
Normal file
Binary file not shown.
36
app/src/main/assets/DynamicObject/Pedestrian.glb.import
Normal file
36
app/src/main/assets/DynamicObject/Pedestrian.glb.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://b1j3q2sau27j5"
|
||||||
|
path="res://godot/imported/Pedestrian.glb-e0efa636ece717e3952061cde42c0286.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/Pedestrian.glb"
|
||||||
|
dest_files=["res://godot/imported/Pedestrian.glb-e0efa636ece717e3952061cde42c0286.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
36
app/src/main/assets/DynamicObject/Pedestrian.import
Normal file
36
app/src/main/assets/DynamicObject/Pedestrian.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://daujci27ryxr4"
|
||||||
|
path="res://.godot/imported/renwu.glb-c240a9b0be43eef69a617445ee93effe.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/renwu.glb"
|
||||||
|
dest_files=["res://.godot/imported/renwu.glb-c240a9b0be43eef69a617445ee93effe.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
11
app/src/main/assets/DynamicObject/Pedestrian.tscn
Normal file
11
app/src/main/assets/DynamicObject/Pedestrian.tscn
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://cxv7vxjow4gto"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b1j3q2sau27j5" path="res://DynamicObject/Pedestrian.glb" id="1_1vqjq"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gjprm"]
|
||||||
|
albedo_color = Color(0.998395, 0.633971, 1, 1)
|
||||||
|
|
||||||
|
[node name="Pedestrian" instance=ExtResource("1_1vqjq")]
|
||||||
|
|
||||||
|
[node name="Body" parent="." index="0"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_gjprm")
|
36
app/src/main/assets/DynamicObject/Pedestrian1.glb.import
Normal file
36
app/src/main/assets/DynamicObject/Pedestrian1.glb.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bpqoqyd3a8hh6"
|
||||||
|
path="res://.godot/imported/Pedestrian.glb-e0efa636ece717e3952061cde42c0286.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/Pedestrian.glb"
|
||||||
|
dest_files=["res://.godot/imported/Pedestrian.glb-e0efa636ece717e3952061cde42c0286.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
BIN
app/src/main/assets/DynamicObject/Traffic_Cones_3.glb
Normal file
BIN
app/src/main/assets/DynamicObject/Traffic_Cones_3.glb
Normal file
Binary file not shown.
36
app/src/main/assets/DynamicObject/Traffic_Cones_3.glb.import
Normal file
36
app/src/main/assets/DynamicObject/Traffic_Cones_3.glb.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bpplfamljj4hm"
|
||||||
|
path="res://godot/imported/Traffic_Cones_3.glb-f90204916390dd517a5c2df8a2afc2cf.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/Traffic_Cones_3.glb"
|
||||||
|
dest_files=["res://godot/imported/Traffic_Cones_3.glb-f90204916390dd517a5c2df8a2afc2cf.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
BIN
app/src/main/assets/DynamicObject/Trailer.glb
Normal file
BIN
app/src/main/assets/DynamicObject/Trailer.glb
Normal file
Binary file not shown.
36
app/src/main/assets/DynamicObject/Trailer.glb.import
Normal file
36
app/src/main/assets/DynamicObject/Trailer.glb.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://chuu8egbehnbx"
|
||||||
|
path="res://godot/imported/Trailer.glb-022052874230104d145b62ea90853a31.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/Trailer.glb"
|
||||||
|
dest_files=["res://godot/imported/Trailer.glb-022052874230104d145b62ea90853a31.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
21
app/src/main/assets/DynamicObject/Trailer.tscn
Normal file
21
app/src/main/assets/DynamicObject/Trailer.tscn
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://duyy5xs14gkx5"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://chuu8egbehnbx" path="res://DynamicObject/Trailer.glb" id="1_8fvw8"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qx0u6"]
|
||||||
|
transparency = 1
|
||||||
|
albedo_color = Color(0.423529, 0.427451, 0.905882, 0.839216)
|
||||||
|
|
||||||
|
[node name="Trailer" instance=ExtResource("1_8fvw8")]
|
||||||
|
|
||||||
|
[node name="Body" parent="." index="0"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="FrontTire" parent="." index="1"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="RearTire" parent="." index="2"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="RearTire2" parent="." index="3"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
BIN
app/src/main/assets/DynamicObject/Truck.glb
Normal file
BIN
app/src/main/assets/DynamicObject/Truck.glb
Normal file
Binary file not shown.
36
app/src/main/assets/DynamicObject/Truck.glb.import
Normal file
36
app/src/main/assets/DynamicObject/Truck.glb.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://blg80b758nj32"
|
||||||
|
path="res://godot/imported/Truck.glb-06376f4df02ecfcea237012d65267b6b.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/Truck.glb"
|
||||||
|
dest_files=["res://godot/imported/Truck.glb-06376f4df02ecfcea237012d65267b6b.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
18
app/src/main/assets/DynamicObject/Truck.tscn
Normal file
18
app/src/main/assets/DynamicObject/Truck.tscn
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://juwl7dydfu4p"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://blg80b758nj32" path="res://DynamicObject/Truck.glb" id="1_35b8k"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qx0u6"]
|
||||||
|
transparency = 1
|
||||||
|
albedo_color = Color(0.423529, 0.427451, 0.905882, 0.839216)
|
||||||
|
|
||||||
|
[node name="Truck" instance=ExtResource("1_35b8k")]
|
||||||
|
|
||||||
|
[node name="Body" parent="." index="0"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="FrontTire" parent="." index="1"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
||||||
|
|
||||||
|
[node name="RearTire" parent="." index="2"]
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_qx0u6")
|
BIN
app/src/main/assets/DynamicObject/renwu.glb
Normal file
BIN
app/src/main/assets/DynamicObject/renwu.glb
Normal file
Binary file not shown.
36
app/src/main/assets/DynamicObject/renwu.glb.import
Normal file
36
app/src/main/assets/DynamicObject/renwu.glb.import
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://cyuuqw532pguw"
|
||||||
|
path="res://godot/imported/renwu.glb-c240a9b0be43eef69a617445ee93effe.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://DynamicObject/renwu.glb"
|
||||||
|
dest_files=["res://godot/imported/renwu.glb-c240a9b0be43eef69a617445ee93effe.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
1283
app/src/main/assets/DynamicObject/renwu.tscn
Normal file
1283
app/src/main/assets/DynamicObject/renwu.tscn
Normal file
File diff suppressed because one or more lines are too long
8
app/src/main/assets/DynamicObject/traffic_cones_3.tscn
Normal file
8
app/src/main/assets/DynamicObject/traffic_cones_3.tscn
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[gd_scene load_steps=2 format=3 uid="uid://ssoe7qxi31qw"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bpplfamljj4hm" path="res://DynamicObject/Traffic_Cones_3.glb" id="1_u2p36"]
|
||||||
|
|
||||||
|
[node name="Traffic Cones_3" instance=ExtResource("1_u2p36")]
|
||||||
|
|
||||||
|
[node name="Base" parent="SloydObject" index="0"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.55865, 0, 0)
|
@ -6,6 +6,8 @@ extends MarginContainer
|
|||||||
@onready var power_label: Label = %PowerLabel
|
@onready var power_label: Label = %PowerLabel
|
||||||
@onready var control_mode_texture_rect: TextureRect = %control_modeTextureRect
|
@onready var control_mode_texture_rect: TextureRect = %control_modeTextureRect
|
||||||
@onready var map_texture_rect: TextureRect = %mapTextureRect
|
@onready var map_texture_rect: TextureRect = %mapTextureRect
|
||||||
|
@onready var prompt_text: MarginContainer = %PromptText
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
# Called when the node enters the scene tree for the first time.
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
side_display_texture_rect.texture = Global.EgoVehicle3D.SideDisplayGetTexture()
|
side_display_texture_rect.texture = Global.EgoVehicle3D.SideDisplayGetTexture()
|
||||||
|
@ -327,6 +327,7 @@ texture = ExtResource("8_1mxjd")
|
|||||||
script = ExtResource("1_gebae")
|
script = ExtResource("1_gebae")
|
||||||
|
|
||||||
[node name="PromptText" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation" instance=ExtResource("10_6oihu")]
|
[node name="PromptText" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation" instance=ExtResource("10_6oihu")]
|
||||||
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="VehicleInformation" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay"]
|
[node name="VehicleInformation" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay"]
|
||||||
|
@ -225,6 +225,7 @@ texture = ExtResource("9_m3c80")
|
|||||||
script = ExtResource("5_wa5ip")
|
script = ExtResource("5_wa5ip")
|
||||||
|
|
||||||
[node name="PromptText" parent="MarginContainer/Main3DVehicleInformation" instance=ExtResource("10_i38sf")]
|
[node name="PromptText" parent="MarginContainer/Main3DVehicleInformation" instance=ExtResource("10_i38sf")]
|
||||||
|
unique_name_in_owner = true
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[connection signal="on_click" from="MarginContainer/Main3DVehicleTexture" to="." method="_on_main_3d_vehicle_texture_on_click"]
|
[connection signal="on_click" from="MarginContainer/Main3DVehicleTexture" to="." method="_on_main_3d_vehicle_texture_on_click"]
|
||||||
|
7
app/src/main/assets/ParkingSpace.tres
Normal file
7
app/src/main/assets/ParkingSpace.tres
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[gd_resource type="StandardMaterial3D" format=3 uid="uid://ct10mjvwd0844"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
render_priority = 5
|
||||||
|
transparency = 1
|
||||||
|
shading_mode = 0
|
||||||
|
albedo_color = Color(0.996078, 0.792157, 0.803922, 1)
|
@ -13,8 +13,20 @@ var isVolumeSettings = false:
|
|||||||
isVolumeSettings = value
|
isVolumeSettings = value
|
||||||
await get_tree().create_timer(0.5).timeout
|
await get_tree().create_timer(0.5).timeout
|
||||||
isVolumeSettings = false
|
isVolumeSettings = false
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
|
func PromptPopUpWindow(text):
|
||||||
|
%DataPanel.prompt_text.modulate = Color("ffffff")
|
||||||
|
%Main3DVehicle.prompt_text.modulate = Color("ffffff")
|
||||||
|
|
||||||
|
%DataPanel.prompt_text.text = text
|
||||||
|
%Main3DVehicle.prompt_text.text = text
|
||||||
|
|
||||||
|
var tween = get_tree().create_tween()
|
||||||
|
tween.tween_property(%DataPanel, "modulate", Color("ffffff00"), 1)
|
||||||
|
tween.tween_property(%Main3DVehicle, "modulate", Color("ffffff00"), 1)
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
|
Global.mainScene = self
|
||||||
pretend_main_3d_vehicle_information = find_child("PretendMain3DVehicleInformation")
|
pretend_main_3d_vehicle_information = find_child("PretendMain3DVehicleInformation")
|
||||||
main_3d_vehicle_background = find_child("Main3DVehicleBackground")
|
main_3d_vehicle_background = find_child("Main3DVehicleBackground")
|
||||||
main_3d_vehicle_information = find_child("Main3DVehicleInformation")
|
main_3d_vehicle_information = find_child("Main3DVehicleInformation")
|
||||||
|
@ -24,6 +24,7 @@ var loading_state = false
|
|||||||
var ndk_statu = float(0)
|
var ndk_statu = float(0)
|
||||||
var EgoVehicle3D = null
|
var EgoVehicle3D = null
|
||||||
|
|
||||||
|
var mainScene = null
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
Websocket.connected_to_server.connect(connected_to_server)
|
Websocket.connected_to_server.connect(connected_to_server)
|
||||||
#Websocket.message_received.connect(message_received)
|
#Websocket.message_received.connect(message_received)
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[gd_scene load_steps=19 format=3 uid="uid://cxqxr0p1wkkdy"]
|
[gd_scene load_steps=21 format=3 uid="uid://cxqxr0p1wkkdy"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://blakv4vhyfyro" path="res://pad_hmi_ui/home/home page_bg.png" id="1_brgxr"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://bo8w4npgct57n" path="res://res3D/ego_vehicle.tscn" id="13_tjeco"]
|
[ext_resource type="PackedScene" uid="uid://bo8w4npgct57n" path="res://res3D/ego_vehicle.tscn" id="13_tjeco"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cj40hol02w7c5" path="res://pad_hmi_ui/home/power_btn.png" id="13_yxy1g"]
|
[ext_resource type="Texture2D" uid="uid://cj40hol02w7c5" path="res://pad_hmi_ui/home/power_btn.png" id="13_yxy1g"]
|
||||||
[ext_resource type="Environment" uid="uid://c5ksuke04sr07" path="res://res3D/mainEnvironment.tres" id="14_ndify"]
|
[ext_resource type="Environment" uid="uid://c5ksuke04sr07" path="res://res3D/mainEnvironment.tres" id="14_ndify"]
|
||||||
|
[ext_resource type="Script" path="res://scripts/road_surface_mesh.gd" id="15_83dvh"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dx5owafvbqdec" path="res://Modules/data_panel.tscn" id="47_jqspi"]
|
[ext_resource type="PackedScene" uid="uid://dx5owafvbqdec" path="res://Modules/data_panel.tscn" id="47_jqspi"]
|
||||||
[ext_resource type="Script" path="res://code/main.gd" id="48_l81l5"]
|
[ext_resource type="Script" path="res://code/main.gd" id="48_l81l5"]
|
||||||
[ext_resource type="PackedScene" uid="uid://tqrf0pcv1bay" path="res://Modules/main_3d_vehicle.tscn" id="48_p5kic"]
|
[ext_resource type="PackedScene" uid="uid://tqrf0pcv1bay" path="res://Modules/main_3d_vehicle.tscn" id="48_p5kic"]
|
||||||
@ -12,7 +12,6 @@
|
|||||||
[ext_resource type="PackedScene" uid="uid://33cgqbhyfl47" path="res://Modules/setting.tscn" id="50_kqjcx"]
|
[ext_resource type="PackedScene" uid="uid://33cgqbhyfl47" path="res://Modules/setting.tscn" id="50_kqjcx"]
|
||||||
[ext_resource type="PackedScene" uid="uid://84vxs0ksabkq" path="res://Modules/tabs.tscn" id="50_mi4fd"]
|
[ext_resource type="PackedScene" uid="uid://84vxs0ksabkq" path="res://Modules/tabs.tscn" id="50_mi4fd"]
|
||||||
[ext_resource type="Texture2D" uid="uid://ruvsjrmynxch" path="res://pad_hmi_ui/taskbar/title.png" id="51_ptwd7"]
|
[ext_resource type="Texture2D" uid="uid://ruvsjrmynxch" path="res://pad_hmi_ui/taskbar/title.png" id="51_ptwd7"]
|
||||||
[ext_resource type="Texture2D" uid="uid://eevtiqj5g6a8" path="res://3.png" id="57_v7hfe"]
|
|
||||||
[ext_resource type="Script" path="res://common/base/base_control.gd" id="79_i36i4"]
|
[ext_resource type="Script" path="res://common/base/base_control.gd" id="79_i36i4"]
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kh08u"]
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kh08u"]
|
||||||
@ -43,6 +42,12 @@ corner_radius_top_right = 1024
|
|||||||
corner_radius_bottom_right = 1024
|
corner_radius_bottom_right = 1024
|
||||||
corner_radius_bottom_left = 1024
|
corner_radius_bottom_left = 1024
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_wx0gy"]
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id="ArrayMesh_n5r1a"]
|
||||||
|
|
||||||
|
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_t1jb5"]
|
||||||
|
|
||||||
[node name="Control" type="Control"]
|
[node name="Control" type="Control"]
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
@ -55,18 +60,7 @@ metadata/_edit_vertical_guides_ = [2560.0, 30.0, 2491.0, 1443.0, 1758.0, 270.0]
|
|||||||
|
|
||||||
[node name="EgoVehicle" parent="." instance=ExtResource("13_tjeco")]
|
[node name="EgoVehicle" parent="." instance=ExtResource("13_tjeco")]
|
||||||
|
|
||||||
[node name="TextureRect2" type="TextureRect" parent="."]
|
[node name="main" type="MarginContainer" parent="."]
|
||||||
visible = false
|
|
||||||
layout_mode = 1
|
|
||||||
anchors_preset = 15
|
|
||||||
anchor_right = 1.0
|
|
||||||
anchor_bottom = 1.0
|
|
||||||
grow_horizontal = 2
|
|
||||||
grow_vertical = 2
|
|
||||||
texture = ExtResource("1_brgxr")
|
|
||||||
expand_mode = 1
|
|
||||||
|
|
||||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
@ -80,11 +74,11 @@ theme_override_constants/margin_bottom = 40
|
|||||||
script = ExtResource("48_l81l5")
|
script = ExtResource("48_l81l5")
|
||||||
styleBox = SubResource("StyleBoxFlat_kh08u")
|
styleBox = SubResource("StyleBoxFlat_kh08u")
|
||||||
|
|
||||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
|
[node name="HBoxContainer" type="HBoxContainer" parent="main"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_constants/separation = 30
|
theme_override_constants/separation = 30
|
||||||
|
|
||||||
[node name="Title" type="MarginContainer" parent="MarginContainer/HBoxContainer"]
|
[node name="Title" type="MarginContainer" parent="main/HBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_stretch_ratio = 1.4
|
size_flags_stretch_ratio = 1.4
|
||||||
theme_override_constants/margin_left = 10
|
theme_override_constants/margin_left = 10
|
||||||
@ -99,23 +93,23 @@ is_Rotation = null
|
|||||||
is_OnClickScaleAwt = null
|
is_OnClickScaleAwt = null
|
||||||
StatusTime = null
|
StatusTime = null
|
||||||
|
|
||||||
[node name="PixLogo" type="TextureRect" parent="MarginContainer/HBoxContainer/Title"]
|
[node name="PixLogo" type="TextureRect" parent="main/HBoxContainer/Title"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 4
|
size_flags_horizontal = 4
|
||||||
size_flags_vertical = 0
|
size_flags_vertical = 0
|
||||||
texture = ExtResource("50_86b81")
|
texture = ExtResource("50_86b81")
|
||||||
|
|
||||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/Title"]
|
[node name="VBoxContainer" type="VBoxContainer" parent="main/HBoxContainer/Title"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 4
|
size_flags_horizontal = 4
|
||||||
size_flags_vertical = 8
|
size_flags_vertical = 8
|
||||||
theme_override_constants/separation = 38
|
theme_override_constants/separation = 38
|
||||||
|
|
||||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/Title/VBoxContainer"]
|
[node name="VBoxContainer" type="VBoxContainer" parent="main/HBoxContainer/Title/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_constants/separation = 28
|
theme_override_constants/separation = 28
|
||||||
|
|
||||||
[node name="Button" type="Button" parent="MarginContainer/HBoxContainer/Title/VBoxContainer/VBoxContainer"]
|
[node name="Autoware" type="Button" parent="main/HBoxContainer/Title/VBoxContainer/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_font_sizes/font_size = 23
|
theme_override_font_sizes/font_size = 23
|
||||||
theme_override_styles/focus = SubResource("StyleBoxFlat_46du7")
|
theme_override_styles/focus = SubResource("StyleBoxFlat_46du7")
|
||||||
@ -128,7 +122,7 @@ _pivot_offset = "CENTER_RIGHT"
|
|||||||
is_Scale = true
|
is_Scale = true
|
||||||
is_OnClickScaleAwt = null
|
is_OnClickScaleAwt = null
|
||||||
|
|
||||||
[node name="Button2" type="Button" parent="MarginContainer/HBoxContainer/Title/VBoxContainer/VBoxContainer"]
|
[node name="Restart" type="Button" parent="main/HBoxContainer/Title/VBoxContainer/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_font_sizes/font_size = 32
|
theme_override_font_sizes/font_size = 32
|
||||||
theme_override_styles/focus = SubResource("StyleBoxFlat_78bhk")
|
theme_override_styles/focus = SubResource("StyleBoxFlat_78bhk")
|
||||||
@ -141,7 +135,7 @@ _pivot_offset = "CENTER_RIGHT"
|
|||||||
is_Scale = true
|
is_Scale = true
|
||||||
is_OnClickScaleAwt = null
|
is_OnClickScaleAwt = null
|
||||||
|
|
||||||
[node name="Button3" type="Button" parent="MarginContainer/HBoxContainer/Title/VBoxContainer/VBoxContainer"]
|
[node name="Shutdown" type="Button" parent="main/HBoxContainer/Title/VBoxContainer/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_font_sizes/font_size = 32
|
theme_override_font_sizes/font_size = 32
|
||||||
theme_override_styles/focus = SubResource("StyleBoxFlat_78bhk")
|
theme_override_styles/focus = SubResource("StyleBoxFlat_78bhk")
|
||||||
@ -154,7 +148,7 @@ _pivot_offset = "CENTER_RIGHT"
|
|||||||
is_Scale = true
|
is_Scale = true
|
||||||
is_OnClickScaleAwt = null
|
is_OnClickScaleAwt = null
|
||||||
|
|
||||||
[node name="ShutdownIsScale" type="TextureRect" parent="MarginContainer/HBoxContainer/Title/VBoxContainer" node_paths=PackedStringArray("OnClickScaleArrNode")]
|
[node name="ShutdownIsScale" type="TextureRect" parent="main/HBoxContainer/Title/VBoxContainer" node_paths=PackedStringArray("OnClickScaleArrNode")]
|
||||||
custom_minimum_size = Vector2(50, 52)
|
custom_minimum_size = Vector2(50, 52)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 4
|
size_flags_horizontal = 4
|
||||||
@ -162,66 +156,74 @@ size_flags_vertical = 8
|
|||||||
texture = ExtResource("13_yxy1g")
|
texture = ExtResource("13_yxy1g")
|
||||||
script = ExtResource("79_i36i4")
|
script = ExtResource("79_i36i4")
|
||||||
is_Scale = true
|
is_Scale = true
|
||||||
OnClickScaleArrNode = [NodePath("../VBoxContainer/Button"), NodePath("../VBoxContainer/Button2"), NodePath("../VBoxContainer/Button3")]
|
OnClickScaleArrNode = [NodePath("../VBoxContainer/Autoware"), NodePath("../VBoxContainer/Restart"), NodePath("../VBoxContainer/Shutdown")]
|
||||||
size_max = 2.0
|
size_max = 2.0
|
||||||
is_OnClickScaleAwt = true
|
is_OnClickScaleAwt = true
|
||||||
|
|
||||||
[node name="Tabs" parent="MarginContainer/HBoxContainer/Title" instance=ExtResource("50_mi4fd")]
|
[node name="Tabs" parent="main/HBoxContainer/Title" instance=ExtResource("50_mi4fd")]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer"]
|
[node name="MarginContainer" type="MarginContainer" parent="main/HBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
size_flags_stretch_ratio = 21.0
|
size_flags_stretch_ratio = 21.0
|
||||||
|
|
||||||
[node name="DataPanel" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource("47_jqspi")]
|
[node name="DataPanel" parent="main/HBoxContainer/MarginContainer" instance=ExtResource("47_jqspi")]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
custom_minimum_size = Vector2(2320, 1520)
|
custom_minimum_size = Vector2(2320, 1520)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Main3DVehicle" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource("48_p5kic")]
|
[node name="Main3DVehicle" parent="main/HBoxContainer/MarginContainer" instance=ExtResource("48_p5kic")]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
visible = false
|
visible = false
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Information" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource("49_s7rxh")]
|
[node name="Information" parent="main/HBoxContainer/MarginContainer" instance=ExtResource("49_s7rxh")]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
visible = false
|
visible = false
|
||||||
custom_minimum_size = Vector2(2320, 1520)
|
custom_minimum_size = Vector2(2320, 1520)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="Setting" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource("50_kqjcx")]
|
[node name="Setting" parent="main/HBoxContainer/MarginContainer" instance=ExtResource("50_kqjcx")]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
visible = false
|
visible = false
|
||||||
custom_minimum_size = Vector2(2320, 1520)
|
custom_minimum_size = Vector2(2320, 1520)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_constants/margin_bottom = -4
|
theme_override_constants/margin_bottom = -4
|
||||||
|
|
||||||
[node name="TextureRect" type="TextureRect" parent="."]
|
|
||||||
visible = false
|
|
||||||
modulate = Color(1, 1, 1, 0.447059)
|
|
||||||
layout_mode = 1
|
|
||||||
anchors_preset = 15
|
|
||||||
anchor_right = 1.0
|
|
||||||
anchor_bottom = 1.0
|
|
||||||
grow_horizontal = 2
|
|
||||||
grow_vertical = 2
|
|
||||||
mouse_filter = 2
|
|
||||||
texture = ExtResource("57_v7hfe")
|
|
||||||
expand_mode = 1
|
|
||||||
|
|
||||||
[node name="Control" type="Control" parent="."]
|
|
||||||
visible = false
|
|
||||||
layout_mode = 1
|
|
||||||
anchors_preset = 15
|
|
||||||
anchor_right = 1.0
|
|
||||||
anchor_bottom = 1.0
|
|
||||||
grow_horizontal = 2
|
|
||||||
grow_vertical = 2
|
|
||||||
mouse_filter = 2
|
|
||||||
|
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||||
environment = ExtResource("14_ndify")
|
environment = ExtResource("14_ndify")
|
||||||
|
|
||||||
[connection signal="Onclick" from="MarginContainer/HBoxContainer/Title/Tabs" to="MarginContainer" method="_on_tabs_onclick"]
|
[node name="RoadSurfaceMesh" type="Node3D" parent="."]
|
||||||
[connection signal="OnClick3DVehicle" from="MarginContainer/HBoxContainer/MarginContainer/DataPanel" to="MarginContainer" method="_on_data_panel_on_click_3d_vehicle"]
|
script = ExtResource("15_83dvh")
|
||||||
|
|
||||||
|
[node name="Traiectory" type="MeshInstance3D" parent="RoadSurfaceMesh"]
|
||||||
|
|
||||||
|
[node name="ParkingSpace" type="Node3D" parent="RoadSurfaceMesh"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.01, 0)
|
||||||
|
|
||||||
|
[node name="RoadSurface" type="MeshInstance3D" parent="RoadSurfaceMesh"]
|
||||||
|
|
||||||
|
[node name="DynamicObject" type="Node3D" parent="RoadSurfaceMesh"]
|
||||||
|
|
||||||
|
[node name="left_line" type="MeshInstance3D" parent="RoadSurfaceMesh"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
|
||||||
|
mesh = SubResource("ArrayMesh_wx0gy")
|
||||||
|
|
||||||
|
[node name="right_line" type="MeshInstance3D" parent="RoadSurfaceMesh"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
|
||||||
|
mesh = SubResource("ArrayMesh_n5r1a")
|
||||||
|
|
||||||
|
[node name="GlobalPathTraiectory" type="MeshInstance3D" parent="RoadSurfaceMesh"]
|
||||||
|
unique_name_in_owner = true
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="RoadSurfaceMesh"]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RoadSurfaceMesh/StaticBody3D"]
|
||||||
|
shape = SubResource("ConcavePolygonShape3D_t1jb5")
|
||||||
|
|
||||||
|
[connection signal="Onclick" from="main/HBoxContainer/Title/Tabs" to="main" method="_on_tabs_onclick"]
|
||||||
|
[connection signal="OnClick3DVehicle" from="main/HBoxContainer/MarginContainer/DataPanel" to="main" method="_on_data_panel_on_click_3d_vehicle"]
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -0,0 +1,178 @@
|
|||||||
|
[editor_states]
|
||||||
|
|
||||||
|
Anim={
|
||||||
|
"visible": false
|
||||||
|
}
|
||||||
|
2D={
|
||||||
|
"grid_offset": Vector2(0, 0),
|
||||||
|
"grid_snap_active": false,
|
||||||
|
"grid_step": Vector2(8, 8),
|
||||||
|
"grid_visibility": 1,
|
||||||
|
"ofs": Vector2(-180, -125),
|
||||||
|
"primary_grid_step": Vector2i(8, 8),
|
||||||
|
"show_group_gizmos": true,
|
||||||
|
"show_guides": true,
|
||||||
|
"show_helpers": false,
|
||||||
|
"show_lock_gizmos": true,
|
||||||
|
"show_origin": true,
|
||||||
|
"show_position_gizmos": true,
|
||||||
|
"show_rulers": true,
|
||||||
|
"show_transformation_gizmos": true,
|
||||||
|
"show_viewport": true,
|
||||||
|
"show_zoom_control": true,
|
||||||
|
"smart_snap_active": false,
|
||||||
|
"snap_guides": true,
|
||||||
|
"snap_node_anchors": true,
|
||||||
|
"snap_node_center": true,
|
||||||
|
"snap_node_parent": true,
|
||||||
|
"snap_node_sides": true,
|
||||||
|
"snap_other_nodes": true,
|
||||||
|
"snap_pixel": true,
|
||||||
|
"snap_relative": false,
|
||||||
|
"snap_rotation": false,
|
||||||
|
"snap_rotation_offset": 0.0,
|
||||||
|
"snap_rotation_step": 0.261799,
|
||||||
|
"snap_scale": false,
|
||||||
|
"snap_scale_step": 0.1,
|
||||||
|
"zoom": 0.25
|
||||||
|
}
|
||||||
|
3D={
|
||||||
|
"fov": 70.01,
|
||||||
|
"gizmos_status": {
|
||||||
|
"AudioListener3D": 0,
|
||||||
|
"AudioStreamPlayer3D": 0,
|
||||||
|
"CPUParticles3D": 0,
|
||||||
|
"CSGShape3D": 0,
|
||||||
|
"Camera3D": 0,
|
||||||
|
"CollisionObject3D": 0,
|
||||||
|
"CollisionPolygon3D": 0,
|
||||||
|
"CollisionShape3D": 0,
|
||||||
|
"Decal": 0,
|
||||||
|
"FogVolume": 0,
|
||||||
|
"GPUParticles3D": 0,
|
||||||
|
"GPUParticlesCollision3D": 0,
|
||||||
|
"Joint3D": 0,
|
||||||
|
"Light3D": 0,
|
||||||
|
"LightmapGI": 0,
|
||||||
|
"LightmapProbe": 0,
|
||||||
|
"Marker3D": 0,
|
||||||
|
"MeshInstance3DCustomAABB": 0,
|
||||||
|
"NavigationLink3D": 0,
|
||||||
|
"NavigationRegion3D": 0,
|
||||||
|
"OccluderInstance3D": 0,
|
||||||
|
"Path3D": 0,
|
||||||
|
"PhysicalBone3D": 0,
|
||||||
|
"RayCast3D": 0,
|
||||||
|
"ReflectionProbe": 0,
|
||||||
|
"ShapeCast3D": 0,
|
||||||
|
"Skeleton3D": 0,
|
||||||
|
"SoftBody3D": 0,
|
||||||
|
"SpringArm3D": 0,
|
||||||
|
"VehicleWheel3D": 0,
|
||||||
|
"VisibleOnScreenNotifier3D": 0,
|
||||||
|
"VoxelGI": 0
|
||||||
|
},
|
||||||
|
"local_coords": false,
|
||||||
|
"preview_sun_env": {
|
||||||
|
"environ_ao_enabled": false,
|
||||||
|
"environ_enabled": true,
|
||||||
|
"environ_energy": 1.0,
|
||||||
|
"environ_gi_enabled": false,
|
||||||
|
"environ_glow_enabled": true,
|
||||||
|
"environ_ground_color": Color(0.2, 0.169, 0.133, 1),
|
||||||
|
"environ_sky_color": Color(0.385, 0.454, 0.55, 1),
|
||||||
|
"environ_tonemap_enabled": true,
|
||||||
|
"sun_color": Color(1, 1, 1, 1),
|
||||||
|
"sun_enabled": true,
|
||||||
|
"sun_energy": 1.0,
|
||||||
|
"sun_max_distance": 100.0,
|
||||||
|
"sun_rotation": Vector2(-1.0472, 2.61799)
|
||||||
|
},
|
||||||
|
"rotate_snap": 15.0,
|
||||||
|
"scale_snap": 10.0,
|
||||||
|
"show_grid": true,
|
||||||
|
"show_origin": true,
|
||||||
|
"snap_enabled": false,
|
||||||
|
"translate_snap": 1.0,
|
||||||
|
"viewport_mode": 1,
|
||||||
|
"viewports": [{
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 21,
|
||||||
|
"distance": 4.0,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": true,
|
||||||
|
"lock_rotation": false,
|
||||||
|
"orthogonal": false,
|
||||||
|
"position": Vector3(0, 0, 0),
|
||||||
|
"use_environment": false,
|
||||||
|
"view_type": 0,
|
||||||
|
"x_rotation": 0.5,
|
||||||
|
"y_rotation": -0.5
|
||||||
|
}, {
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 21,
|
||||||
|
"distance": 4.0,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": false,
|
||||||
|
"lock_rotation": false,
|
||||||
|
"orthogonal": false,
|
||||||
|
"position": Vector3(0, 0, 0),
|
||||||
|
"use_environment": false,
|
||||||
|
"view_type": 0,
|
||||||
|
"x_rotation": 0.5,
|
||||||
|
"y_rotation": -0.5
|
||||||
|
}, {
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 21,
|
||||||
|
"distance": 4.0,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": false,
|
||||||
|
"lock_rotation": false,
|
||||||
|
"orthogonal": false,
|
||||||
|
"position": Vector3(0, 0, 0),
|
||||||
|
"use_environment": false,
|
||||||
|
"view_type": 0,
|
||||||
|
"x_rotation": 0.5,
|
||||||
|
"y_rotation": -0.5
|
||||||
|
}, {
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 21,
|
||||||
|
"distance": 4.0,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": false,
|
||||||
|
"lock_rotation": false,
|
||||||
|
"orthogonal": false,
|
||||||
|
"position": Vector3(0, 0, 0),
|
||||||
|
"use_environment": false,
|
||||||
|
"view_type": 0,
|
||||||
|
"x_rotation": 0.5,
|
||||||
|
"y_rotation": -0.5
|
||||||
|
}],
|
||||||
|
"zfar": 4000.01,
|
||||||
|
"znear": 0.05
|
||||||
|
}
|
||||||
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/Control/main/HBoxContainer/MarginContainer/Main3DVehicle")])
|
@ -0,0 +1,5 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
node_unfolds=[NodePath("Body"), PackedStringArray("surface_material_override"), NodePath("FrontTire"), PackedStringArray("surface_material_override"), NodePath("RearTire"), PackedStringArray("surface_material_override")]
|
||||||
|
resource_unfolds=["res://DynamicObject/Car.glb::ArrayMesh_s6fkb", PackedStringArray("Resource"), "res://DynamicObject/Car.tscn::StandardMaterial3D_qx0u6", PackedStringArray("Resource", "Transparency", "Albedo"), "res://DynamicObject/Car.glb::ArrayMesh_earkw", PackedStringArray("Resource"), "res://DynamicObject/Car.glb::ArrayMesh_dx0q8", PackedStringArray("Resource")]
|
||||||
|
nodes_folded=[]
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -8,7 +8,7 @@ Anim={
|
|||||||
"grid_snap_active": false,
|
"grid_snap_active": false,
|
||||||
"grid_step": Vector2(8, 8),
|
"grid_step": Vector2(8, 8),
|
||||||
"grid_visibility": 1,
|
"grid_visibility": 1,
|
||||||
"ofs": Vector2(196.355, -88.5674),
|
"ofs": Vector2(-236.074, -358.2),
|
||||||
"primary_grid_step": Vector2i(8, 8),
|
"primary_grid_step": Vector2i(8, 8),
|
||||||
"show_group_gizmos": true,
|
"show_group_gizmos": true,
|
||||||
"show_guides": true,
|
"show_guides": true,
|
||||||
@ -34,7 +34,7 @@ Anim={
|
|||||||
"snap_rotation_step": 0.261799,
|
"snap_rotation_step": 0.261799,
|
||||||
"snap_scale": false,
|
"snap_scale": false,
|
||||||
"snap_scale_step": 0.1,
|
"snap_scale_step": 0.1,
|
||||||
"zoom": 0.749154
|
"zoom": 0.33371
|
||||||
}
|
}
|
||||||
3D={
|
3D={
|
||||||
"fov": 70.01,
|
"fov": 70.01,
|
||||||
@ -100,7 +100,7 @@ Anim={
|
|||||||
"auto_orthogonal_enabled": true,
|
"auto_orthogonal_enabled": true,
|
||||||
"cinematic_preview": false,
|
"cinematic_preview": false,
|
||||||
"display_mode": 21,
|
"display_mode": 21,
|
||||||
"distance": 4.0,
|
"distance": 6.29534,
|
||||||
"doppler": false,
|
"doppler": false,
|
||||||
"frame_time": false,
|
"frame_time": false,
|
||||||
"gizmos": true,
|
"gizmos": true,
|
||||||
@ -175,4 +175,4 @@ Anim={
|
|||||||
"zfar": 4000.01,
|
"zfar": 4000.01,
|
||||||
"znear": 0.05
|
"znear": 0.05
|
||||||
}
|
}
|
||||||
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/ItemLabel")])
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/Control/main/HBoxContainer/MarginContainer/DataPanel")])
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[folding]
|
[folding]
|
||||||
|
|
||||||
node_unfolds=[NodePath("."), PackedStringArray("Layout", "Localization", "Tooltip", "Layout/Transform"), NodePath("TextureRect2"), PackedStringArray("Visibility", "Layout"), NodePath("MarginContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/HBoxContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/HBoxContainer/Title"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/HBoxContainer/Title/PixLogo"), PackedStringArray("Layout"), NodePath("MarginContainer/HBoxContainer/Title/VBoxContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/HBoxContainer/Title/VBoxContainer/VBoxContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/HBoxContainer/Title/VBoxContainer/VBoxContainer/Button"), PackedStringArray("Layout", "Theme Overrides", "BiDi"), NodePath("MarginContainer/HBoxContainer/Title/VBoxContainer/VBoxContainer/Button2"), PackedStringArray("Layout", "Theme Overrides", "BiDi"), NodePath("MarginContainer/HBoxContainer/Title/VBoxContainer/VBoxContainer/Button3"), PackedStringArray("Layout", "Theme Overrides", "BiDi"), NodePath("MarginContainer/HBoxContainer/Title/VBoxContainer/ShutdownIsScale"), PackedStringArray("Layout"), NodePath("MarginContainer/HBoxContainer/Title/Tabs"), PackedStringArray("Layout"), NodePath("MarginContainer/HBoxContainer/MarginContainer"), PackedStringArray("Layout"), NodePath("MarginContainer/HBoxContainer/MarginContainer/DataPanel"), PackedStringArray("Layout"), NodePath("MarginContainer/HBoxContainer/MarginContainer/Main3DVehicle"), PackedStringArray("Visibility", "Layout"), NodePath("MarginContainer/HBoxContainer/MarginContainer/Information"), PackedStringArray("Visibility", "Layout"), NodePath("MarginContainer/HBoxContainer/MarginContainer/Setting"), PackedStringArray("Visibility", "Layout", "Layout/Transform", "Theme Overrides", "Theme Overrides/constants"), NodePath("TextureRect"), PackedStringArray("Visibility", "Layout", "Mouse"), NodePath("Control"), PackedStringArray("Visibility", "Layout", "Mouse")]
|
node_unfolds=[NodePath("."), PackedStringArray("Layout", "Localization", "Tooltip", "Layout/Transform"), NodePath("main"), PackedStringArray("Layout", "Theme Overrides"), NodePath("main/HBoxContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("main/HBoxContainer/Title"), PackedStringArray("Layout", "Theme Overrides"), NodePath("main/HBoxContainer/Title/PixLogo"), PackedStringArray("Layout"), NodePath("main/HBoxContainer/Title/VBoxContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("main/HBoxContainer/Title/VBoxContainer/VBoxContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("main/HBoxContainer/Title/VBoxContainer/VBoxContainer/Autoware"), PackedStringArray("Layout", "Theme Overrides", "BiDi"), NodePath("main/HBoxContainer/Title/VBoxContainer/VBoxContainer/Restart"), PackedStringArray("Layout", "Theme Overrides", "BiDi"), NodePath("main/HBoxContainer/Title/VBoxContainer/VBoxContainer/Shutdown"), PackedStringArray("Layout", "Theme Overrides", "BiDi"), NodePath("main/HBoxContainer/Title/VBoxContainer/ShutdownIsScale"), PackedStringArray("Layout"), NodePath("main/HBoxContainer/Title/Tabs"), PackedStringArray("Layout"), NodePath("main/HBoxContainer/MarginContainer"), PackedStringArray("Layout"), NodePath("main/HBoxContainer/MarginContainer/DataPanel"), PackedStringArray("Layout"), NodePath("main/HBoxContainer/MarginContainer/Main3DVehicle"), PackedStringArray("Visibility", "Layout"), NodePath("main/HBoxContainer/MarginContainer/Information"), PackedStringArray("Visibility", "Layout"), NodePath("main/HBoxContainer/MarginContainer/Setting"), PackedStringArray("Visibility", "Layout", "Layout/Transform", "Theme Overrides", "Theme Overrides/constants")]
|
||||||
resource_unfolds=["res://control.tscn::StyleBoxFlat_kh08u", PackedStringArray("Resource"), "res://control.tscn::StyleBoxTexture_mkgnk", PackedStringArray("Resource"), "res://control.tscn::StyleBoxFlat_46du7", PackedStringArray("Resource", "Content Margins", "Corner Radius"), "res://control.tscn::StyleBoxFlat_78bhk", PackedStringArray("Resource", "Content Margins", "Corner Radius")]
|
resource_unfolds=["res://control.tscn::StyleBoxFlat_kh08u", PackedStringArray("Resource"), "res://control.tscn::StyleBoxTexture_mkgnk", PackedStringArray("Resource"), "res://control.tscn::StyleBoxFlat_46du7", PackedStringArray("Resource", "Content Margins", "Corner Radius"), "res://control.tscn::StyleBoxFlat_78bhk", PackedStringArray("Resource", "Content Margins", "Corner Radius"), "res://control.tscn::ArrayMesh_wx0gy", PackedStringArray(), "res://control.tscn::ArrayMesh_n5r1a", PackedStringArray(), "res://control.tscn::ConcavePolygonShape3D_t1jb5", PackedStringArray()]
|
||||||
nodes_folded=[]
|
nodes_folded=[NodePath("RoadSurfaceMesh")]
|
||||||
|
@ -8,7 +8,7 @@ Anim={
|
|||||||
"grid_snap_active": false,
|
"grid_snap_active": false,
|
||||||
"grid_step": Vector2(8, 8),
|
"grid_step": Vector2(8, 8),
|
||||||
"grid_visibility": 1,
|
"grid_visibility": 1,
|
||||||
"ofs": Vector2(-213.361, -22.2995),
|
"ofs": Vector2(-219.692, -166.913),
|
||||||
"primary_grid_step": Vector2i(8, 8),
|
"primary_grid_step": Vector2i(8, 8),
|
||||||
"show_group_gizmos": true,
|
"show_group_gizmos": true,
|
||||||
"show_guides": true,
|
"show_guides": true,
|
||||||
@ -34,7 +34,7 @@ Anim={
|
|||||||
"snap_rotation_step": 0.261799,
|
"snap_rotation_step": 0.261799,
|
||||||
"snap_scale": false,
|
"snap_scale": false,
|
||||||
"snap_scale_step": 0.1,
|
"snap_scale_step": 0.1,
|
||||||
"zoom": 0.353553
|
"zoom": 0.420448
|
||||||
}
|
}
|
||||||
3D={
|
3D={
|
||||||
"fov": 70.01,
|
"fov": 70.01,
|
||||||
@ -175,4 +175,4 @@ Anim={
|
|||||||
"zfar": 4000.01,
|
"zfar": 4000.01,
|
||||||
"znear": 0.05
|
"znear": 0.05
|
||||||
}
|
}
|
||||||
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/ItemLabel")])
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/Control/main/HBoxContainer/MarginContainer/Main3DVehicle")])
|
||||||
|
File diff suppressed because one or more lines are too long
@ -9,34 +9,34 @@ dock_closed=[]
|
|||||||
dock_split_2=-76
|
dock_split_2=-76
|
||||||
dock_split_3=0
|
dock_split_3=0
|
||||||
dock_hsplit_1=0
|
dock_hsplit_1=0
|
||||||
dock_hsplit_2=639
|
dock_hsplit_2=574
|
||||||
dock_hsplit_3=-540
|
dock_hsplit_3=-450
|
||||||
dock_hsplit_4=0
|
dock_hsplit_4=0
|
||||||
dock_filesystem_h_split_offset=480
|
dock_filesystem_h_split_offset=480
|
||||||
dock_filesystem_v_split_offset=0
|
dock_filesystem_v_split_offset=0
|
||||||
dock_filesystem_display_mode=0
|
dock_filesystem_display_mode=0
|
||||||
dock_filesystem_file_sort=0
|
dock_filesystem_file_sort=0
|
||||||
dock_filesystem_file_list_display_mode=1
|
dock_filesystem_file_list_display_mode=1
|
||||||
dock_filesystem_selected_paths=PackedStringArray("res://")
|
dock_filesystem_selected_paths=PackedStringArray("res://line.tres")
|
||||||
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://Vehicle/", "res://pad_hmi_ui/taskbar/", "res://pad_hmi_ui/setting/", "res://pad_hmi_ui/information/", "res://pad_hmi_ui/home/", "res://Modules/")
|
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://pad_hmi_ui/taskbar/", "res://pad_hmi_ui/setting/", "res://pad_hmi_ui/information/", "res://pad_hmi_ui/home/")
|
||||||
dock_3="Scene,Import"
|
dock_3="Scene,Import"
|
||||||
dock_4="FileSystem"
|
dock_4="FileSystem"
|
||||||
dock_5="Inspector,Node,History"
|
dock_5="Inspector,Node,History"
|
||||||
|
|
||||||
[EditorNode]
|
[EditorNode]
|
||||||
|
|
||||||
open_scenes=PackedStringArray("res://control.tscn", "res://Modules/main_3d_vehicle.tscn", "res://Modules/setting.tscn", "res://Modules/margin_container_2.tscn", "res://Modules/data_panel.tscn", "res://Modules/item_label.tscn", "res://Modules/prompt_text.tscn")
|
open_scenes=PackedStringArray("res://control.tscn", "res://Modules/main_3d_vehicle.tscn", "res://Modules/setting.tscn", "res://Modules/margin_container_2.tscn", "res://Modules/data_panel.tscn", "res://Modules/item_label.tscn", "res://Modules/prompt_text.tscn", "res://main.tscn", "res://DynamicObject/Car.tscn")
|
||||||
current_scene="res://Modules/data_panel.tscn"
|
current_scene="res://control.tscn"
|
||||||
center_split_offset=-491
|
center_split_offset=-491
|
||||||
selected_default_debugger_tab_idx=0
|
selected_default_debugger_tab_idx=0
|
||||||
selected_main_editor_idx=0
|
selected_main_editor_idx=2
|
||||||
selected_bottom_panel_item=0
|
selected_bottom_panel_item=0
|
||||||
|
|
||||||
[ScriptEditor]
|
[ScriptEditor]
|
||||||
|
|
||||||
open_scripts=["res://common/base/base_control.gd", "res://Modules/data_panel.gd", "res://res3D/ego_vehicle.gd", "res://code/hsliderPor.gd", "res://Modules/item_label.gd", "res://pad_hmi_ui/Main3DVehicle.gd", "res://code/main.gd", "res://Modules/prompt_text.gd", "res://Modules/site_selection_texture_rect.gd", "res://Modules/SpeedGearAdjustment.gd", "res://code/speedometer.gd"]
|
open_scripts=["res://common/base/base_control.gd", "res://Modules/data_panel.gd", "res://res3D/ego_vehicle.gd", "res://common/global.gd", "res://code/hsliderPor.gd", "res://Modules/item_label.gd", "res://pad_hmi_ui/Main3DVehicle.gd", "res://code/main.gd", "res://Modules/prompt_text.gd", "res://scripts/road_surface_mesh.gd", "res://Modules/site_selection_texture_rect.gd", "res://Modules/SpeedGearAdjustment.gd", "res://code/speedometer.gd"]
|
||||||
selected_script="res://code/hsliderPor.gd"
|
selected_script="res://code/main.gd"
|
||||||
open_help=["@GlobalScope", "CanvasItem", "InputEventMouseButton", "Label"]
|
open_help=["@GlobalScope", "CanvasItem", "InputEventMouseButton", "Label", "Node", "SceneTree", "Tween"]
|
||||||
script_split_offset=140
|
script_split_offset=140
|
||||||
list_split_offset=0
|
list_split_offset=0
|
||||||
zoom_factor=1.0
|
zoom_factor=1.0
|
||||||
|
File diff suppressed because one or more lines are too long
@ -6,3 +6,10 @@ res://Modules/margin_container_2.tscn
|
|||||||
res://Modules/data_panel.tscn
|
res://Modules/data_panel.tscn
|
||||||
res://Modules/item_label.tscn
|
res://Modules/item_label.tscn
|
||||||
res://Modules/prompt_text.tscn
|
res://Modules/prompt_text.tscn
|
||||||
|
res://main.tscn
|
||||||
|
res://DynamicObject/Car.tscn
|
||||||
|
res://scripts/road_surface_mesh.gd
|
||||||
|
res://code/main.gd
|
||||||
|
res://common/global.gd
|
||||||
|
res://Modules/data_panel.gd
|
||||||
|
res://pad_hmi_ui/Main3DVehicle.gd
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -175,4 +175,4 @@ Anim={
|
|||||||
"zfar": 4000.01,
|
"zfar": 4000.01,
|
||||||
"znear": 0.05
|
"znear": 0.05
|
||||||
}
|
}
|
||||||
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/ItemLabel")])
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/Control/main/HBoxContainer/MarginContainer/Main3DVehicle")])
|
||||||
|
@ -0,0 +1,178 @@
|
|||||||
|
[editor_states]
|
||||||
|
|
||||||
|
Anim={
|
||||||
|
"visible": false
|
||||||
|
}
|
||||||
|
2D={
|
||||||
|
"grid_offset": Vector2(0, 0),
|
||||||
|
"grid_snap_active": false,
|
||||||
|
"grid_step": Vector2(8, 8),
|
||||||
|
"grid_visibility": 1,
|
||||||
|
"ofs": Vector2(-180, -125),
|
||||||
|
"primary_grid_step": Vector2i(8, 8),
|
||||||
|
"show_group_gizmos": true,
|
||||||
|
"show_guides": true,
|
||||||
|
"show_helpers": false,
|
||||||
|
"show_lock_gizmos": true,
|
||||||
|
"show_origin": true,
|
||||||
|
"show_position_gizmos": true,
|
||||||
|
"show_rulers": true,
|
||||||
|
"show_transformation_gizmos": true,
|
||||||
|
"show_viewport": true,
|
||||||
|
"show_zoom_control": true,
|
||||||
|
"smart_snap_active": false,
|
||||||
|
"snap_guides": true,
|
||||||
|
"snap_node_anchors": true,
|
||||||
|
"snap_node_center": true,
|
||||||
|
"snap_node_parent": true,
|
||||||
|
"snap_node_sides": true,
|
||||||
|
"snap_other_nodes": true,
|
||||||
|
"snap_pixel": true,
|
||||||
|
"snap_relative": false,
|
||||||
|
"snap_rotation": false,
|
||||||
|
"snap_rotation_offset": 0.0,
|
||||||
|
"snap_rotation_step": 0.261799,
|
||||||
|
"snap_scale": false,
|
||||||
|
"snap_scale_step": 0.1,
|
||||||
|
"zoom": 0.25
|
||||||
|
}
|
||||||
|
3D={
|
||||||
|
"fov": 70.01,
|
||||||
|
"gizmos_status": {
|
||||||
|
"AudioListener3D": 0,
|
||||||
|
"AudioStreamPlayer3D": 0,
|
||||||
|
"CPUParticles3D": 0,
|
||||||
|
"CSGShape3D": 0,
|
||||||
|
"Camera3D": 0,
|
||||||
|
"CollisionObject3D": 0,
|
||||||
|
"CollisionPolygon3D": 0,
|
||||||
|
"CollisionShape3D": 0,
|
||||||
|
"Decal": 0,
|
||||||
|
"FogVolume": 0,
|
||||||
|
"GPUParticles3D": 0,
|
||||||
|
"GPUParticlesCollision3D": 0,
|
||||||
|
"Joint3D": 0,
|
||||||
|
"Light3D": 0,
|
||||||
|
"LightmapGI": 0,
|
||||||
|
"LightmapProbe": 0,
|
||||||
|
"Marker3D": 0,
|
||||||
|
"MeshInstance3DCustomAABB": 0,
|
||||||
|
"NavigationLink3D": 0,
|
||||||
|
"NavigationRegion3D": 0,
|
||||||
|
"OccluderInstance3D": 0,
|
||||||
|
"Path3D": 0,
|
||||||
|
"PhysicalBone3D": 0,
|
||||||
|
"RayCast3D": 0,
|
||||||
|
"ReflectionProbe": 0,
|
||||||
|
"ShapeCast3D": 0,
|
||||||
|
"Skeleton3D": 0,
|
||||||
|
"SoftBody3D": 0,
|
||||||
|
"SpringArm3D": 0,
|
||||||
|
"VehicleWheel3D": 0,
|
||||||
|
"VisibleOnScreenNotifier3D": 0,
|
||||||
|
"VoxelGI": 0
|
||||||
|
},
|
||||||
|
"local_coords": false,
|
||||||
|
"preview_sun_env": {
|
||||||
|
"environ_ao_enabled": false,
|
||||||
|
"environ_enabled": true,
|
||||||
|
"environ_energy": 1.0,
|
||||||
|
"environ_gi_enabled": false,
|
||||||
|
"environ_glow_enabled": true,
|
||||||
|
"environ_ground_color": Color(0.2, 0.169, 0.133, 1),
|
||||||
|
"environ_sky_color": Color(0.385, 0.454, 0.55, 1),
|
||||||
|
"environ_tonemap_enabled": true,
|
||||||
|
"sun_color": Color(1, 1, 1, 1),
|
||||||
|
"sun_enabled": true,
|
||||||
|
"sun_energy": 1.0,
|
||||||
|
"sun_max_distance": 100.0,
|
||||||
|
"sun_rotation": Vector2(-1.0472, 2.61799)
|
||||||
|
},
|
||||||
|
"rotate_snap": 15.0,
|
||||||
|
"scale_snap": 10.0,
|
||||||
|
"show_grid": true,
|
||||||
|
"show_origin": true,
|
||||||
|
"snap_enabled": false,
|
||||||
|
"translate_snap": 1.0,
|
||||||
|
"viewport_mode": 1,
|
||||||
|
"viewports": [{
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 21,
|
||||||
|
"distance": 13.4555,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": true,
|
||||||
|
"lock_rotation": false,
|
||||||
|
"orthogonal": false,
|
||||||
|
"position": Vector3(0, 0, 0),
|
||||||
|
"use_environment": false,
|
||||||
|
"view_type": 0,
|
||||||
|
"x_rotation": 0.901426,
|
||||||
|
"y_rotation": 0.241765
|
||||||
|
}, {
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 21,
|
||||||
|
"distance": 4.0,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": false,
|
||||||
|
"lock_rotation": false,
|
||||||
|
"orthogonal": false,
|
||||||
|
"position": Vector3(0, 0, 0),
|
||||||
|
"use_environment": false,
|
||||||
|
"view_type": 0,
|
||||||
|
"x_rotation": 0.5,
|
||||||
|
"y_rotation": -0.5
|
||||||
|
}, {
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 21,
|
||||||
|
"distance": 4.0,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": false,
|
||||||
|
"lock_rotation": false,
|
||||||
|
"orthogonal": false,
|
||||||
|
"position": Vector3(0, 0, 0),
|
||||||
|
"use_environment": false,
|
||||||
|
"view_type": 0,
|
||||||
|
"x_rotation": 0.5,
|
||||||
|
"y_rotation": -0.5
|
||||||
|
}, {
|
||||||
|
"auto_orthogonal": false,
|
||||||
|
"auto_orthogonal_enabled": true,
|
||||||
|
"cinematic_preview": false,
|
||||||
|
"display_mode": 21,
|
||||||
|
"distance": 4.0,
|
||||||
|
"doppler": false,
|
||||||
|
"frame_time": false,
|
||||||
|
"gizmos": true,
|
||||||
|
"half_res": false,
|
||||||
|
"information": false,
|
||||||
|
"listener": false,
|
||||||
|
"lock_rotation": false,
|
||||||
|
"orthogonal": false,
|
||||||
|
"position": Vector3(0, 0, 0),
|
||||||
|
"use_environment": false,
|
||||||
|
"view_type": 0,
|
||||||
|
"x_rotation": 0.5,
|
||||||
|
"y_rotation": -0.5
|
||||||
|
}],
|
||||||
|
"zfar": 4000.01,
|
||||||
|
"znear": 0.05
|
||||||
|
}
|
||||||
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/Control/main/HBoxContainer/MarginContainer/Main3DVehicle")])
|
File diff suppressed because one or more lines are too long
@ -8,7 +8,7 @@ Anim={
|
|||||||
"grid_snap_active": false,
|
"grid_snap_active": false,
|
||||||
"grid_step": Vector2(8, 8),
|
"grid_step": Vector2(8, 8),
|
||||||
"grid_visibility": 1,
|
"grid_visibility": 1,
|
||||||
"ofs": Vector2(-41.3935, -268.964),
|
"ofs": Vector2(-559.551, -258.894),
|
||||||
"primary_grid_step": Vector2i(8, 8),
|
"primary_grid_step": Vector2i(8, 8),
|
||||||
"show_group_gizmos": true,
|
"show_group_gizmos": true,
|
||||||
"show_guides": true,
|
"show_guides": true,
|
||||||
@ -34,7 +34,7 @@ Anim={
|
|||||||
"snap_rotation_step": 0.261799,
|
"snap_rotation_step": 0.261799,
|
||||||
"snap_scale": false,
|
"snap_scale": false,
|
||||||
"snap_scale_step": 0.1,
|
"snap_scale_step": 0.1,
|
||||||
"zoom": 0.471937
|
"zoom": 0.33371
|
||||||
}
|
}
|
||||||
3D={
|
3D={
|
||||||
"fov": 70.01,
|
"fov": 70.01,
|
||||||
@ -175,4 +175,4 @@ Anim={
|
|||||||
"zfar": 4000.01,
|
"zfar": 4000.01,
|
||||||
"znear": 0.05
|
"znear": 0.05
|
||||||
}
|
}
|
||||||
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/ItemLabel")])
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/Control/main/HBoxContainer/MarginContainer/Main3DVehicle")])
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
node_unfolds=[NodePath("."), PackedStringArray("Layout"), NodePath("Main3DVehicleBackground"), PackedStringArray("Layout", "Patch Margin"), NodePath("MarginContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture"), PackedStringArray("Material"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation"), PackedStringArray("Visibility", "Layout", "Mouse"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/Label"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/TrafficLight"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/TrafficLight/TextureRect2"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/TextureRect"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/Steering"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer/Speed"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer/SpeedUnit"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/SteeringWheel"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleInformation"), PackedStringArray("Layout", "Mouse"), NodePath("MarginContainer/Main3DVehicleInformation/Label"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/TrafficLight"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/TrafficLight/TrafficLight"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/TextureRect"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/Steering"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer/Speed"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer/SpeedUnit"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/SteeringWheel"), PackedStringArray("Layout")]
|
node_unfolds=[NodePath("."), PackedStringArray("Layout"), NodePath("Main3DVehicleBackground"), PackedStringArray("Layout", "Patch Margin"), NodePath("MarginContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture"), PackedStringArray("Material"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation"), PackedStringArray("Visibility", "Layout", "Mouse"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/Label"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/TrafficLight"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/TrafficLight/TextureRect2"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/TextureRect"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/Steering"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer/Speed"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer/SpeedUnit"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/SteeringWheel"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleInformation"), PackedStringArray("Layout", "Mouse"), NodePath("MarginContainer/Main3DVehicleInformation/Label"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/TrafficLight"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/TrafficLight/TrafficLight"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/TextureRect"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/Steering"), PackedStringArray("Layout"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer/Speed"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer/SpeedUnit"), PackedStringArray("Layout", "Theme Overrides"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/SteeringWheel"), PackedStringArray("Layout")]
|
||||||
resource_unfolds=["res://Modules/main_3d_vehicle.tscn::ShaderMaterial_8c5rn", PackedStringArray("Resource", "Shader Parameters"), "res://Modules/main_3d_vehicle.tscn::StyleBoxEmpty_j2i4v", PackedStringArray("Resource", "Content Margins")]
|
resource_unfolds=["res://Modules/main_3d_vehicle.tscn::ShaderMaterial_8c5rn", PackedStringArray("Resource", "Shader Parameters"), "res://Modules/main_3d_vehicle.tscn::StyleBoxEmpty_j2i4v", PackedStringArray("Resource", "Content Margins")]
|
||||||
nodes_folded=[NodePath("MarginContainer/Main3DVehicleInformation/TrafficLight"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation")]
|
nodes_folded=[NodePath("MarginContainer/Main3DVehicleTexture"), NodePath("MarginContainer/Main3DVehicleInformation/TrafficLight"), NodePath("MarginContainer/Main3DVehicleInformation/DrivingInformation")]
|
||||||
|
@ -175,4 +175,4 @@ Anim={
|
|||||||
"zfar": 4000.01,
|
"zfar": 4000.01,
|
||||||
"znear": 0.05
|
"znear": 0.05
|
||||||
}
|
}
|
||||||
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/ItemLabel")])
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/Control/main/HBoxContainer/MarginContainer/Main3DVehicle")])
|
||||||
|
@ -5,8 +5,8 @@ use_advanced_connections=false
|
|||||||
|
|
||||||
[recent_files]
|
[recent_files]
|
||||||
|
|
||||||
scenes=["res://Modules/prompt_text.tscn", "res://Modules/item_label.tscn", "res://Modules/data_panel.tscn", "res://Modules/margin_container_2.tscn", "res://Modules/setting.tscn", "res://Modules/main_3d_vehicle.tscn", "res://control.tscn"]
|
scenes=["res://DynamicObject/Car.tscn", "res://main.tscn", "res://Modules/prompt_text.tscn", "res://Modules/item_label.tscn", "res://Modules/data_panel.tscn", "res://Modules/margin_container_2.tscn", "res://Modules/setting.tscn", "res://Modules/main_3d_vehicle.tscn", "res://control.tscn"]
|
||||||
scripts=["Label", "InputEventMouseButton", "CanvasItem", "@GlobalScope", "res://code/hsliderPor.gd", "res://Modules/prompt_text.gd", "res://Modules/item_label.gd", "res://code/speedometer.gd", "res://Modules/SpeedGearAdjustment.gd", "res://Modules/site_selection_texture_rect.gd"]
|
scripts=["Tween", "SceneTree", "Node", "res://common/global.gd", "res://scripts/road_surface_mesh.gd", "Label", "InputEventMouseButton", "CanvasItem", "@GlobalScope", "res://code/hsliderPor.gd"]
|
||||||
|
|
||||||
[dialog_bounds]
|
[dialog_bounds]
|
||||||
|
|
||||||
@ -21,3 +21,4 @@ last_selected_language="GDScript"
|
|||||||
[color_picker]
|
[color_picker]
|
||||||
|
|
||||||
picker_shape=3
|
picker_shape=3
|
||||||
|
recent_presets=PackedColorArray(1, 1, 1, 0)
|
||||||
|
@ -175,4 +175,4 @@ Anim={
|
|||||||
"zfar": 4000.01,
|
"zfar": 4000.01,
|
||||||
"znear": 0.05
|
"znear": 0.05
|
||||||
}
|
}
|
||||||
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/ItemLabel")])
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/Control/main/HBoxContainer/MarginContainer/Main3DVehicle")])
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -0,0 +1,3 @@
|
|||||||
|
[folding]
|
||||||
|
|
||||||
|
sections_unfolded=PackedStringArray()
|
@ -3,16 +3,16 @@
|
|||||||
state={
|
state={
|
||||||
"bookmarks": PackedInt32Array(),
|
"bookmarks": PackedInt32Array(),
|
||||||
"breakpoints": PackedInt32Array(),
|
"breakpoints": PackedInt32Array(),
|
||||||
"column": 1,
|
"column": 24,
|
||||||
"folded_lines": Array[int]([]),
|
"folded_lines": Array[int]([]),
|
||||||
"h_scroll_position": 0,
|
"h_scroll_position": 0,
|
||||||
"row": 323,
|
"row": 8,
|
||||||
"scroll_position": 181.0,
|
"scroll_position": 3.0,
|
||||||
"selection": true,
|
"selection": true,
|
||||||
"selection_from_column": 2,
|
"selection_from_column": 13,
|
||||||
"selection_from_line": 314,
|
"selection_from_line": 8,
|
||||||
"selection_to_column": 1,
|
"selection_to_column": 24,
|
||||||
"selection_to_line": 323,
|
"selection_to_line": 8,
|
||||||
"syntax_highlighter": "GDScript"
|
"syntax_highlighter": "GDScript"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -35,11 +35,11 @@ state={
|
|||||||
state={
|
state={
|
||||||
"bookmarks": PackedInt32Array(),
|
"bookmarks": PackedInt32Array(),
|
||||||
"breakpoints": PackedInt32Array(),
|
"breakpoints": PackedInt32Array(),
|
||||||
"column": 22,
|
"column": 0,
|
||||||
"folded_lines": Array[int]([]),
|
"folded_lines": Array[int]([]),
|
||||||
"h_scroll_position": 0,
|
"h_scroll_position": 0,
|
||||||
"row": 61,
|
"row": 15,
|
||||||
"scroll_position": 50.0,
|
"scroll_position": 10.18,
|
||||||
"selection": false,
|
"selection": false,
|
||||||
"syntax_highlighter": "GDScript"
|
"syntax_highlighter": "GDScript"
|
||||||
}
|
}
|
||||||
@ -49,16 +49,16 @@ state={
|
|||||||
state={
|
state={
|
||||||
"bookmarks": PackedInt32Array(),
|
"bookmarks": PackedInt32Array(),
|
||||||
"breakpoints": PackedInt32Array(),
|
"breakpoints": PackedInt32Array(),
|
||||||
"column": 22,
|
"column": 24,
|
||||||
"folded_lines": Array[int]([]),
|
"folded_lines": Array[int]([]),
|
||||||
"h_scroll_position": 0,
|
"h_scroll_position": 0,
|
||||||
"row": 60,
|
"row": 7,
|
||||||
"scroll_position": 10.0,
|
"scroll_position": 0.0,
|
||||||
"selection": true,
|
"selection": true,
|
||||||
"selection_from_column": 2,
|
"selection_from_column": 13,
|
||||||
"selection_from_line": 59,
|
"selection_from_line": 7,
|
||||||
"selection_to_column": 22,
|
"selection_to_column": 24,
|
||||||
"selection_to_line": 60,
|
"selection_to_line": 7,
|
||||||
"syntax_highlighter": "GDScript"
|
"syntax_highlighter": "GDScript"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,16 +67,12 @@ state={
|
|||||||
state={
|
state={
|
||||||
"bookmarks": PackedInt32Array(),
|
"bookmarks": PackedInt32Array(),
|
||||||
"breakpoints": PackedInt32Array(),
|
"breakpoints": PackedInt32Array(),
|
||||||
"column": 22,
|
"column": 16,
|
||||||
"folded_lines": Array[int]([]),
|
"folded_lines": Array[int]([]),
|
||||||
"h_scroll_position": 0,
|
"h_scroll_position": 0,
|
||||||
"row": 105,
|
"row": 109,
|
||||||
"scroll_position": 0.0,
|
"scroll_position": 89.0,
|
||||||
"selection": true,
|
"selection": false,
|
||||||
"selection_from_column": 17,
|
|
||||||
"selection_from_line": 104,
|
|
||||||
"selection_to_column": 22,
|
|
||||||
"selection_to_line": 105,
|
|
||||||
"syntax_highlighter": "GDScript"
|
"syntax_highlighter": "GDScript"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -171,3 +167,35 @@ state={
|
|||||||
"selection": false,
|
"selection": false,
|
||||||
"syntax_highlighter": "GDScript"
|
"syntax_highlighter": "GDScript"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[res://scripts/road_surface_mesh.gd]
|
||||||
|
|
||||||
|
state={
|
||||||
|
"bookmarks": PackedInt32Array(),
|
||||||
|
"breakpoints": PackedInt32Array(),
|
||||||
|
"column": 24,
|
||||||
|
"folded_lines": Array[int]([]),
|
||||||
|
"h_scroll_position": 0,
|
||||||
|
"row": 40,
|
||||||
|
"scroll_position": 6.0,
|
||||||
|
"selection": false,
|
||||||
|
"syntax_highlighter": "GDScript"
|
||||||
|
}
|
||||||
|
|
||||||
|
[res://common/global.gd]
|
||||||
|
|
||||||
|
state={
|
||||||
|
"bookmarks": PackedInt32Array(),
|
||||||
|
"breakpoints": PackedInt32Array(),
|
||||||
|
"column": 13,
|
||||||
|
"folded_lines": Array[int]([]),
|
||||||
|
"h_scroll_position": 0,
|
||||||
|
"row": 26,
|
||||||
|
"scroll_position": 2.0,
|
||||||
|
"selection": true,
|
||||||
|
"selection_from_column": 4,
|
||||||
|
"selection_from_line": 26,
|
||||||
|
"selection_to_column": 13,
|
||||||
|
"selection_to_line": 26,
|
||||||
|
"syntax_highlighter": "GDScript"
|
||||||
|
}
|
||||||
|
@ -175,4 +175,4 @@ Anim={
|
|||||||
"zfar": 4000.01,
|
"zfar": 4000.01,
|
||||||
"znear": 0.05
|
"znear": 0.05
|
||||||
}
|
}
|
||||||
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/ItemLabel")])
|
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@16894/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9280/@VSplitContainer@9102/@HSplitContainer@9104/@HSplitContainer@9106/@Control@9107/@SubViewportContainer@9108/@SubViewport@9109/Control/main/HBoxContainer/MarginContainer/Main3DVehicle")])
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="aad6934438abd84b33cf1a2d2c84b0cd"
|
||||||
|
dest_md5="22781889bf24e8ebae5a8c48d175eb15"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="1a8f6cd1cdae8110e36fe39215a8d5b5"
|
||||||
|
dest_md5="3a895c1f0f2a6d8a9377e0510323b9c8"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="c492f1f26889983739e68c8e8af4a51a"
|
||||||
|
dest_md5="cb80d5058f7549dee4dc2c06aec763d6"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="93711b9716871998b7eed7a075ed05df"
|
||||||
|
dest_md5="1ce1c89a25aae2ce26e7f91ad991a17e"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="876d9f329510ab1383ef27d53992a706"
|
||||||
|
dest_md5="21e064d895c7e89e3f534696e5d317bb"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="3371a4bda7cfca5594c7cf5726037cd0"
|
||||||
|
dest_md5="168665b6bf93e833b1f955c79e6ddc46"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="16a204fe41f474fe4f45c10ac4b2ea3b"
|
||||||
|
dest_md5="3ab95a210b20d3aa48711f8c9797c11b"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="620b4fb9befecd0801a9e53196d7776a"
|
||||||
|
dest_md5="17815e1d4688ca0fde3c170d3ff087f5"
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
source_md5="461c65a157b235e8b921f93c34daa2df"
|
||||||
|
dest_md5="cf7625729bf014e69b0036d2e202b9f0"
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8
app/src/main/assets/line.tres
Normal file
8
app/src/main/assets/line.tres
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bymlh4pfgxavf"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
render_priority = 3
|
||||||
|
transparency = 1
|
||||||
|
cull_mode = 1
|
||||||
|
shading_mode = 0
|
||||||
|
albedo_color = Color(0.909804, 0.94902, 1, 0.580392)
|
9
app/src/main/assets/line_3.tres
Normal file
9
app/src/main/assets/line_3.tres
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bmpw2we30hv4q"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
render_priority = 2
|
||||||
|
transparency = 1
|
||||||
|
blend_mode = 3
|
||||||
|
shading_mode = 0
|
||||||
|
albedo_color = Color(0.52114, 0.521141, 0.52114, 0.760784)
|
||||||
|
heightmap_enabled = true
|
374
app/src/main/assets/main.gd
Normal file
374
app/src/main/assets/main.gd
Normal file
@ -0,0 +1,374 @@
|
|||||||
|
extends Node3D
|
||||||
|
var rotation_d = [Vector2(-79.5,-90),Vector2(-20,-90)]
|
||||||
|
|
||||||
|
|
||||||
|
var camera_z = [20,10]
|
||||||
|
var camera_index = 0 :
|
||||||
|
set(value):
|
||||||
|
camera_index = value
|
||||||
|
var tween = get_tree().create_tween()
|
||||||
|
tween.set_parallel(true)
|
||||||
|
tween.tween_property(%Camera3D, "rotation_degrees",Vector3(0,rotation_d[camera_index].y,0), 1)
|
||||||
|
tween.tween_property(%Vertical, "rotation_degrees", Vector3(rotation_d[camera_index].x,0,0), 1)
|
||||||
|
tween.tween_property(%ViewCamera, "position", Vector3(0,2.687,camera_z[camera_index]), 1)
|
||||||
|
|
||||||
|
#func _init() -> void:
|
||||||
|
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
Global.scene3d = self
|
||||||
|
|
||||||
|
Global.sub_viewport = $SubViewport
|
||||||
|
Global.sub_viewport_2 = $SubViewport2
|
||||||
|
Websocket.connected_to_server.connect(Callable(self,"connected_to_server"))
|
||||||
|
Websocket.message_received.connect(Callable(self,"message_received"))
|
||||||
|
|
||||||
|
func connected_to_server():
|
||||||
|
update_turn_indicators_status()
|
||||||
|
update_actuation_status()
|
||||||
|
update_vehicle_door_report()
|
||||||
|
update_vcu_report1()
|
||||||
|
update_steering_status()
|
||||||
|
update_pose()
|
||||||
|
|
||||||
|
|
||||||
|
# teddy add
|
||||||
|
#update_vector_map_marker()
|
||||||
|
#update_trajectory()
|
||||||
|
#update_start_planner()
|
||||||
|
#update_pointcloud_map()
|
||||||
|
#update_predicted_objects()
|
||||||
|
|
||||||
|
# end
|
||||||
|
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# 将四元数转换为欧拉角(roll, pitch, yaw)
|
||||||
|
func quaternion_to_euler(quaternion: Quaternion) -> Vector3:
|
||||||
|
var roll: float
|
||||||
|
var pitch: float
|
||||||
|
var yaw: float
|
||||||
|
|
||||||
|
# 计算四元数分量的平方
|
||||||
|
var sqx = quaternion.x * quaternion.x
|
||||||
|
var sqy = quaternion.y * quaternion.y
|
||||||
|
var sqz = quaternion.z * quaternion.z
|
||||||
|
var sqw = quaternion.w * quaternion.w
|
||||||
|
|
||||||
|
# 计算sarg,它代表pitch的sin值
|
||||||
|
var sarg = -2 * (quaternion.x * quaternion.z - quaternion.w * quaternion.y)
|
||||||
|
var pi_2 = PI/2 # π/2,表示90度的弧度值
|
||||||
|
|
||||||
|
# 处理万向节锁情况
|
||||||
|
if sarg <= -0.99999:
|
||||||
|
pitch = -pi_2 # pitch设为-90度
|
||||||
|
roll = 0 # roll设为0
|
||||||
|
yaw = 2 * atan2(quaternion.x, -quaternion.y) # 计算yaw角
|
||||||
|
elif sarg >= 0.99999:
|
||||||
|
pitch = pi_2 # pitch设为90度
|
||||||
|
roll = 0 # roll设为0
|
||||||
|
yaw = 2 * atan2(-quaternion.x, quaternion.y) # 计算yaw角
|
||||||
|
else:
|
||||||
|
# 在一般情况下,计算pitch, roll和yaw
|
||||||
|
pitch = asin(sarg)
|
||||||
|
roll = atan2(2 * (quaternion.y * quaternion.z + quaternion.w * quaternion.x), sqw - sqx - sqy + sqz)
|
||||||
|
yaw = atan2(2 * (quaternion.x * quaternion.y + quaternion.w * quaternion.z), sqw + sqx - sqy - sqz)
|
||||||
|
|
||||||
|
# 返回欧拉角,作为一个Vector3对象
|
||||||
|
return Vector3(roll, yaw, pitch)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
func message_received(data:Dictionary):
|
||||||
|
if data.is_empty():return
|
||||||
|
if !data.has("topic"):return
|
||||||
|
match data.topic:
|
||||||
|
"/localization/pose_twist_fusion_filter/pose":
|
||||||
|
var post = data.msg.pose
|
||||||
|
|
||||||
|
mb_post = Vector3(post.position.x, post.position.z, -post.position.y)
|
||||||
|
mb_rotation = quaternion_to_euler(Quaternion(post.orientation.x,post.orientation.y,post.orientation.z,post.orientation.w))
|
||||||
|
|
||||||
|
"/vehicle/status/steering_status":
|
||||||
|
var max_angle = 30
|
||||||
|
var min_angle = -30
|
||||||
|
var actual_angle = -data.msg.steering_tire_angle
|
||||||
|
#print(data.msg.steering_tire_angle)
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/wheel/Back_left
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/wheel/Back_left.rotation.y = actual_angle
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/wheel/Back_right.rotation.y = actual_angle
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/wheel/Front_left.rotation.y = -actual_angle
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/wheel/Front_right.rotation.y = -actual_angle
|
||||||
|
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/mudguard/mudguard_001.rotation.y = -actual_angle + 3.1316
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/mudguard/mudguard_002.rotation.y = -actual_angle + 3.1316
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/mudguard/mudguard_003.rotation.y = actual_angle + 3.1316
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/mudguard/mudguard_004.rotation.y = actual_angle + 3.1316
|
||||||
|
|
||||||
|
"/pix_robobus/vcu_report1":
|
||||||
|
match data.msg.turn_light_actual:
|
||||||
|
0:
|
||||||
|
%webcam.url = ""
|
||||||
|
#%webcam.request()
|
||||||
|
inite_zhuan()
|
||||||
|
1:
|
||||||
|
inite_zhuan()
|
||||||
|
|
||||||
|
%webcam.url = "http://192.168.4.88:8080/snapshot?topic=/camera1/image_raw"
|
||||||
|
%webcam.request()
|
||||||
|
|
||||||
|
#%LeftTurnLights.get("surface_material_override/0").set_shader_parameter("is_shandeng",true)
|
||||||
|
2:
|
||||||
|
inite_zhuan()
|
||||||
|
|
||||||
|
%webcam.url = "http://192.168.4.88:8080/snapshot?topic=/camera1/image_raw"
|
||||||
|
%webcam.request()
|
||||||
|
|
||||||
|
#%RightTurnLights.get("surface_material_override/0").set_shader_parameter("is_shandeng",true)
|
||||||
|
#3:
|
||||||
|
#%LeftTurnLights.get("surface_material_override/0").set_shader_parameter("is_shandeng",true)
|
||||||
|
#%RightTurnLights.get("surface_material_override/0").set_shader_parameter("is_shandeng",true)
|
||||||
|
|
||||||
|
_:
|
||||||
|
inite_zhuan()
|
||||||
|
|
||||||
|
"/vehicle/status/actuation_status":
|
||||||
|
if data.msg.status.brake_status <= 0.1:
|
||||||
|
#$EgoVehicle/VehicleBody3D/Light_Cover_2.set("surface_material_override/0",null)
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/lighting/brake_lights_2.set("surface_material_override/0",null)
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/lighting/brake_lights_4.set("surface_material_override/0",null)
|
||||||
|
|
||||||
|
else:
|
||||||
|
#$EgoVehicle/VehicleBody3D/Light_Cover_2.set("surface_material_override/0",load("res://sha_ce.material"))
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/lighting/brake_lights_2.set("surface_material_override/0",load("res://sha_ce.material"))
|
||||||
|
$EgoVehicle/robobus_a21_v11/robobus/lighting/brake_lights_4.set("surface_material_override/0",load("res://sha_ce.material"))
|
||||||
|
|
||||||
|
"/vehicle/status/velocity_status":
|
||||||
|
actuation_status = data.msg.longitudinal_velocity
|
||||||
|
#$MeshInstance3D.get("surface_material_override/0").set_shader_parameter("sd", data.msg.longitudinal_velocity *0.1)
|
||||||
|
|
||||||
|
"/pix_robobus/vehicle_door_report":
|
||||||
|
if(data.msg.door_open_inplace and (not data.msg.door_close_inplace)):
|
||||||
|
if current_animation != "开门":
|
||||||
|
current_animation = "开门"
|
||||||
|
#print( $AnimationPlayer.current_animation)
|
||||||
|
$AnimationPlayer.play("开门")
|
||||||
|
elif((not data.msg.door_open_inplace) and data.msg.door_close_inplace):
|
||||||
|
if current_animation != "关门":
|
||||||
|
current_animation = "关门"
|
||||||
|
$AnimationPlayer.play("关门")
|
||||||
|
else :
|
||||||
|
$AnimationPlayer.play("关门")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
"/map/vector_map_marker":
|
||||||
|
if data.msg and data.msg.markers:
|
||||||
|
for marker in data.msg.markers:
|
||||||
|
var position = marker.pose.position
|
||||||
|
var x = position.x
|
||||||
|
var y = position.y
|
||||||
|
var z = position.z
|
||||||
|
#print("Position of marker: x = %.2f, y = %.2f, z = %.2f" % [x, y, z])
|
||||||
|
|
||||||
|
|
||||||
|
var color = marker.color
|
||||||
|
var r = color.r
|
||||||
|
var g = color.g
|
||||||
|
var b = color.b
|
||||||
|
var a = color.a
|
||||||
|
#print("Color of marker: r = %.2f, g = %.2f, b = %.2f, a = %.2f" % [r, g, b, a])
|
||||||
|
|
||||||
|
|
||||||
|
"/planning/scenario_planning/trajectory":
|
||||||
|
#var eps = 0.1
|
||||||
|
#var is_dy = true
|
||||||
|
#for point in data.msg.points:
|
||||||
|
#if eps < point.longitudinal_velocity_mps:
|
||||||
|
#print(point)
|
||||||
|
#is_dy = false
|
||||||
|
#break
|
||||||
|
#print(is_dy)
|
||||||
|
#print(data.msg.points[0].longitudinal_velocity_mps)
|
||||||
|
%WallTriangle.visible = 0.26 > data.msg.points[0].longitudinal_velocity_mps
|
||||||
|
|
||||||
|
|
||||||
|
#var post = data.msg.points.back().pose.position
|
||||||
|
#%WallTriangle.global_position = Vector3(post.x,post.z,-post.y)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var current_animation = ""
|
||||||
|
func update_turn_indicators_status():#灯光反馈
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/vehicle/status/turn_indicators_status",
|
||||||
|
"type": "autoware_auto_vehicle_msgs/msg/TurnIndicatorsReport"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
|
||||||
|
func update_actuation_status():#刹车
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/vehicle/status/actuation_status",
|
||||||
|
"type": "tier4_vehicle_msgs/msg/ActuationStatusStamped"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
|
||||||
|
func update_vehicle_door_report():#车门
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/pix_robobus/vehicle_door_report",
|
||||||
|
"type": "pix_robobus_driver_msgs/msg/VehicleDoorReport"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
|
||||||
|
func update_steering_status():#转向弧度
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/vehicle/status/steering_status",
|
||||||
|
"type": "autoware_auto_vehicle_msgs/msg/SteeringReport"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
|
||||||
|
func update_vcu_report1():#底盘反馈
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/pix_robobus/vcu_report1",
|
||||||
|
"type": "pix_robobus_driver_msgs/msg/VcuReport1"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
|
||||||
|
func update_velocity_status():#车速
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/vehicle/status/velocity_status",
|
||||||
|
"type": "autoware_auto_vehicle_msgs/msg/VelocityReport"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# teddy add
|
||||||
|
func update_vector_map_marker(): # 可视化矢量地图
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/map/vector_map_marker",
|
||||||
|
"type": "visualization_msgs/msg/MarkerArray"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
func update_trajectory(): # 局部路径轨迹
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/planning/scenario_planning/trajectory",
|
||||||
|
"type": "autoware_auto_planning_msgs/msg/Trajectory"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
func update_start_planner(): # 全局路径轨迹
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/planning/path_candidate/start_planner",
|
||||||
|
"type": "autoware_auto_planning_msgs/msg/Path"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
func update_pointcloud_map(): # 点云地图
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/map/pointcloud_map",
|
||||||
|
"type": "sensor_msgs/msg/PointCloud2"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
func update_predicted_objects(): # 障碍物
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/perception/object_recognition/objects",
|
||||||
|
"type": "autoware_auto_perception_msgs/msg/PredictedObjects"
|
||||||
|
}
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
func update_pose(): # POSE
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/localization/pose_twist_fusion_filter/pose",
|
||||||
|
"type": "geometry_msgs/msg/PoseStamped"
|
||||||
|
}
|
||||||
|
|
||||||
|
Websocket.send_msg(str(send_data))
|
||||||
|
|
||||||
|
func update_wall_triangle_status(): # wall
|
||||||
|
var send_data = {
|
||||||
|
"op": "subscribe",
|
||||||
|
"topic": "/planning/scenario_planning/trajectory",
|
||||||
|
"type": "autoware_auto_planning_msgs/msg/Trajectory"
|
||||||
|
}
|
||||||
|
|
||||||
|
# end
|
||||||
|
|
||||||
|
|
||||||
|
func inite_zhuan():#初始化转向灯
|
||||||
|
return
|
||||||
|
%LeftTurnLights.get("surface_material_override/0").set_shader_parameter("is_shandeng",false)
|
||||||
|
%RightTurnLights.get("surface_material_override/0").set_shader_parameter("is_shandeng",false)
|
||||||
|
|
||||||
|
var actuation_status = 0
|
||||||
|
var mb_post = Vector3(0,0,0)
|
||||||
|
var mb_rotation = Vector3(0,0,0)
|
||||||
|
func _process(delta):
|
||||||
|
if mb_post.distance_to($EgoVehicle.global_position) > 10:
|
||||||
|
$EgoVehicle.global_position = mb_post
|
||||||
|
$EgoVehicle.rotation = mb_rotation
|
||||||
|
else:
|
||||||
|
$EgoVehicle.global_position = lerp($EgoVehicle.global_position,mb_post,1*delta)
|
||||||
|
$EgoVehicle.rotation.x = lerp_angle($EgoVehicle.rotation.x,mb_rotation.x,1*delta)
|
||||||
|
$EgoVehicle.rotation.y = lerp_angle($EgoVehicle.rotation.y,mb_rotation.y,1*delta)
|
||||||
|
$EgoVehicle.rotation.z = lerp_angle($EgoVehicle.rotation.z,mb_rotation.z,1*delta)
|
||||||
|
|
||||||
|
xz(delta*500*actuation_status)
|
||||||
|
|
||||||
|
$SubViewport/Camera3D.global_position.x = $EgoVehicle.global_position.x
|
||||||
|
$SubViewport/Camera3D.global_position.z = $EgoVehicle.global_position.z
|
||||||
|
$SubViewport/Camera3D.global_position.y = $EgoVehicle.global_position.y + 70
|
||||||
|
$SubViewport/Camera3D.global_rotation_degrees.y = $EgoVehicle.global_rotation_degrees.y - 90
|
||||||
|
$SubViewport2/Camera3D.global_transform = %ViewCamera.global_transform
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var jd = 360
|
||||||
|
func xz(delta):
|
||||||
|
jd -= delta
|
||||||
|
if jd <= 0:
|
||||||
|
jd = 360
|
||||||
|
var arr = [$EgoVehicle/robobus_a21_v11/robobus/wheel/Back_left, $EgoVehicle/robobus_a21_v11/robobus/wheel/Back_right, $EgoVehicle/robobus_a21_v11/robobus/wheel/Front_left, $EgoVehicle/robobus_a21_v11/robobus/wheel/Front_right]
|
||||||
|
|
||||||
|
for item in arr:
|
||||||
|
item.rotation_degrees.z = jd * -1
|
||||||
|
|
||||||
|
|
||||||
|
var is_move = true
|
||||||
|
func _input(event: InputEvent) -> void:
|
||||||
|
if event is InputEventScreenPinch:#手指捏合
|
||||||
|
%ViewCamera.position.z -= event.relative * 0.01
|
||||||
|
is_move = false
|
||||||
|
$EgoVehicle/Timer.start()
|
||||||
|
|
||||||
|
func _on_control_gui_input(event):
|
||||||
|
if event is InputEventScreenDrag and is_move:
|
||||||
|
%Vertical.rotation.y -= event.relative.x * 0.01
|
||||||
|
%Vertical.rotation.x -= event.relative.y * 0.01
|
||||||
|
%Vertical.rotation_degrees.x = clampf(%Vertical.rotation_degrees.x,-90,0 )
|
||||||
|
#if %Vertical.rotation.x >0 :
|
||||||
|
#%Vertical.rotation.x = 0
|
||||||
|
#if %Vertical.rotation.x > -90 :
|
||||||
|
#%Vertical.rotation.x = -90
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
func _on_timer_timeout() -> void:
|
||||||
|
is_move = true
|
||||||
|
pass # Replace with function body.
|
File diff suppressed because one or more lines are too long
@ -4,6 +4,10 @@ extends BaseControl
|
|||||||
@onready var data_panel = %DataPanel
|
@onready var data_panel = %DataPanel
|
||||||
@onready var main_3d_vehicle_information: MarginContainer = %Main3DVehicleInformation
|
@onready var main_3d_vehicle_information: MarginContainer = %Main3DVehicleInformation
|
||||||
@onready var main_3d_vehicle_background: NinePatchRect = %Main3DVehicleBackground
|
@onready var main_3d_vehicle_background: NinePatchRect = %Main3DVehicleBackground
|
||||||
|
|
||||||
|
@onready var prompt_text: MarginContainer = %PromptText
|
||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
%Main3DVehicleTexture.texture = Global.EgoVehicle3D.MainSubGetTexture()
|
%Main3DVehicleTexture.texture = Global.EgoVehicle3D.MainSubGetTexture()
|
||||||
|
|
||||||
|
43
app/src/main/assets/scripts/csg_mesh_3d.gd
Normal file
43
app/src/main/assets/scripts/csg_mesh_3d.gd
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
@tool
|
||||||
|
extends Node3D
|
||||||
|
|
||||||
|
@export var a = false:
|
||||||
|
set(value):
|
||||||
|
var arr = [Vector3(428.2168, 8.623453, -227.8385), Vector3(428.1051, 8.6564, -229.2604), Vector3(426.622, 8.9364, -242.6571), Vector3(426.0689, 9.0102, -246.3827), Vector3(426.0144, 9.0102, -246.7882), Vector3(425.964, 9.0102, -247.249), Vector3(425.9302, 9.0102, -247.684), Vector3(425.9099, 9.0102, -248.1199), Vector3(425.9033, 9.0102, -248.5564), Vector3(425.9103, 9.0102, -248.993), Vector3(425.9309, 9.0102, -249.4293), Vector3(425.9652, 9.0102, -249.8648), Vector3(426.0131, 9.0102, -250.2991), Vector3(426.0745, 9.0102, -250.7319), Vector3(426.1495, 9.0102, -251.1626), Vector3(426.2379, 9.0102, -251.5909), Vector3(426.3396, 9.0102, -252.0163), Vector3(426.4546, 9.0102, -252.4385), Vector3(426.5828, 9.0102, -252.857), Vector3(426.7241, 9.0102, -253.2713), Vector3(426.8783, 9.0102, -253.6812), Vector3(427.0452, 9.0102, -254.0861), Vector3(427.2247, 9.0102, -254.4857), Vector3(427.4168, 9.0102, -254.8796), Vector3(427.621, 9.0102, -255.2674), Vector3(427.8374, 9.0102, -255.6488), Vector3(428.0656, 9.0102, -256.0233), Vector3(428.3054, 9.0102, -256.3906), Vector3(428.5567, 9.0102, -256.7503), Vector3(428.8192, 9.0102, -257.102), Vector3(429.0926, 9.0102, -257.4455), Vector3(429.3766, 9.0102, -257.7804), Vector3(429.6711, 9.0102, -258.1063), Vector3(429.9757, 9.0102, -258.4229), Vector3(430.2901, 9.0102, -258.7299), Vector3(430.614, 9.0102, -259.027), Vector3(430.9472, 9.0102, -259.314), Vector3(431.2892, 9.0102, -259.5904), Vector3(431.6398, 9.0102, -259.8561), Vector3(431.9986, 9.0102, -260.1108), Vector3(432.3653, 9.0102, -260.3542), Vector3(432.7395, 9.0102, -260.5861), Vector3(433.1209, 9.0102, -260.8063), Vector3(433.509, 9.0102, -261.0145), Vector3(433.9036, 9.0102, -261.2105), Vector3(434.3042, 9.0102, -261.3941), Vector3(434.7104, 9.0102, -261.5651), Vector3(435.122, 9.0102, -261.7235), Vector3(435.5383, 9.0102, -261.8689), Vector3(435.9591, 9.0102, -262.0013), Vector3(436.384, 9.0102, -262.1205), Vector3(436.8124, 9.0102, -262.2263), Vector3(437.2441, 9.0102, -262.3188), Vector3(437.6786, 9.0102, -262.3978), Vector3(438.1397, 9.0102, -262.4664), Vector3(441.5602, 9.6755, -262.7914), Vector3(471.8963, 10.5332, -265.4572), Vector3(508.307, 11.5039, -268.558), Vector3(550.8515, 12.7924, -272.3389), Vector3(570.2333, 13.32565, -274.1788)]
|
||||||
|
add_ptah(arr,$CSGMesh3D)
|
||||||
|
func add_ptah(arr,node):
|
||||||
|
|
||||||
|
var vertices = PackedVector3Array()
|
||||||
|
for index in arr.size():
|
||||||
|
if index >= arr.size() -1: break
|
||||||
|
var a_post:Vector3 = arr[index]
|
||||||
|
var b_post:Vector3 = arr[index + 1]
|
||||||
|
var a1 = calculate_A2_position(Vector2(a_post.x,a_post.z),Vector2(b_post.x,b_post.z),1)
|
||||||
|
vertices.push_back(a_post)
|
||||||
|
vertices.push_back(Vector3(a1.x,a_post.y,a1.y))
|
||||||
|
vertices.push_back(b_post)
|
||||||
|
|
||||||
|
var b1 = calculate_A2_position(Vector2(b_post.x,b_post.z),Vector2(a_post.x,a_post.z),1)
|
||||||
|
vertices.push_back(Vector3(b1.x,b_post.y,b1.y))
|
||||||
|
vertices.push_back(b_post)
|
||||||
|
|
||||||
|
vertices.push_back(Vector3(a1.x,a_post.y,a1.y))
|
||||||
|
# 初始化 ArrayMesh。
|
||||||
|
var arr_mesh = ArrayMesh.new()
|
||||||
|
var arrays = []
|
||||||
|
arrays.resize(Mesh.ARRAY_MAX)
|
||||||
|
arrays[Mesh.ARRAY_VERTEX] = vertices
|
||||||
|
# 创建 Mesh。
|
||||||
|
arr_mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, arrays)
|
||||||
|
node.mesh = arr_mesh
|
||||||
|
pass
|
||||||
|
func calculate_A2_position(A1: Vector2, B1: Vector2, distance_to_A2: float) -> Vector2:
|
||||||
|
var m_l2 = (B1.y - A1.y) / (B1.x - A1.x) # 计算m_l2 (B1 和 A1之间的斜率)
|
||||||
|
var m_l1 = -1 / m_l2 # 计算m_l1 (垂直线的斜率)
|
||||||
|
var dx = distance_to_A2 / sqrt(1 + pow(m_l1, 2)) # 计算 dx 和 dy
|
||||||
|
var dy = m_l1 * dx
|
||||||
|
# 计算 A2 的位置 (有两个可能的解)
|
||||||
|
var A2_1 = Vector2(A1.x + dx, A1.y + dy)
|
||||||
|
var A2_2 = Vector2(A1.x - dx, A1.y - dy)
|
||||||
|
# 你可以根据实际情况返回其中一个解
|
||||||
|
return A2_1 # 此处默认返回第一个解 A2_1
|
84
app/src/main/assets/scripts/dynamic_object_mesh.gd
Normal file
84
app/src/main/assets/scripts/dynamic_object_mesh.gd
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
extends MeshInstance3D
|
||||||
|
|
||||||
|
var dynamic_objects = DynamicObjects.new()
|
||||||
|
var only_known_object = true
|
||||||
|
var object_3d_model_mode = false
|
||||||
|
|
||||||
|
var pool_size = 100
|
||||||
|
var model_types = {
|
||||||
|
"car": {"scene": preload("res://DynamicObject/Car.tscn"), "pool": []},
|
||||||
|
"pedestrian": {"scene": preload("res://DynamicObject/Pedestrian.tscn"), "pool": []},
|
||||||
|
"truck": {"scene": preload("res://DynamicObject/Truck.tscn"), "pool": []},
|
||||||
|
"trailer": {"scene": preload("res://DynamicObject/Trailer.tscn"), "pool": []},
|
||||||
|
"bus": {"scene": preload("res://DynamicObject/Bus.tscn"), "pool": []},
|
||||||
|
"bicycle": {"scene": preload("res://DynamicObject/Bicycle.tscn"), "pool": []},
|
||||||
|
"motorcycle": {"scene": preload("res://DynamicObject/Motorcycle.tscn"), "pool": []}
|
||||||
|
}
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
dynamic_objects.subscribe("/perception/object_recognition/objects", false)
|
||||||
|
initialize_model_pools()
|
||||||
|
|
||||||
|
func initialize_model_pools():
|
||||||
|
for model_type in model_types:
|
||||||
|
for i in range(pool_size):
|
||||||
|
var node = model_types[model_type]["scene"].instantiate()
|
||||||
|
node.visible = false
|
||||||
|
add_child(node)
|
||||||
|
model_types[model_type]["pool"].append(node)
|
||||||
|
|
||||||
|
func _process(_delta):
|
||||||
|
if not dynamic_objects.has_new():
|
||||||
|
return
|
||||||
|
|
||||||
|
if object_3d_model_mode:
|
||||||
|
var object_list = dynamic_objects.get_dynamic_object_list(only_known_object)
|
||||||
|
reset_visibility()
|
||||||
|
update_models(object_list)
|
||||||
|
else:
|
||||||
|
var arr = []
|
||||||
|
arr.resize(Mesh.ARRAY_MAX)
|
||||||
|
var verts = PackedVector3Array()
|
||||||
|
var normals = PackedVector3Array()
|
||||||
|
|
||||||
|
var triangle_list = dynamic_objects.get_triangle_list(only_known_object)
|
||||||
|
|
||||||
|
for point in triangle_list:
|
||||||
|
verts.append(point["position"])
|
||||||
|
normals.append(point["normal"])
|
||||||
|
|
||||||
|
arr[Mesh.ARRAY_VERTEX] = verts
|
||||||
|
arr[Mesh.ARRAY_NORMAL] = normals
|
||||||
|
|
||||||
|
if !verts.is_empty():
|
||||||
|
reset_visibility()
|
||||||
|
mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, arr)
|
||||||
|
dynamic_objects.set_old()
|
||||||
|
|
||||||
|
func reset_visibility():
|
||||||
|
mesh.clear_surfaces()
|
||||||
|
for model_type in model_types:
|
||||||
|
for node in model_types[model_type]["pool"]:
|
||||||
|
node.visible = false
|
||||||
|
|
||||||
|
func update_models(object_list):
|
||||||
|
var model_indices = {}
|
||||||
|
for model_type in model_types.keys():
|
||||||
|
model_indices[model_type] = 0
|
||||||
|
for object in object_list:
|
||||||
|
var model_type = object["class"]
|
||||||
|
if model_type in model_types:
|
||||||
|
var pool = model_types[model_type]["pool"]
|
||||||
|
var index = model_indices[model_type]
|
||||||
|
if index < pool.size():
|
||||||
|
var node = pool[index]
|
||||||
|
node.visible = true
|
||||||
|
node.set_position(Vector3(object["position"].x, object["position"].y - object["size"].y * 0.5, object["position"].z))
|
||||||
|
node.set_rotation(object["rotation"])
|
||||||
|
model_indices[model_type] += 1
|
||||||
|
|
||||||
|
func _on_OnlyKnownObjectCheckButton_toggled(button_pressed):
|
||||||
|
only_known_object = button_pressed
|
||||||
|
|
||||||
|
func _on_d_model_object_toggled(toggled_on):
|
||||||
|
object_3d_model_mode = toggled_on
|
47
app/src/main/assets/scripts/obstacle_segmentation_mesh.gd
Normal file
47
app/src/main/assets/scripts/obstacle_segmentation_mesh.gd
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
extends MeshInstance3D
|
||||||
|
|
||||||
|
var pointcloud = PointCloud.new()
|
||||||
|
var sum_time = 0.0
|
||||||
|
var transparency_speed = 4.0
|
||||||
|
var transparency_scale = 0.3 # 0.0~0.5
|
||||||
|
var cycle_time = 3.0
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
pointcloud.subscribe("/perception/obstacle_segmentation/pointcloud", false)
|
||||||
|
|
||||||
|
func _process(delta):
|
||||||
|
sum_time += delta
|
||||||
|
|
||||||
|
if sum_time * transparency_speed < 2 * PI:
|
||||||
|
transparency = clamp(cos(sum_time * transparency_speed) * transparency_scale + (1 - transparency_scale), 0.0, 1.0)
|
||||||
|
else:
|
||||||
|
transparency = 1.0
|
||||||
|
if (cycle_time < sum_time):
|
||||||
|
sum_time = 0.0
|
||||||
|
|
||||||
|
|
||||||
|
if !pointcloud.has_new():
|
||||||
|
return
|
||||||
|
|
||||||
|
var arr = []
|
||||||
|
arr.resize(Mesh.ARRAY_MAX)
|
||||||
|
var verts = PackedVector3Array()
|
||||||
|
# var uvs = PoolVector2Array()
|
||||||
|
# var normals = PoolVector3Array()
|
||||||
|
# var indices = PoolIntArray()
|
||||||
|
|
||||||
|
verts = pointcloud.get_pointcloud("map")
|
||||||
|
# for vert in verts:
|
||||||
|
# uvs.append(Vector2(vert.y, 0))
|
||||||
|
|
||||||
|
arr[Mesh.ARRAY_VERTEX] = verts
|
||||||
|
# arr[Mesh.ARRAY_TEX_UV] = uvs
|
||||||
|
|
||||||
|
if !verts.is_empty():
|
||||||
|
mesh.clear_surfaces()
|
||||||
|
mesh.add_surface_from_arrays(Mesh.PRIMITIVE_POINTS, arr)
|
||||||
|
pointcloud.set_old()
|
||||||
|
|
||||||
|
|
||||||
|
func _on_enable_obstacle_segmentation_button_toggled(toggled_on):
|
||||||
|
visible = toggled_on
|
50
app/src/main/assets/scripts/path_drivable_area_mesh.gd
Normal file
50
app/src/main/assets/scripts/path_drivable_area_mesh.gd
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
extends MeshInstance3D
|
||||||
|
|
||||||
|
var path = BehaviorPath.new()
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
path.subscribe("/planning/scenario_planning/lane_driving/behavior_planning/path", false)
|
||||||
|
|
||||||
|
func _process(_delta):
|
||||||
|
if !path.has_new():
|
||||||
|
return
|
||||||
|
|
||||||
|
# Drivable area
|
||||||
|
var drivable_area_triangle_strip = path.get_drivable_area_triangle_strip(0.1)
|
||||||
|
|
||||||
|
# Left line
|
||||||
|
var left_line_triangle_strip = drivable_area_triangle_strip["left_line"]
|
||||||
|
var left_line_arr = []
|
||||||
|
left_line_arr.resize(Mesh.ARRAY_MAX)
|
||||||
|
var left_line_verts = PackedVector3Array()
|
||||||
|
var left_line_normals = PackedVector3Array()
|
||||||
|
var left_line_colors = PackedColorArray()
|
||||||
|
for point in left_line_triangle_strip:
|
||||||
|
left_line_verts.append(point["position"])
|
||||||
|
left_line_normals.append(point["normal"])
|
||||||
|
left_line_colors.append(Color(0.0, 0.25, 1.0, 0.9))
|
||||||
|
left_line_arr[Mesh.ARRAY_VERTEX] = left_line_verts
|
||||||
|
left_line_arr[Mesh.ARRAY_NORMAL] = left_line_normals
|
||||||
|
left_line_arr[Mesh.ARRAY_COLOR] = left_line_colors
|
||||||
|
|
||||||
|
# Right line
|
||||||
|
var right_line_triangle_strip = drivable_area_triangle_strip["right_line"]
|
||||||
|
var right_line_arr = []
|
||||||
|
right_line_arr.resize(Mesh.ARRAY_MAX)
|
||||||
|
var right_line_verts = PackedVector3Array()
|
||||||
|
var right_line_normals = PackedVector3Array()
|
||||||
|
var right_line_colors = PackedColorArray()
|
||||||
|
for point in right_line_triangle_strip:
|
||||||
|
right_line_verts.append(point["position"])
|
||||||
|
right_line_normals.append(point["normal"])
|
||||||
|
right_line_colors.append(Color(0.0, 0.25, 1.0, 0.9))
|
||||||
|
right_line_arr[Mesh.ARRAY_VERTEX] = right_line_verts
|
||||||
|
right_line_arr[Mesh.ARRAY_NORMAL] = right_line_normals
|
||||||
|
right_line_arr[Mesh.ARRAY_COLOR] = right_line_colors
|
||||||
|
|
||||||
|
if !left_line_verts.is_empty():
|
||||||
|
mesh.clear_surfaces()
|
||||||
|
mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLE_STRIP, left_line_arr)
|
||||||
|
mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLE_STRIP, right_line_arr)
|
||||||
|
path.set_old()
|
||||||
|
|
34
app/src/main/assets/scripts/point_cloud_map_mesh.gd
Normal file
34
app/src/main/assets/scripts/point_cloud_map_mesh.gd
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
extends MeshInstance3D
|
||||||
|
|
||||||
|
var pointcloud = PointCloud.new()
|
||||||
|
var visualize_again = false
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
pointcloud.subscribe("/map/pointcloud_map", true)
|
||||||
|
|
||||||
|
func _process(_delta):
|
||||||
|
if not (pointcloud.has_new() or visualize_again):
|
||||||
|
return
|
||||||
|
var arr = []
|
||||||
|
arr.resize(Mesh.ARRAY_MAX)
|
||||||
|
var verts = PackedVector3Array()
|
||||||
|
# var uvs = PoolVector2Array()
|
||||||
|
# var normals = PoolVector3Array()
|
||||||
|
# var indices = PoolIntArray()
|
||||||
|
|
||||||
|
verts = pointcloud.get_pointcloud("map")
|
||||||
|
|
||||||
|
arr[Mesh.ARRAY_VERTEX] = verts
|
||||||
|
# arr[Mesh.ARRAY_TEX_UV] = uvs
|
||||||
|
mesh.clear_surfaces()
|
||||||
|
mesh.add_surface_from_arrays(Mesh.PRIMITIVE_POINTS, arr)
|
||||||
|
visualize_again = false
|
||||||
|
pointcloud.set_old()
|
||||||
|
|
||||||
|
func _on_CheckButton_toggled(button_pressed):
|
||||||
|
|
||||||
|
visible = button_pressed
|
||||||
|
if not visible:
|
||||||
|
mesh.clear_surfaces()
|
||||||
|
elif visible:
|
||||||
|
visualize_again = true
|
19
app/src/main/assets/scripts/road_marker_mesh.gd
Normal file
19
app/src/main/assets/scripts/road_marker_mesh.gd
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
extends MeshInstance3D
|
||||||
|
|
||||||
|
func visualize_mesh(triangle_list):
|
||||||
|
mesh.clear_surfaces()
|
||||||
|
|
||||||
|
var arr = []
|
||||||
|
arr.resize(Mesh.ARRAY_MAX)
|
||||||
|
var verts = PackedVector3Array()
|
||||||
|
var normals = PackedVector3Array()
|
||||||
|
# var colors = PoolColorArray()
|
||||||
|
|
||||||
|
for point in triangle_list:
|
||||||
|
verts.append(point["position"])
|
||||||
|
normals.append(Vector3(0,1,0))
|
||||||
|
|
||||||
|
arr[Mesh.ARRAY_VERTEX] = verts
|
||||||
|
arr[Mesh.ARRAY_NORMAL] = normals
|
||||||
|
mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, arr)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user