new InteractiveMarkerClient(options)
A client for an interactive marker topic.
Parameters:
Name | Type | Description |
---|---|---|
options |
object with following keys:
|
Methods
eraseIntMarker(intMarkerName)
Erase the interactive marker with the given name.
Parameters:
Name | Type | Description |
---|---|---|
intMarkerName |
the interactive marker name to delete |
processInit(initMessage)
Process the given interactive marker initialization message.
Parameters:
Name | Type | Description |
---|---|---|
initMessage |
the interactive marker initialization message to process |
processUpdate(initMessage)
Process the given interactive marker update message.
Parameters:
Name | Type | Description |
---|---|---|
initMessage |
the interactive marker update message to process |
subscribe(topic)
Subscribe to the given interactive marker topic. This will unsubscribe from any current topics.
Parameters:
Name | Type | Description |
---|---|---|
topic |
the topic to subscribe to, like '/basic_controls' |
unsubscribe()
Unsubscribe from the current interactive marker topic.