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

[ROS2] Service call keeps waiting for the service to be available

asked 2022-05-10 12:10:38 -0500

rezenders gravatar image

Using ubuntu 20.04 + ROS2 foxy

I am trying to call a service from mavros package with ros2, but it gets stuck in waiting for service to become available... I am pretty the service is available. I can see it with ros2 service list. Is this a bug with ros2? foxy? I saw some issues on github about people complaining about bugs depending on the DDS, can this be related?

service call:

ros2 service call /mavros/cmd/arming mavros_msgs/srv/CommandBool '{value: True}'
waiting for service to become available...

ros2 service list:

ros2 service list -t | grep cmd
/mavros/cmd/arming [mavros_msgs/srv/CommandBool]
/mavros/cmd/command [mavros_msgs/srv/CommandLong]

Issue on github related to this: https://github.com/mavlink/mavros/iss...

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2022-05-11 02:49:32 -0500

rezenders gravatar image

I updated and restarted my computer and it worked...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-05-10 12:10:38 -0500

Seen: 501 times

Last updated: May 10 '22