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

Als177's profile - activity

2021-09-28 06:41:01 -0500 received badge  Student (source)
2019-05-20 01:17:17 -0500 marked best answer gazebo_ros_bumper_controller not updating bumper states

I have been implementing this code. I am trying to echo the Contact messages but states does not echo any value even if it undergoes collision.Can someone please tell me where I am going wrong

<gazebo reference="base">
<sensor name="main_bumper" type="contact">
<geom>base_geom</geom>
    <selfCollide>true</selfCollide>
    <alwaysOn>true</alwaysOn>
    <updateRate>100.0</updateRate>
    <material>Gazebo/Red</material>
    <contact>
       <collision name="bump_sensor_collision_collision"></collision>
    </contact>
    <plugin name="gazebo_ros_bumper_controller" filename="libgazebo_ros_bumper.so">   
        <bumperTopicName>bumper_vals</bumperTopicName>
        <frameName>world</frameName>
    </plugin>
</sensor>
</gazebo>

</robot>

This is the output that I am getting :

header: 
  seq: 89604
  stamp: 
    secs: 584
    nsecs: 451000000
  frame_id: world
states: []
2018-07-08 05:10:24 -0500 received badge  Famous Question (source)
2018-03-23 03:18:50 -0500 received badge  Notable Question (source)
2018-03-22 00:39:24 -0500 received badge  Popular Question (source)
2017-12-03 00:31:07 -0500 asked a question I am trying to work with Gazebo bumper plugin,if I echo the Contact messages then the value of states[] remains unchanged even though collision occurs.Can someone please tell me where I am going wrong.

I am trying to work with Gazebo bumper plugin,if I echo the Contact messages then the value of states[] remains unchange

2017-12-03 00:31:06 -0500 asked a question gazebo_ros_bumper_controller not updating bumper states

I have been implementing this code. I am trying to echo the Contact messages but states does not echo any value even if