Class: MarkerClient

ROS3D. MarkerClient

new MarkerClient(options)

A marker client that listens to a given marker topic.

Emits the following events:

  • 'change' - there was an update or change in the marker
Parameters:
Name Type Description
options

object with following keys:

  • ros - the ROSLIB.Ros connection handle
  • topic - the marker topic to listen to
  • tfClient - the TF client handle to use
  • rootObject (optional) - the root object to add this marker to
  • path (optional) - the base path to any meshes that will be loaded
  • loader (optional) - the Collada loader to use (e.g., an instance of ROS3D.COLLADA_LOADER ROS3D.COLLADA_LOADER_2) -- defaults to ROS3D.COLLADA_LOADER_2
Source:
  • markers/MarkerClient.js, line 23