hector_gazebo_worlds terminates

asked 2014-09-08 09:14:29 -0500

Orso gravatar image

updated 2014-09-20 19:43:57 -0500

Installed hector_gazebo_worlds using the following command:

sudo apt-get install ros-hydro-hector-gazebo-worlds

Then I try launching world with the following command:

roslaunch hector_gazebo_worlds rolling_landscape_120m.launch

The following appears in terminal:

PARAMETERS
* /rosdistro
* /rosversion
* /use_sim_time
NODES
 /
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
auto-starting new master
process[master]: started with pid [2049]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to c42a8666-375c-11e4-8516-08002748e08d
process[rosout-1]: started with pid [2062]
started core service [/rosout]
process[gazebo-2]: started with pid [2065]
process[gazebo_gui-3]: started with pid [2079]
terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc
Aborted (core dumped)
[gazebo-2] process has died [pid 2065, exit code 134, cmd /opt/ros/hydro/lib/gazebo_ros/gzserver /opt/ros/hydro/share/hector_gazebo_worlds/worlds/rolling_landscape_120m.world __name:=gazebo __log:=/home/usr/.ros/log/c42a8666-375c-11e4-8516-08002748e08d/gazebo-2.log].
log file: /home/usr/.ros/log/c42a8666-375c-11e4-8516-08002748e08d/gazebo-2*.log

Gazebo works flawless with other simulations and worlds.

Thanks.

edit 1

After reinstalling gazebo 1.9 I perform the following:

roslaunch hector_gazebo_worlds rolling_landscape_120m.launch

This immediately produces the following error:

Msg Waiting for master.[ INFO] [1411258800.720068397]: Finished loading Gazebo ROS API Plugin.
Msg Waiting for master
[ INFO] [1411258800.725766940]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 10.0.2.15

Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 10.0.2.15
[ INFO] [1411258805.088943905, 0.023000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1411258805.326838545, 0.166000000]: Physics dynamic reconfigure ready.
gzclient: /build/buildd/ogre-1.7.4/OgreMain/include/OgreAxisAlignedBox.h:252: void Ogre::AxisAlignedBox::setExtents(const Ogre::Vector3&, const Ogre::Vector3&): Assertion `(min.x <= max.x && min.y <= max.y && min.z <= max.z) && "The minimum corner of the box must be less than or equal to maximum corner"' failed.
Aborted (core dumped)
[gazebo_gui-3] process has died [pid 2682, exit code 134, cmd /opt/ros/hydro/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/daniel/.ros/log/04d5854a-4125-11e4-a6dc-080027d8842b/gazebo_gui-3.log].
log file: /home/daniel/.ros/log/04d5854a-4125-11e4-a6dc-080027d8842b/gazebo_gui-3*.log
^C[gazebo-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
Unhandled exception in thread started by 
sys.excepthook is missing
lost sys.stderr
edit retag flag offensive close merge delete

Comments

This may be related to not being able to start gazebo with the following command:

roscore & rosrun gazebo_ros gazebo

this produces the following:

terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc

Yet, I am able to start gazebo using gzserver and gzclient

Orso gravatar image Orso  ( 2014-09-11 01:52:58 -0500 )edit

Also asked on gazebo here: link text.

Orso gravatar image Orso  ( 2014-09-12 17:02:28 -0500 )edit

Reinstalled Gazebo 1.9 and edit 1 above is new error while launching rolling_landscape_120m,launch

Orso gravatar image Orso  ( 2014-09-20 19:38:11 -0500 )edit