Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to make my mobile robot stop using sensors?

Hi,

I'm new to Gazebo & ROS and currently working on modeling a mobile robot in order to simulate its movement indoors. I had no problem with urdf, adding joints, sensors, actuators all done. There are two things that I haven't grasped yet (I have basic knowledge in cpp):

1- while adding a sensor plugin, what part of the cpp file makes the connection between that specific sensor and the code? and how the plugin name and filename related to the code? (I wanna make my own plugin).

2- when I move my robot using teleop_twist_keyboard is there a way to make it stop on its own before an object like modifying sensors node or creating another node specifically for this?

Thank you