Ask Your Question
0

gazebo and RViz are not synchronized?

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

roboren gravatar image

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

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 anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Stats

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

Seen: 122 times

Last updated: May 28 '11