Get Service type from C++
In this code there is a function to get the type of a Service "get_service_type()": http://ros-win32.servicerobotics.eu/t... How can I do that from C++?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
In this code there is a function to get the type of a Service "get_service_type()": http://ros-win32.servicerobotics.eu/t... How can I do that from C++?
I believe the functionality you're looking for is already implemented as a service in the rosapi package and it can be accessed natively from roslibjs via the getServices method.
Asked: 2014-04-13 07:49:11 -0500
Seen: 425 times
Last updated: Apr 13 '14
Create own python custom client node for the mavros SetMode.srv?
roslint doesn't seem to mind CamelCased function names
Getting QoS error on running code [closed]
How to play video from bag file in QT?
How do I print summary through ROS_INFO
Service client call stops program
Unable to transform object from namespaced frame 'ns/base_link' to planning frame 'base_link'
VS code can't find the headerfiles even when workspace compiles without error
What are you trying to achieve with this? Are you just trying to get the name of the service type, or will you try to call it after you've retrieved the type?
I want to create a Parameter with the information of each Service. Name, Type, Request and Response. To be able to call a service from another computer with rosbridge without having to look at the service from Ros