Node class
Methods
-
advertise<T extends RosMessage<T>>(String topic, T typeClass, bool latching, bool tcpNoDelay, int queueSize, int throttleMs)
→ Publisher<T>
-
-
advertiseService<C extends RosMessage<C>, R extends RosMessage<R>, T extends RosServiceMessage<C, R>>(String service, T messageClass, R callback(C))
→ ServiceServer<C, R, T>
-
-
deleteParam(String key)
→ Future<bool>
-
inherited
-
getMasterUri()
→ Future<String>
-
Gets the URI of the master.
inherited
-
getParam<T>(String key, {T defaultValue})
→ Future<T>
-
inherited
-
getParamNames()
→ Future<List<String>>
-
inherited
-
getPublishedTopics(String subgraph)
→ Future<List<TopicInfo>>
-
Get list of topics that can be subscribed to. [...]
inherited
-
getSystemState()
→ Future<SystemState>
-
Retrieve list representation of system state (i.e. publishers, subscribers, and services). [...]
inherited
-
getTopicTypes()
→ Future<List<TopicInfo>>
-
Retrieve list topic names and their types. [...]
inherited
-
handle(XmlDocument document)
→ Future<XmlDocument>
-
Marshalls the
data
from XML to Dart types, and then dispatches the function, and marshals the return value back into the XMLRPC format
inherited
-
handleFault(Fault fault, {List<Codec> codecs})
→ XmlDocument
-
override
-
hasParam(String key)
→ Future<bool>
-
inherited
-
lookupNode(String nodeName)
→ Future<String>
-
2.2 Name service and system state
Get the XML-RPC URI of the node with the associated
nodeName
. [...]
inherited
-
lookupService(String service)
→ Future<String>
-
Gets the URI of the master [...]
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
processJobs()
→ void
-
-
registerPublisher(String topic, String topicType)
→ Future<List<String>>
-
Register the node by nodeName as a publisher of the specified
topic
. [...]
inherited
-
registerService(String service)
→ Future<void>
-
The following section is an implementation of the Master API from here: http://wiki.ros.org/ROS/Master_API
2
2.1 register / unregister methods
Registers node by nodeName as a provider of the specified
service
[...]
inherited
-
registerSubscriber(String topic, String topicType)
→ Future<List<String>>
-
Subscribe the node by nodeName to the specified
topic
. [...]
inherited
-
requestTopic(String remoteAddress, int remotePort, String topic, List<List<String>> protocols)
→ Future<ProtocolParams>
-
Our client's api to request a topic from another node
-
searchParam(String key)
→ Future<String>
-
inherited
-
serviceClient<C extends RosMessage<C>, R extends RosMessage<R>, T extends RosServiceMessage<C, R>>(String service, T messageClass, {bool persist: true, int maxQueueSize: -1})
→ ServiceClient<C, R, T>
-
-
setParam(String key, String value)
→ Future<bool>
-
inherited
-
shutdown()
→ Future<void>
-
-
subscribe<T extends RosMessage<T>>(String topic, T typeClass, void callback(T), int queueSize, int throttleMs, bool tcpNoDelay)
→ Subscriber<T>
-
-
subscribeParam(String key)
→ Future<Object>
-
inherited
-
toString()
→ String
-
Returns a string representation of this object.
inherited
-
unadvertise<T>(String topic)
→ Future<void>
-
-
unadvertiseService(String service)
→ Future<void>
-
-
unregisterPublisher(String topic)
→ Future<void>
-
Unregisters the node by nodeName as a publisher of the specified
topic
. [...]
inherited
-
unregisterService(String service)
→ Future<void>
-
Unregisters the node by nodeName as a provider of the specified
service
[...]
inherited
-
unregisterSubscriber(String topic)
→ Future<void>
-
Unsubscribes the node by nodeName from the specified
topic
. [...]
inherited
-
unsubscribe(String topic)
→ Future<void>
-
-
unsubscribeParam(String key)
→ Future<Object>
-
inherited