0
$\begingroup$

Gazebo Answers logo

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.


Originally posted by WarwickWagon on Gazebo Answers with karma: 11 on 2017-05-28

Post score: 0


Original comments

Comment by ChrisThrasher on 2017-08-01:
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.

$\endgroup$

1 Answer 1

0
$\begingroup$

Gazebo Answers logo

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.


Originally posted by chapulina with karma: 7504 on 2017-05-30

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.