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

How can I see the trail of my Robot?

asked 2015-07-08 04:25:47 -0500

Alvaro Salcedo gravatar image

Hi Ros Users:

I am trying to see the trail of my robot (P3DX) in Gazebo 2.2. I mean that my robot has a trajectory so I would like to see the trail of that trajectory.

Any ideas?

Thank you so much!

edit retag flag offensive close merge delete


I do not know if that can be done in Gazebo, but in RViz I have created a node which simply gets the position of the robot and appends to a path.

Javier V. Gómez gravatar image Javier V. Gómez  ( 2015-07-08 05:31:45 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-07-08 06:24:36 -0500

In the nav2d package examples there is a node which creates a map and shows the path of the robot as well in RViz Check out the nav2d tutorial 3. There is a node which does that. I do not think there is anything existent for showing the path directly in Gazebo yet. Neither I know why you should show it there, when you have RViz, but maybe you are creating a drawing robot ...

Maybe you need to write your own Gazebo plugin then:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-07-08 04:25:47 -0500

Seen: 2,188 times

Last updated: Jul 08 '15