ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How can I see the trail of my Robot?

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

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 -0600 )edit

1 Answer

Sort by » oldest newest most voted

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 1,686 times

Last updated: Jul 08 '15