Class: LaserScan

LaserScan(options)

new LaserScan(options)

A LaserScan client that listens to a given topic and displays the points.

Parameters:
Name Type Description
options

object with following keys:

  • ros - the ROSLIB.Ros connection handle
  • topic - the marker topic to listen to (default '/scan')
  • tfClient - the TF client handle to use
  • compression (optional) - message compression (default: 'cbor')
  • rootObject (optional) - the root object to add this marker to use for the points.
  • max_pts (optional) - number of points to draw (default: 10000)
  • pointRatio (optional) - point subsampling ratio (default: 1, no subsampling)
  • messageRatio (optional) - message subsampling ratio (default: 1, no subsampling)
  • material (optional) - a material object or an option to construct a PointsMaterial.
Source: