Skip to main content

Point2

Represents a position point in two-dimensional space

Parent Schema

Point2 appears in the CircleAnnotation, PointsAnnotation, and TextAnnotation message schemas.

Schema Definition

FieldTypeDescription
xfloat64x coordinate position
yfloat64y coordinate position

Reference Implementation

The visualization schema is framework-independent and can be implemented using any supported message encoding:

EncodingSchema
ROS 1foxglove_msgs/Point2
ROS 2foxglove_msgs/msg/Point2
JSONfoxglove.Point2
Protobuffoxglove.Point2
FlatBuffersfoxglove.Point2
OMG IDLfoxglove::Point2

You must use the schema names specified above for the visualization to recognize the schema.