ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

attach a polygon to show tf in rviz

asked 2014-12-05 03:25:07 -0500

mohammad gravatar image

hi everyone

I want to show a footprint of my robot in rviz. I have my tf like /laser, /base_link, /odom and /map in rviz and i can see them and track my robot movement. But i want to attach a polygon to my tf. Should i use a urdf or it is really more simpler than this????


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-05 03:50:08 -0500

bvbdort gravatar image

simple way is to publish a marker in /base_link frame, Marker of cube type with length,width and height as size of your robot looks fine.

edit flag offensive delete link more


Do you know a good tutorial on this?

mohammad gravatar image mohammad  ( 2014-12-05 23:30:13 -0500 )edit
bvbdort gravatar image bvbdort  ( 2014-12-06 03:18:36 -0500 )edit

Question Tools

1 follower


Asked: 2014-12-05 03:25:07 -0500

Seen: 715 times

Last updated: Dec 05 '14