Ask Your Question
0

rviz collision detection (fuerte)

asked 2013-05-07 07:48:42 -0500

Fabien R gravatar image

updated 2014-01-28 17:16:28 -0500

ngrennan gravatar image

I'm trying to enable collision detection in RVIZ (debian/AMD64).

I built a xacro description of my robot, using basic collision tags.

Example:

    <link name="${prefix}_AX1" >
 <visual> 
  <origin xyz="0 0 0" rpy="${pi/2} 0 ${pi/2}" />
 <geometry>
    <box size="${AX_length}  ${AX_width} ${AX_height}"/>
  </geometry>
  <material name="black">
    <color rgba="0 0 0 1.0"/>
  </material>
</visual>
<collision>
    <geometry>
        <box size="${AX_length}  ${AX_width} ${AX_height}"/> 
    </geometry>
  <inertial>
    <mass value=".055"/>
    <inertia ixx="1.0" ixy="0.0" ixz="0.0" iyy="1.0" iyz="0.0" izz="1.0"/>
  </inertial>
</collision>
    </link>

The robot has 2 forelegs in the (x,y) plan, parallel to y. I allow them to rotate about z-axis from -pi/2 to pi/2. I thought that the checkbox collision-enabled would prevent them from crossing.

Do I have to use gazebo ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-08-13 06:55:49 -0500

tfoote gravatar image

rviz is just a visualizer, showing the state of the system. It does sound like you want a simulator like gazebo. If you are running on a live system there is also collision detection in the MoveIt planning software.

edit flag offensive delete link more

Comments

Ok, thanks. I'll chekc if I can use MoveIt.

Fabien R gravatar image Fabien R  ( 2013-09-28 04:49:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-05-07 07:48:42 -0500

Seen: 537 times

Last updated: Aug 13 '13