Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to set the rotate axis?

I import two links from solidworks, they are stl files, and I add coodinate system on a hole of the two links,now I want to make the second lind rotate around the setted X axis, but it can not ,how can I deal with it? the code as follow: link: <pose>0 1.0 0.0 0 0 0</pose> <geometry> <box> <url>.......link1.stl</url> </box> </geometry>

<joint name="my_joint" type="revolute"> <parent>world</parent> <child>link</child> <axis> <xyz>1 0 0</xyz> </axis> </joint>