Home | Tutorials | Wiki | Issues
Ask Your Question
0

Gazebo 7.0.0 crash on heightmap insertion

asked 2017-05-28 21:56:02 -0600

WarwickWagon gravatar image

In Gazebo 7.0.0 if I try to insert an model with a heightmap Gazebo either hangs or closes with a crash. In the following example, I attempt to insert the Appolo15 landing model

Either I'll get

$ gazebo --verbose
Gazebo multi-robot simulator, version 7.0.0
Copyright (C) 2012-2016 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 7.0.0
Copyright (C) 2012-2016 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 132.207.24.8
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 132.207.24.8
[Wrn] [Event.cc:87] Warning: Deleteing a connection right after creation. Make sure to save the ConnectionPtr from a Connect call
[Err] [Visual.cc:2726] No mesh specified
$

Or I might get this this message too

gzclient: /usr/include/boost/smart_ptr/shared_ptr.hpp:648: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = gazebo::msgs::Response; typename boost::detail::sp_member_access<T>::type = gazebo::msgs::Response*]: Assertion `px != 0' failed.

Any ideas? Wondering if the easy fix is to uninstall the Gazebo version that ships with ROS and install the latest one.

edit retag flag offensive close merge delete

Comments

I have this same exact issue happen on 7.0.0 but it only happens for heightmaps which are 2049 x 2049 or larger. For maps of size 1025 x 2015 and smaller it loads properly.

ChrisThrasher gravatar imageChrisThrasher ( 2017-08-01 15:12:02 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-05-30 10:57:31 -0600

chapulina gravatar image

updated 2019-04-06 15:06:25 -0600

yah130s gravatar image

Actually it might not even be necessary to go that far, I was able to insert heightmaps using Gazebo 7.7. All you need are OSRF keys, and then sudo apt upgrade.

edit flag offensive delete link more
0

answered 2017-05-28 23:51:26 -0600

WarwickWagon gravatar image

An easy but probably not optimal solution is to install Gazebo 8. It's not the version that ships with ROS Kinetic, but at least it gets things working.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2017-05-28 21:56:02 -0600

Seen: 655 times

Last updated: May 28 '17