ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

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.


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

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

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


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

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

Question Tools


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

Seen: 745 times

Last updated: Aug 13 '13