This commit is contained in:
trung09122002
2026-09-18 18:14:42 +07:00
commit 48bd5377dc
224 changed files with 37685 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?xml version="1.0"?>
<!-- The gioi toi thieu cho bai kiem: BA hop giong het nhau ve kich thuoc
that (2.0 x 1.0 x 0.5 m) nhung khai bao don vi va ti le theo BA cach
khac nhau. Ca ba phai raster ra CUNG mot dau vet.
Moi bien the khoa lai mot loi da tung mac phai tren hospital.world. -->
<sdf version="1.6"><world name="mini">
<model name="box_m_1"><include>
<uri>model://box_m</uri><static>true</static>
<pose>0 0 0 0 0 0</pose>
</include></model>
<model name="box_cm_1"><include>
<uri>model://box_cm</uri><static>true</static>
<pose>5 0 0 0 0 0</pose>
</include></model>
<model name="box_mtx_1"><include>
<uri>model://box_mtx</uri><static>true</static>
<pose>10 0 0 0 0 0</pose>
</include></model>
<!-- Khai Y_UP nhung du lieu DA o Z-up, node khong xoay. Ap <up_axis> len
no lam hop 0.5 m cao thanh hop DUNG DUNG cao 1.0 m. -->
<model name="box_zup_1"><include>
<uri>model://box_zup</uri><static>true</static>
<pose>15 0 0 0 0 0</pose>
</include></model>
<!-- Quay 90 do: khoa lai phep xoay yaw. -->
<model name="box_m_2"><include>
<uri>model://box_m</uri><static>true</static>
<pose>0 6 0 0 0 1.5707963</pose>
</include></model>
<!-- Pose hong nhu StorageRack_1 trong hospital.world: phai bi BO. -->
<model name="box_m_roi"><include>
<uri>model://box_m</uri><static>true</static>
<pose>2 2 -7.57769e+08 0 0 0</pose>
</include></model>
</world></sdf>

View File

@@ -0,0 +1,17 @@
# CUNG hop do, nhung ve bang CENTIMET -- ti le den tu <scale> trong SDF
v -100 -50 0
v 100 -50 0
v 100 50 0
v -100 50 0
v -100 -50 50
v 100 -50 50
v 100 50 50
v -100 50 50
f 1 2 3
f 1 3 4
f 5 6 7
f 5 7 8
f 1 2 6
f 1 6 5
f 3 4 8
f 3 8 7

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<sdf version="1.6"><model name="box_cm"><static>true</static><link name="l">
<visual name="visual"><geometry><mesh>
<uri>model://box_cm/meshes/box.obj</uri>
<scale>0.01 0.01 0.01</scale></mesh></geometry></visual>
<collision name="collision"><geometry><mesh>
<uri>model://box_cm/meshes/box.obj</uri>
<scale>0.01 0.01 0.01</scale></mesh></geometry></collision>
</link></model></sdf>

View File

