-
Notifications
You must be signed in to change notification settings - Fork 0
Special Services
rosbridge exposes a number of services that are only visible to ros.js. These services are used for things that you would normally use rospy for, but are handled asynchronously as services in ros.js.
See Calling a Service for information on calling these services.
Arguments: none.
Returns a list of topics in roscore.
Arguments: none.
Returns a list of services in roscore.
Arguments: topic name, minimum delay
Subscribes to a topic. See Topics.
Returns 'OK' on success.
Arguments: file name, message
Writes a message to a file. Does not use ROS logging facilities! The file name is stripped of non-alphanumeric characters.
Returns 'OK' on success.
Arguments: key
Attempts to authenticate with rosbridge. An external webservice is used to check the key. See Authentication.
Returns 'OK' on success.
Arguments: topic
Returns the type string of an already published topic.
Arguments: service
Returns the type string of an already published service.
Arguments: topic type string
Returns a template object matching the type string.
Arguments: service type string
Returns a template object matching the request for the type string.
Arguments: service type string
Returns a template object matching the response for the type string.
Arguments: topic
Returns a template object matching the topic.
Arguments: service
Returns a the template objects for both the request and the response of the
service, in fields req
and rsp
respectively.