Ask Your Question
0

gazebo and RViz are not synchronized?

asked 2011-05-28 15:25:20 -0500

roboren gravatar image roboren
18 3 3 5

All,

I'm using pr2_teleop to move pr2 in gazebo simulator. The robot moves fine in gazabo, but the movement does not show up in RViz. Are these two not synchronized? Or these two serve different purposes?

Thank you!

edit retag flag offensive close delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-05-28 20:20:03 -0500

JonW gravatar image JonW flag of Australia
439 8 15 21

Do you have a transform from the world or map frame to your robot? In the tutorial I looked at it appears that robot localisation is performed by the fake localisation package. When I tried it out it looks like the localisation package is not generating transforms from the world to the robot frame.

edit flag offensive delete publish link more

Comments

@JonW: How do I check if I have a transform from the world frame to my robot? (Sorry, I'm new to ROS) Which tutorial you're referring to? I'm looking at this one: http://www.ros.org/wiki/pr2_simulator/Tutorials/BasicPR2Controls. Fake localization pkg is used in the navigation demo, not in teleop. roboren ( 2011-05-29 12:10:02 -0500 )edit
After changing the 'Fixed Frame' to /odom_combined, they are sync. roboren ( 2011-05-29 12:15:01 -0500 )edit
sounds like you have fixed it - but if you want to examine your transform tree, just add the "TF" display to rviz. JonW ( 2011-05-29 17:03:46 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-05-28 15:25:20 -0500

Seen: 107 times

Last updated: May 28 '11