-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackpack_3d.urdf
More file actions
69 lines (58 loc) · 2.18 KB
/
Copy pathbackpack_3d.urdf
File metadata and controls
69 lines (58 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!--
Custom URDF for a single‑LiDAR backpack rig with accurate sensor offsets
Base → IMU: x=0.01496 m, y=0.00001 m, z=0.270 m
Base → LiDAR: x=0.06153 m, y=0.00040 m, z=1.65547 m
Base → Camera: x=2.11000 m, y=0.00000 m, z=-1.00000 m
-->
<robot name="cartographer_backpack_3d">
<!-- ─────────── Materials (optional, for RViz) ─────────── -->
<material name="orange"> <color rgba="1 0.5 0.2 1"/> </material>
<material name="grey"> <color rgba="0.2 0.2 0.2 1"/> </material>
<material name="blue"> <color rgba="0.2 0.2 1 1"/> </material>
<!-- ─────────── Links ─────────── -->
<link name="base_link"/>
<link name="imu">
<visual>
<origin xyz="0 0 0"/>
<geometry> <box size="0.06 0.04 0.02"/> </geometry>
<material name="orange"/>
</visual>
</link>
<link name="velodyne">
<visual>
<origin xyz="0 0 0"/>
<geometry> <cylinder radius="0.05" length="0.07"/> </geometry>
<material name="grey"/>
</visual>
</link>
<link name="camera_link">
<visual>
<origin xyz="0 0 0"/>
<geometry> <box size="0.1 0.04 0.04"/> </geometry>
<material name="blue"/>
</visual>
</link>
<link name="camera_color_optical_frame"/>
<joint name="camera_optical_joint" type="fixed">
<parent link="camera_link"/>
<child link="camera_color_optical_frame"/>
<!-- Rotation to create an optical frame: +Z forward, +X right, +Y down -->
<origin xyz="0 0 0" rpy="-1.5708 0 -1.5708"/>
</joint>
<!-- ─────────── Joints / Fixed transforms ─────────── -->
<joint name="imu_joint" type="fixed">
<parent link="base_link"/>
<child link="imu"/>
<origin xyz="0.01496 0.00001 0.270" rpy="0 0 0"/>
</joint>
<joint name="lidar_joint" type="fixed">
<parent link="base_link"/>
<child link="velodyne"/>
<origin xyz="0.06153 0.00040 1.65547" rpy="0 0 0"/>
</joint>
<joint name="camera_joint" type="fixed">
<parent link="base_link"/>
<child link="camera_link"/>
<origin xyz="2.04 0.15 0.225" rpy="0 -0.2007 0"/>
</joint>
</robot>