PointsAnnotation

This is a ROS message definition.

Source

# foxglove_msgs/msg/PointsAnnotation
# An array of points on a 2D image

# Generated by https://github.com/foxglove/schemas

# Timestamp of annotation
builtin_interfaces/Time timestamp

uint8 UNKNOWN=0

# Individual points: 0, 1, 2, ...
uint8 POINTS=1

# Closed polygon: 0-1, 1-2, ..., (n-1)-n, n-0
uint8 LINE_LOOP=2

# Connected line segments: 0-1, 1-2, ..., (n-1)-n
uint8 LINE_STRIP=3

# Individual line segments: 0-1, 2-3, 4-5, ...
uint8 LINE_LIST=4

# Type of points annotation to draw
uint8 type

# Points in 2D image coordinates (pixels)
foxglove_msgs/Point2[] points

# Outline color
foxglove_msgs/Color outline_color

# Per-point colors, if `type` is `POINTS`, or per-segment stroke colors, if `type` is `LINE_LIST`, `LINE_STRIP` or `LINE_LOOP`.
foxglove_msgs/Color[] outline_colors

# Fill color
foxglove_msgs/Color fill_color

# Stroke thickness in pixels
float64 thickness