OptionaltransportFactory?: ITransportFactoryThe factory to use to create a transport. Defaults to a WebSocket transport factory.
Optionalurl?: stringThe rosbridge server URL. Can be specified later with connect.
If specified, then will immediately try to connect to the server.
Optionalcontext: anySend an authorization request to the server.
MAC (hash) string given by the trusted source.
IP of the client.
IP of the destination.
Random string given by the trusted source.
Time of the authorization request.
User level as a string given by the client.
End time of the client's session.
Sends the message to the transport. If not connected, queues the message to send once reconnected.
Decode a typedef array into a dictionary like rosmsg show foo/bar.
Array of type_def dictionary.
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Retrieve a list of action servers in ROS as an array of string.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve the details of a ROS message.
The name of the message type.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve a list of subscribed topics, publishing topics and services of a specific node.
Name of the node.
Retrieve a list of active node names in ROS.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve a list of parameter names from the ROS Parameter Server.
Function with the following params:
The callback function when the service call failed with params:
Retrieve the details of a ROS service request.
The type of the service.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve the details of a ROS service response.
The type of the service.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve a list of active service names in ROS.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve a list of services in ROS as an array as specific type.
The service type to find.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve the type of a ROS service.
Name of the service.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve a list of topics in ROS as an array.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve a list of topics and their associated type definitions.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve a list of topics in ROS as an array of a specific type.
The topic type to find.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Retrieve the type of a ROS topic.
Name of the topic.
Function with the following params:
OptionalfailedCallback: (error: string) => void = console.errorThe callback function when the service call failed with params:
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Optionalfn: (Optionalcontext: anyOptionalonce: booleanAdd a listener for a given event.
Optionalcontext: anyAdd a one-time listener for a given event.
Optionalcontext: anyRemove all listeners, or those of the specified event.
Optionalevent: stringRemove the listeners of a given event.
Optionalfn: (Optionalcontext: anyOptionalonce: booleanSend a set_level request to the server.
Status level (none, error, warning, info).
Optionalid: stringOperation ID to change status level on.
Manages connection to the rosbridge server and all interactions with ROS.
Emits the following events: