turtlebot/turtlebot4_simulator

Bumper does not work

Opened this issue · 2 comments

Please provide the following information:

  • OS: Ubuntu 20.04
  • ROS Distro: Galactic
  • Built from source or installed: installed

Expected behaviour
When the robot bumps into an object, reflex behaviour should occur

Actual behaviour
When the robot bumps into an object, nothing happens.

To Reproduce
Provide the steps to reproduce:

  1. ros2 launch turtlebot4_ignition_bringup ignition.launch.py
  2. Drive robot into object
  3. Robot does not recoil when bumper contacts object

Other notes
Seems to be an issue with ros_ign_bridge not publishing the bumper message on the ROS side.

could you please till me how you drive the robot ?
I am trying with it and the robot not moving

@revan-mando You can use the teleop plugin in Ignition. Set the linear and angular velocities, select "Input from keyboard (WASD)", and make sure to click the play button in the bottom left of the simulator to start the simulation. Then you can drive the robot with the WASD keys.

image

Note for next time: please create a new issue instead of commenting on a separate issue.