Class: Marker

ROS3D.Marker(options)

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
Source:

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:

update(message)

Update this marker.

Parameters:
Name Type Description
message

the marker message

Source:
Returns:

true on success otherwhise false is returned