LaserScan

Single scan from a planar laser range-finder

Panel support

LaserScan can be used in the following panels: 3D and Image.

Schema

FieldTypeDescription
typeLineTypeType of line primitive to draw.
posePoseThe position and orientation of the line relative to the reference frame.
thicknessfloat64Thickness of the line.
scale_invariantbooleanIf true, thickness is fixed in screen pixels. If false, thickness scales with distance in world units.
pointsPoint3[]Points along the line
colorColorSingle color applied to the entire line. Either this or colors must be provided.
colorsColor[]Per-point colors along the line. If specified, must match the number of points. Either this or color must be provided.
indicesuint32[]Optional index list into the points and colors arrays to reuse points and avoid duplication.

Reference implementations

Foxglove schemas are independent of any specific framework and can be used with any supported message encoding. The schema names should be specified as seen below: