Robotics StackExchange | Archived questions

How can I see the trail of my Robot?

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!

Asked by Alvaro Salcedo on 2015-07-08 04:25:47 UTC

Comments

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.

Asked by Javier V. Gómez on 2015-07-08 05:31:45 UTC

Answers

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:

http://gazebosim.org/tutorials?tut=system_plugin&cat=write_plugin

Asked by cyborg-x1 on 2015-07-08 06:24:36 UTC

Comments