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

how to go to a point on gazebo world without map and keyboard

asked 2020-04-03 10:07:19 -0500

sinou00 gravatar image

My goal is to create a program that allow a robot in a gazebo world to go to a list of points and then generate the cartography (path of the robot).pgm. Now i have a program that allows the robot to go to this list of points but it required to run amcl with the map.yaml. so how can i go to a point on a gazebo world without having a map and without using the keyboard of course? Thank you in advance for youre help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-04 08:46:35 -0500

Weasfas gravatar image

Hi @sinou00,

Check this answers in Gazebo answers. In that post will find a Gazebo system plugin that will allow you to get the position clicked in Gazebo world.

Furthermore, you can enhance the plugin by reading all mouse events and storing the positions in a list that can be published by a ROS topic that would be used by your control node.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-04-03 10:07:19 -0500

Seen: 485 times

Last updated: Apr 04 '20