Gazebo | Ignition | Community
Ask Your Question
0

gazebo 1.6.7 in ros fuerte problems

asked 2012-11-30 04:44:19 -0600

joseescobar60 gravatar image

Hello,

I'm working on ros fuerte with gazebo, yesterday i installed the version of simultaor gazebo 1.6.7 because i need to work with the contact sensors of the shadowhand and the version that i have (1.6.16) has a problem with the contactsensors, the installation was ok, but when i open my gazebo y too slow, then i try to run it in headless mode but it doesn't open it remains freeze.

When i run the gazebo normally i try to spawn the shadow hand but it doesn't appear, i don't know what is happening, someone knows what is wrong???

Runing in headless mode:

jose@ubuntu:~$ roslaunch gazebo_worlds empty_world_no_x.launch
... logging to /home/jose/.ros/log/62c8e30c-3ada-11e2-b606-e0ca942b6aa6/roslaunch-ubuntu-6429.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:45729/

SUMMARY
========

PARAMETERS
 * /rosdistro
 * /rosversion
 * /use_sim_time

NODES
  /
    gazebo (gazebo/gazebo)

auto-starting new master
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[master]: started with pid [6445]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 62c8e30c-3ada-11e2-b606-e0ca942b6aa6
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[rosout-1]: started with pid [6458]
started core service [/rosout]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[gazebo-2]: started with pid [6472]
Gazebo multi-robot simulator, version 1.3.0
Copyright (C) 2012 Nate Koenig, John Hsu, and contributors.
Released under the Apache 2 License.
http://gazebosim.org

Warning [parser.cc:362] Converting a deprecatd SDF source[/home/jose/fuerte_workspace/simulator_gazebo/gazebo_worlds/worlds/empty.world].
Set SDF value
  Version[1.2] to Version[1.3]
  Please use the gzsdf tool to update your SDF files.
    $ gzsdf convert [sdf_file]
[ INFO] [1354272041.822041146]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
Msg Waiting for master
Msg Connected to gazebo master @ http://localhost:11345
[ INFO] [1354272043.627426014, 0.001000000]: joint trajectory plugin missing <updateRate>, defaults to 0.0 (as fast as possible)
[ INFO] [1354272043.659119580, 0.024000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1354272043.728475086, 0.090000000]: Starting to spin physics dynamic reconfigure node...
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-01-11 18:23:15 -0600

nkoenig gravatar image

Gazebo is a stand-alone package. Please do not use the version of Gazebo that ships with ROS. The version within ROS is old and unsupported.

http://gazebosim.org/wiki/install describes how to install Gazebo.

Do not follow any of the Gazebo tutorials on the ROS website. They are old and unmaintained. Only use the tutorials on http://gazebosim.org/wiki

You can still use ROS Fuerte, but you should install Gazebo from the repository hosted by OSRF.

edit flag offensive delete link more

Comments

hey, i went out for a long time, i just read your anser and i installed the gazebo like you said to me, it works but the problem is when i need to work with ros and gazebo the tow applications are not bound, it works like a independient applications... any idea?

joseescobar60 gravatar imagejoseescobar60 ( 2013-01-29 10:16:09 -0600 )edit

Can you explain your problem in more detail? Gazebo has always been a stand alone application (not tied to ROS).

nkoenig gravatar imagenkoenig ( 2013-01-29 11:10:42 -0600 )edit

Is @hsu just committing to the simulator_gazebo stack for kicks? https://code.ros.org/trac/ros-pkg/changeset/40366

jbohren gravatar imagejbohren ( 2013-03-13 11:19:04 -0600 )edit
1

@jbohren well, it is fun, you should try it sometimes :) trying to spin up another groovy release with gazebo 1.5. turns out some of these test worlds might end up as gazebo unit tests directly in gazebo.

hsu gravatar imagehsu ( 2013-03-13 12:18:44 -0600 )edit

@hsu (: I might if I still had commit access to ros-pkg. I was actually going to create a branch to add something a couple months ago. Any thoughts on migrating that to git/hg/github/bitbucket?

jbohren gravatar imagejbohren ( 2013-03-13 12:27:04 -0600 )edit
0

answered 2013-03-29 12:31:57 -0600

hsu gravatar image

@jbohren you already know but I've moved simulator_gazebo to https://bitbucket.org/osrf/simulator_gazebo

@joseescobar60 can you try this on groovy branch? Or file a ticket on bitbucket for fuerte. Be sure to include both terminals where you started gazebo and where the spawn commands were given. Also, if possible, include the shadow hand model that you're using.

Thanks. John

edit flag offensive delete link more

Comments

The link to simulator_gazebo is missing an "o"... also This should be more prominently advertized!

SL Remy gravatar imageSL Remy ( 2013-04-16 21:19:16 -0600 )edit

What would you like tested?

SL Remy gravatar imageSL Remy ( 2013-04-17 09:46:35 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2012-11-30 04:44:19 -0600

Seen: 1,307 times

Last updated: Mar 29 '13