Skip to content

Commit

Permalink
Merge pull request #242 from asam-ev/232-align-root-nodes-in-vehicle-…
Browse files Browse the repository at this point in the history
…classes

Add grp root to vehicle structure
  • Loading branch information
LudwigFriedmann authored Dec 13, 2024
2 parents d8ddd87 + 1f6e5b9 commit 2c44f07
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
28 changes: 27 additions & 1 deletion content/geometry/object-vehicle/vehicle-structure.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[plantuml]
----
legend
Root
[[../geometry/object-vehicle/vehicle-index.html#_grp_root_t Grp_Root (T)]]
|_ [[../geometry/object-vehicle/vehicle-index.html#_grp_exterior Grp_Exterior]]
|_ [[../geometry/object-vehicle/vehicle-index.html#_grp_exterior_dynamic Grp_Exterior_Dynamic]]
|_ [[../geometry/object-vehicle/vehicle-index.html#_grp_convertible_top Grp_Convertible_Top (T)]]
Expand Down Expand Up @@ -89,6 +89,32 @@ end legend
----


== Grp_Root (T)

This group is the root node of the entire vehicle.
All components of the vehicle SHALL be children of this node.
The origin of the Root node is the center of the vehicle's bounding box projected to the ground, including all vehicle parts in their default positions, i.e. the vehicle is under neutral load conditions, the wheels are running straight, the doors are closed and the lights are off.

[#tab-Vehicle-Grp-Root]
.Grp_Root
[%header, cols="20, 80"]
|===

2+^| <Header>

| *Origin*
| Center of the vehicle's bounding box projected to the ground, including all vehicle parts in their default positions

| *x-axis*
| Collinear with the vehicle's longitudinal axis, pointing forwards

| *y-axis*
| Completes the right-handed coordinate system

| *z-axis*
| Perpendicular to the x-axis, pointing vertically upwards
|===

== Grp_Exterior

This group contains all parts of the vehicle's exterior.
Expand Down
4 changes: 2 additions & 2 deletions examples/vehicle_example/vehicle_example.gltf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v4.2.57",
"generator":"Khronos glTF Blender I/O v4.3.47",
"version":"2.0"
},
"scene":0,
Expand Down Expand Up @@ -1048,7 +1048,7 @@
93,
117
],
"name":"Root"
"name":"Grp_Root"
}
],
"materials":[
Expand Down

0 comments on commit 2c44f07

Please sign in to comment.