Class: TraceShape

TraceShape(options)

new TraceShape(options)

A trace of poses, handy to see where a robot has been

Parameters:
Name Type Description
options

object with following keys:

  • pose (optional) - the first pose of the trace
  • strokeSize (optional) - the size of the outline
  • strokeColor (optional) - the createjs color for the stroke
  • maxPoses (optional) - the maximum number of poses to keep, 0 for infinite
  • minDist (optional) - the minimal distance between poses to use the pose for drawing (default 0.05)
Source:

Methods

addPose(pose)

Adds a pose to the trace and updates the graphics

Parameters:
Name Type Description
pose

of type ROSLIB.Pose

Source:

popFront()

Removes front pose and updates the graphics

Source: