Ask Your Question
0

clock model not displayed in gazebo

asked 2012-03-14 01:13:18 -0500

Hi everyone,

I was going through gazebo tutorial at : http://ros.org/wiki/simulator_gazebo/Tutorials , when I launch empty world I didn't see clock model, only gplane and point_white is being shown. I am not able to control the speed of simulation.

Launch file empty_world.launch has line.

Am I missing something. What is needed to be done to bring the clock model and control the speed of simulation.

Thanks in advance

edit retag flag offensive close merge delete

Comments

Are you referring to the "use_sim_time" parameter? What clock model are you referring to?

DimitriProsser gravatar image DimitriProsser  ( 2012-03-14 03:30:33 -0500 )edit

As in the tutorial : http://ros.org/wiki/simulator_gazebo/Tutorials/StartingGazebo In the figure that is displayed (on the page), I can see on top left, under model:- clock, gplane, & point_white but whne I run 'roslaunch gazebo_worlds empty_world.launch' I only see gplane point_white & no clock

aknirala gravatar image aknirala  ( 2012-03-14 07:33:22 -0500 )edit

hi hsu, by cont speed of sim' I mean, for eg, 1. I launched an empty gazebo world. 2. Span an empty cup 3. Applied a body wrench (as in http://ros.org/wiki/simulator_gazebo/Tutorials/Gazebo_ROS_API pt 9) Now, can I control the sim clock so that I see rotation faster or slower?

aknirala gravatar image aknirala  ( 2012-03-29 08:16:34 -0500 )edit

hi hsu, by cont speed of sim' I mean, for eg, 1. I launched an empty gazebo world. 2. Span an empty cup 3. Applied a body wrench (as in http://ros.org/wiki/simulator_gazebo/Tutorials/Gazebo_ROS_API pt 9) Now, can I control the sim clock so that I see rotation faster or slower?

aknirala gravatar image aknirala  ( 2012-03-29 08:16:35 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-03-22 15:41:12 -0500

hsu gravatar image

If you are talking about the "clock model" in diamondback, as of electric, the "clock model" has been removed from the world file. The gazebo binary built from gazeboros.cpp contains a publisher for /clock and various services such as the model factory for spawning models. In fuerte, the model is slightly shifted as all ros related topics/services are now available there through system plugins, invoked by loading them with the -p option when starting up gazebo.

In terms of "controlling the speed of simulation", can you explain in more detail what you mean by it? Thanks.

edit flag offensive delete link more

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: 2012-03-14 01:13:18 -0500

Seen: 166 times

Last updated: Mar 22 '12