Ask Your Question
0

How to draw a box on gazebo?

asked 2013-01-10 00:06:41 -0500

sam gravatar image

I use ubuntu 12.04 64bits with ROS fuerte.

I failed to draw a box just only to draw a plane on the same button.

image description

How to draw a box?

Thank you~

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-01-12 12:21:09 -0500

Sam you'll need to write an sdf script for your box, and have it listed in a models folder in one of your packages. The box is one of the basic primitives used in gazebo. Once it is written you should be able to place it in the gazebo environment. For ROS the packaged gazebo distribution is 1.0, though the latest distribution is 1.3. The list of gazebo tutorials is listed here.

I think one of their first tutorials models involves drawing a box.

cheers

Peter

edit flag offensive delete link more

Comments

Why I can draw a box on ROS electric gazebo directly, but I can't do the same thing on ROS fuerte gazebo?

sam gravatar image sam  ( 2013-01-12 19:00:43 -0500 )edit
2

sorry dont know the answer as i haven't used electric, however it may be better to ask this question on www.answers.gazebosim.org

PeterMilani gravatar image PeterMilani  ( 2013-01-13 01:50:28 -0500 )edit

Can you post your model file?

davinci gravatar image davinci  ( 2013-01-13 03:52:35 -0500 )edit

My question is ' I don't want to insert any model file, and I want to just draw a box in gazebo,but failed'. I can do it in electric ,but not in fuerte. In fuerte, I can draw a plane but failed to go up to be a box.

sam gravatar image sam  ( 2013-01-13 11:12:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-01-10 00:06:41 -0500

Seen: 644 times

Last updated: Jan 12 '13