Skip to content

Commit 93aa064

Browse files
committed
Normalize the rotation axis of the axis urdf camera
1 parent 3b5c694 commit 93aa064

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

urdf/axis.urdf.xacro

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</collision>
3939
</link>
4040
<joint name="${prefix}_pan_joint" type="revolute">
41-
<axis xyz="0 0 -1"/>
41+
<axis xyz="0 0 1"/>
4242
<origin xyz="0.0 0.0 0.0" rpy="0 0 0"/>
4343
<!-- check the displacement -->
4444
<parent link="${prefix}_base_link"/>
@@ -64,8 +64,9 @@
6464
</actuator>
6565
</transmission>
6666
<joint name="${prefix}_tilt_joint" type="revolute">
67-
<axis xyz="0 -1 0"/>
68-
<origin xyz="0.0 0.0 0.0"/>
67+
<axis xyz="0 0 1"/>
68+
<!--origin xyz="0.0 0.0 0.0"/-->
69+
<origin xyz="0.0 0.0 0.0" rpy="${-PI/2} 0 0"/>
6970
<parent link="${prefix}_pan_link"/>
7071
<child link="${prefix}_tilt_link"/>
7172
<limit effort="${ptz_joint_effort_limit}" velocity="${ptz_joint_velocity_limit}" lower="-1.5708" upper="1.5708"/>

0 commit comments

Comments
 (0)