Open ashBabu opened 4 months ago
Can you test again on harmonic
?
Error from above logs:
[robot_state_publisher-6] [ERROR] [1709120146.316153064] [sdformat_urdf]: Attempting to load a Sensor, but the provided sensor type is missing or invalid.
[robot_state_publisher-6] [ERROR] [1709120146.316222425] [sdformat_urdf]: Attempting to load a Sensor, but the provided sensor type is missing or invalid.
[robot_state_publisher-6] Failed to parse robot description using: sdformat_urdf_plugin/SDFormatURDFParser
[robot_state_publisher-6] terminate called after throwing an instance of 'std::runtime_error'
[robot_state_publisher-6] what(): Unable to initialize urdf::model from robot description
[ruby $(which ign) gazebo-1] [Err] [Server.cc:139] Error Code 5: Msg: Attempting to load a Sensor, but the provided sensor type is missing or invalid.
[ruby $(which ign) gazebo-1] [Err] [Server.cc:139] Error Code 5: Msg: Attempting to load a Sensor, but the provided sensor type is missing or invalid.
[ruby $(which ign) gazebo-1] [Err] [Server.cc:139] Error Code 9: Msg: Failed to load a world.
From the logs it looks like you build the workspace for ignition gazebo, but the only supported versions are garden
or harmonic
.
I had similar problems. You must have installed the right gazebo version, like the gz-garden
package as described in the wiki. And before doing a clean build of the workspace the same gazebo version must be also set in the terminal with export GZ_VERSION=garden
.
Then you should see $(which gz)
instead of $(which ign)
in your logs.
Ubuntu 22.04, ROS2 Humble, Gazebo Sim, version 7.7.0.
The
iris_runway.launch.py
or themaze
dont even start whereas thewildthumper_playpen
shows something in gazebo although there are error msgs on not able to load sensors. The log is as follows