Closed leftytechie closed 4 years ago
@leftytechie there is nowhere written in our documentation that we support Gazebo 11.0. Specially since that would involve some substancial dependency checking and source code changes related to Ignition dependencies.
I apologize, this thread confused me: https://github.com/PX4/sitl_gazebo/issues/381
For what it's worth, everything else appeared to be working.
I got the same error with the Gazebo 11 docker container (https://github.com/PX4/containers/blob/master/docker/Dockerfile_simulation-focal)
gzserver: /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = gazebo::event::Connection; typename boost::detail::sp_member_access<T>::type = gazebo::event::Connection*]: Assertion `px != 0' failed.
/home/user/Firmware/Tools/sitl_run.sh: line 130: 6031 Aborted (core dumped) gzserver "${src_path}/Tools/sitl_gazebo/worlds/empty.world"
I'm running Ubuntu 20.04 with v1.10 and gazebo11 and facing the same error. Any solution to this problem?
gzserver: /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = gazebo::event::Connection; typename boost::detail::sp_member_access<T>::type = gazebo::event::Connection*]: Assertion `px != 0' failed.
This happens when gazebo is unable to find one of the resources. @iftahnaf Does this happen with the default models?
If so, please post a new issue. I don't think your issue is related to this thread
Hello. Did you solve this problem ?
I could be doing something wrong, but I've able to run pretty much any simulation I want as long I don't use the mavlink plugin.
I am using Ubuntu 18.04, cmake 3.10.2, gazebo 11.0, boost 1.65.1.
I am using the master branch, it is up to date, and I have confirmed that it is working with gazebo 9.12.
I have also tried a past version of the code, v1.10.0-rc1, and the error occurred there too.