Closed danitruc6 closed 1 month ago
Could this be related to https://github.com/RoboStack/ros-humble/issues/175 ? Can you try to install libprotobuf==4.25.1
?
Oh yes, that ibprotobuf==4.25.1 did the trick, and now I'm getting all of the expected gazebo_ros services working.
Thank you very much @traversaro.
As a reference, in case someone is having the same issue as me, I just ran:
mamba install libprotobuf==4.25.1
And now all the expected services are up and running:
❯ ros2 node info /gazebo
/gazebo
Subscribers:
/clock: rosgraph_msgs/msg/Clock
/parameter_events: rcl_interfaces/msg/ParameterEvent
Publishers:
/clock: rosgraph_msgs/msg/Clock
/parameter_events: rcl_interfaces/msg/ParameterEvent
/performance_metrics: gazebo_msgs/msg/PerformanceMetrics
/rosout: rcl_interfaces/msg/Log
Service Servers:
/apply_joint_effort: gazebo_msgs/srv/ApplyJointEffort
/apply_link_wrench: gazebo_msgs/srv/ApplyLinkWrench
/clear_joint_efforts: gazebo_msgs/srv/JointRequest
/clear_link_wrenches: gazebo_msgs/srv/LinkRequest
/delete_entity: gazebo_msgs/srv/DeleteEntity
/gazebo/describe_parameters: rcl_interfaces/srv/DescribeParameters
/gazebo/get_parameter_types: rcl_interfaces/srv/GetParameterTypes
/gazebo/get_parameters: rcl_interfaces/srv/GetParameters
/gazebo/list_parameters: rcl_interfaces/srv/ListParameters
/gazebo/set_parameters: rcl_interfaces/srv/SetParameters
/gazebo/set_parameters_atomically: rcl_interfaces/srv/SetParametersAtomically
/get_model_list: gazebo_msgs/srv/GetModelList
/pause_physics: std_srvs/srv/Empty
/reset_simulation: std_srvs/srv/Empty
/reset_world: std_srvs/srv/Empty
/spawn_entity: gazebo_msgs/srv/SpawnEntity
/unpause_physics: std_srvs/srv/Empty
Service Clients:
Action Servers:
Action Clients:
Thanks for opening the issue! Unfortunately in robostack we can't fix wrong dependency information for old packages, and a proper fix will require a rebuild of all packages, that will take time.
Can someone please help me to understand the following issue of why is /spawn_entity not started on my RoboStack env. (FYI The following commands work like charm in my Ubuntu PC)
I have installed gazebo classic through the following commands:
Run the robot_state_publisher:
If I launch gazebo:
And I want to spawn my urdf in gazebo using the spawn script, however I'm getting this message:
If I check the service list:
And this is the gazebo_ros node info:
Like you can see the /spawn_entity service is not listed anywhere. Am I missing something or this ros-humble-gazebo-ros package is missing something? Or maybe there's another way to use Gazebo?
Additional information