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

Revision history [back]

click to hide/show revision 1
initial version

I solved a problem which was close to this one,( you can check here: http://answers.gazebosim.org/question/15095/gazebo-contact-sensor-added-to-a-robot-link-in-urdf-file-is-not-working-as-expected/ ) but if wonder if the problem is not a little different for you.

You call a: bump_sensor_collision inside the gazebo flag to define the collision but you never created it before. Are you sure that the declaration of a collision inside the link which you called "bump_sensor" does declare automatically a "bump_sensor_collision"

I wonder if you could try to add a name to your collision inside your link (ex: <collision name="my_collision">) and call "my_collision_collision" inside the gazebo part ?

TTDM

I solved a problem which was close to this one,( you can check here: http://answers.gazebosim.org/question/15095/gazebo-contact-sensor-added-to-a-robot-link-in-urdf-file-is-not-working-as-expected/ ) but if wonder if the problem is not a little different for you.

You call a: bump_sensor_collision inside the gazebo flag to define the collision but you never created it before. Are you sure that the declaration of a collision inside the link which you called "bump_sensor" does declare automatically a "bump_sensor_collision"

I wonder if you could try to add a name to your collision inside your link (ex: <collision name="my_collision">) and call "my_collision_collision" (see the link for the explanation of the difference in the name) inside the gazebo part ?

TTDM TTDM

I solved a problem which was close to this one,( you can check here: http://answers.gazebosim.org/question/15095/gazebo-contact-sensor-added-to-a-robot-link-in-urdf-file-is-not-working-as-expected/ ) but if and I wonder if itsn't the problem is not a little different same for you. you :

You call a: bump_sensor_collision a "bump_sensor_collision" inside the gazebo flag to define the collision but and you never assume that it is created it before. Are you sure that by the declaration of a collision inside the link "bump_sensor" <link> ( which it should be ). However i found that the first name can be modified with a few supplementary informations so I invite you called "bump_sensor" does declare automatically a "bump_sensor_collision" to check on the final sdf if your two names are identical and if they aren't to change the name inside the <gazebo> flag to make is match the collision in the <link>.

I wonder if you could try More information on how to add a name to your collision inside your link (ex: <collision name="my_collision">) and call "my_collision_collision" (see the link for the explanation of the difference do so are in the name) inside the gazebo part ? first link.

TTDM