Class: InteractiveMarkerClient

InteractiveMarkerClient(options)

new InteractiveMarkerClient(options)

A client for an interactive marker topic.

Parameters:
Name Type Description
options

object with following keys:

  • ros - a handle to the ROS connection
  • tfClient - a handle to the TF client
  • topic (optional) - the topic to subscribe to, like '/basic_controls', if not provided use subscribe() to start message receiving
  • path (optional) - the base path to any meshes that will be loaded
  • camera - the main camera associated with the viewer for this marker client
  • rootObject (optional) - the root THREE 3D object to render to
  • loader (optional) - the Collada loader to use (e.g., an instance of ROS3D.COLLADA_LOADER)
  • menuFontSize (optional) - the menu font size
Source:

Methods

eraseIntMarker(intMarkerName)

Erase the interactive marker with the given name.

Parameters:
Name Type Description
intMarkerName

the interactive marker name to delete

Source:

processInit(initMessage)

Process the given interactive marker initialization message.

Parameters:
Name Type Description
initMessage

the interactive marker initialization message to process

Source:

processUpdate(initMessage)

Process the given interactive marker update message.

Parameters:
Name Type Description
initMessage

the interactive marker update message to process

Source:

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'

Source:

unsubscribe()

Unsubscribe from the current interactive marker topic.

Source: