Class: Marker

ROS3D. Marker

new Marker(options)

A Marker can convert a ROS marker message into a THREE object.

Parameters:
Name Type Description
options

object with following keys:

  • path - the base path or URL for any mesh files that will be loaded for this marker
  • message - the marker message
  • 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/Marker.js, line 17

Methods

setPose(pose)

Set the pose of this marker to the given values.

Parameters:
Name Type Description
pose

the pose to set for this marker

Source:
  • markers/Marker.js, line 310

update(message)

Update this marker.

Parameters:
Name Type Description
message

the marker message

Source:
  • markers/Marker.js, line 331
Returns:

true on success otherwhise false is returned