Class: Polygon

Polygon(options)

new Polygon(options)

A PolygonStamped client that listens to a given topic and displays the polygon

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
  • color (optional) - color for line (default: 0xcc00ff)
Source: