Closed nandu-k01 closed 7 months ago
Were you able to fix this? I am facing the same problem.
Were you able to fix this? I am facing the same problem.
For some reason, the maintainer wrote code that calls Gazebo without the libraries necessary for ROS integration.
To solve this problem, you need to modify how the launch file calls Gazebo. Remove the calls to gzserver
and gzclient
, and replace them with a single call to Gazebo
. This will ensure ROS launches it with the necessary libraries (one of these libraries is the factory library, which provides essential services like the spawn service).
A corrected version of the file/package can be found here.
Updated to ros2 humble and ubuntu 22.04 This is the error
These are the env variables in my .bashrc
How to fix this??