ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Solution: https://stackoverflow.com/questions/67302265/gazebo-11-does-not-run

If you still getting error after attempt to load gazebo from launch in ros2, then follow this;

https://answers.ros.org/question/358847/cannot-launch-gzclient-on-a-launch-file-results-in-shared_ptr-assertion-error/

Solution: https://stackoverflow.com/questions/67302265/gazebo-11-does-not-runSolution:

  • sudo apt remove --purge libdart*
  • Remove dartsim/ppa in Software & Updates -> Other Software
  • sudo apt update
  • sudo apt install libdart-dev
  • sudo apt install libdart-all-dev (only if above installs)
  • But if this failed due to unable to fetch some archives, run this sudo apt update --fix-missing && sudo apt install libdart-all-dev

    • Install gazebo curl -sSL http://get.gazebosim.org | sh
    • gazebo (to check if it works now)

If you still getting error after attempt to load gazebo from launch in ros2, then follow this;

https://answers.ros.org/question/358847/cannot-launch-gzclient-on-a-launch-file-results-in-shared_ptr-assertion-error/. /usr/share/gazebo/setup.sh inside your workspace.

Source:

  • ROS answer: link

  • rajputusername on stackoverflow on Gazebo 11 does not run question page