new AutoRos(optionsopt)
Auto reconnecting wrapper of ROSLIB.Ros
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Properties
|
Members
status
Status getter
status
Status setter
Methods
connect()
Connect to rosbridge
If an url is provided, it will connect to that one. Else it will use the previous url. Uses a url based on the hostname if no urls are provided.
onClose()
Event Callback on 'close'
onConnection()
Event Callback on 'connection'
onError()
Event Callback on 'error'