Hi,
I just begin the first unit of urdf. When I do the exercise to write a urdf-file to describe mira-robot, I cannot successfully visualize the model. My .launch file is ok. The problem is in the urdf-file. But I have no idea why does it nor work. I have already word by word compared with the solution, and didn’t find the reason of error. Maybe there are some details in constructure of urdf-file that I don’t know. Here is my urdf coding.
‘’’
<?xml version="1.0"?><material name="red">
<color rgba="1 0 0 1"/>
</material>
<link name="base_link">
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<cylinder radius="0.06" length="0.09"/>
<geometry/>
</visual>
</link>
<link name="roll_M1_link">
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<cylinder length="0.005" radius="0.01"/>
</geometry>
<material name="red"/>
</visual>
</link>
<joint name="roll_joint" type="revolute">
<parent link="base_link"/>
<child link="roll_M1_link"/>
<origin xyz="0.0023 0 -0.0005" rpy="0 0 0"/>
<limit lower="-0.2" upper="0.2" effort="0.1" velocity="0.005"/>
<axis xyz="1 0 0"/>
</joint>
'''
please help…
Jialei Li