Gazebo | Ignition | Community
Ask Your Question
1

how to see the robot path

asked 2013-01-18 07:34:55 -0500

camilla gravatar image

updated 2013-01-22 05:03:24 -0500

What should I do to see the path done by the robot during the simulation in gazebo non in rviz?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-01-18 10:47:57 -0500

Stefan Kohlbrecher gravatar image

updated 2013-01-23 07:37:31 -0500

If you can use ROS/rviz (and do not have to do it in gazebo), this Q/A on ROS Answers might provide a solution for you.

There's also ticket on Bitbucket on rendering via messages. I'm not aware of any other possibilities to do what you require, but I hope someone else will chime in in case I missed them.

/edit: In reaction to your comment: If your want to compare data, it might make sense to also visualize the ground truth trajectory coming from gazebo in rviz. You could do this by using the Gazebo ROS API to retrieve the ground truth model state. Another option would be to add a gazebo_ros_p3d plugin similar to how it's done here to your robot to output ground truth data to a topic. Both method would enable visualization of the ground truth pose from gazebo in rviz. If you really want to render directly in gazebo, you will have to wait for the issue on Bitbucket to be resolved. Luckily, Nate just marked it critical ;)

edit flag offensive delete link more

Comments

Thx, but I'm yet able to do it in rviz, i have the problem that what the robot does in rviz is different from what it does in gazebo so I want to do it in gazebo too for debbuging purposes.

camilla gravatar imagecamilla ( 2013-01-22 05:02:55 -0500 )edit

I edited my answer with some more info in response to your comment, see above.

Stefan Kohlbrecher gravatar imageStefan Kohlbrecher ( 2013-01-23 07:38:23 -0500 )edit

Question Tools

Stats

Asked: 2013-01-18 07:34:55 -0500

Seen: 5,077 times

Last updated: Jan 23 '13