@@ -0,0 +1,17 @@
# hop 2.0 x 1.0 x 0.5 m, don vi MET
v -1.0 -0.5 0.0
v 1.0 -0.5 0.0
v 1.0 0.5 0.0
v -1.0 0.5 0.0
v -1.0 -0.5 0.5
v 1.0 -0.5 0.5
v 1.0 0.5 0.5
v -1.0 0.5 0.5
f 1 2 3
f 1 3 4
f 5 6 7
f 5 7 8
f 1 2 6
f 1 6 5
f 3 4 8
f 3 8 7

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<sdf version="1.6"><model name="box_m"><static>true</static><link name="l">
<visual name="visual"><geometry><mesh>
<uri>model://box_m/meshes/box.obj</uri>
</mesh></geometry></visual>
<collision name="collision"><geometry><mesh>
<uri>model://box_m/meshes/box.obj</uri>
</mesh></geometry></collision>
</link></model></sdf>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<!-- CUNG hop 2.0 x 1.0 x 0.5 m, nhung bay ba tang:
1. duoi file viet HOA (.DAE) -- so duoi phan biet hoa thuong se roi
vao bo doc OBJ va hong im lang
2. <unit meter="0.01"> NOI DOI: dinh ve bang MILIMET
3. ti le that nam trong <matrix> (0.1), khong phai trong <scale>
0.1 * 0.01 = 0.001 => milimet. -->
<asset>
<unit meter="0.01" name="centimeter"/>
<up_axis>Z_UP</up_axis>
</asset>
<library_geometries>
<geometry id="G" name="G">
<mesh>
<source id="G-pos">
<float_array id="G-pos-array" count="24">
-1000 -500 0 1000 -500 0 1000 500 0 -1000 500 0
-1000 -500 500 1000 -500 500 1000 500 500 -1000 500 500
</float_array>
<technique_common>
<accessor source="#G-pos-array" count="8" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<vertices id="G-vtx"><input semantic="POSITION" source="#G-pos"/></vertices>
<polylist count="8" material="M">
<input semantic="VERTEX" source="#G-vtx" offset="0"/>
<vcount>3 3 3 3 3 3 3 3</vcount>
<p>0 1 2 0 2 3 4 5 6 4 6 7 0 1 5 0 5 4 2 3 7 2 7 6</p>
</polylist>
</mesh>
</geometry>
</library_geometries>
<library_visual_scenes>
<visual_scene id="S" name="S">
<node name="N" id="N">
<matrix sid="matrix">0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 1</matrix>
<instance_geometry url="#G"/>
</node>
</visual_scene>
</library_visual_scenes>
<scene><instance_visual_scene url="#S"/></scene>
</COLLADA>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<sdf version="1.6"><model name="box_mtx"><static>true</static><link name="l">
<visual name="visual"><geometry><mesh>
<uri>model://box_mtx/meshes/Box.DAE</uri>
</mesh></geometry></visual>
<collision name="collision"><geometry><mesh>
<uri>model://box_mtx/meshes/Box.DAE</uri>
</mesh></geometry></collision>
</link></model></sdf>

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<!-- CUNG hop 2.0 x 1.0 x 0.5 m. Bay o day la thu tinh nhat trong ca bo:
File khai <up_axis>Y_UP</up_axis> NHUNG du lieu da o Z-up san, va node
KHONG co phep xoay nao. `<up_axis>` noi ve he toa do cua bo XUAT, khong
phai cua du lieu trong file.
Day dung la truong hop cua aws_robomaker_hospital_floor_01_walls_visual
(geometry ID43): ban va cham cua CUNG buc tuong do la Y-up that va co
node xoay de doi truc, con ban hien thi thi da o Z-up voi node rong.
Ap `<up_axis>` len file nay lam buc tuong 3 m thanh mot thanh DUNG DUNG
cao 56 m giua san. -->
<asset>
<unit meter="0.01" name="centimeter"/>
<up_axis>Y_UP</up_axis>
</asset>
<library_geometries>
<geometry id="G" name="G">
<mesh>
<source id="G-pos">
<float_array id="G-pos-array" count="24">
-100 -50 0 100 -50 0 100 50 0 -100 50 0
-100 -50 50 100 -50 50 100 50 50 -100 50 50
</float_array>
<technique_common>
<accessor source="#G-pos-array" count="8" stride="3">
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
<vertices id="G-vtx"><input semantic="POSITION" source="#G-pos"/></vertices>
<polylist count="8" material="M">
<input semantic="VERTEX" source="#G-vtx" offset="0"/>
<vcount>3 3 3 3 3 3 3 3</vcount>
<p>0 1 2 0 2 3 4 5 6 4 6 7 0 1 5 0 5 4 2 3 7 2 7 6</p>
</polylist>
</mesh>
</geometry>
</library_geometries>
<library_visual_scenes>
<visual_scene id="S" name="S">
<node name="N" id="N"><instance_geometry url="#G"/></node>
</visual_scene>
</library_visual_scenes>
<scene><instance_visual_scene url="#S"/></scene>
</COLLADA>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<sdf version="1.6"><model name="box_zup"><static>true</static><link name="l">
<visual name="visual"><geometry><mesh>
<uri>model://box_zup/meshes/box.dae</uri>
</mesh></geometry></visual>
<collision name="collision"><geometry><mesh>
<uri>model://box_zup/meshes/box.dae</uri>
</mesh></geometry></collision>
</link></model></sdf>