0
$\begingroup$

Rosanswers logo

Dear,

I was able to make my simple model follow the prescribed position trajectory (circle or infinity shape or any smooth trajectory) in gazebo simulation. One more thing I want to do to show the prescribed trajectory in the gazebo simulation so that I want to show how closely my model follows the given trajectory. What part should I modify or edit ? Do I need to see the world file or look for different world file?


Originally posted by maruchi on ROS Answers with karma: 157 on 2012-01-23

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

I'm not sure it is easily possible to paint things into gazebo. For 3D visualization purposes, there is rviz and Markers that can easily be used for this task. Having visualization outside of your simulation environment has the benefit that you can use it for simulation and for experiments with real robot systems. For this reason using the ROS visualization tools is the recommended way of doing what you describe.

If you want to record tf based trajectories, you can use the hector_trajectory_server node. This node periodically publishes the trajectory as a nav_msgs/Path, which can be visualized in rviz.


Originally posted by Stefan Kohlbrecher with karma: 24361 on 2012-01-27

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.