Skip to main content

Point2

A point representing a position in 2D space

Parent schemas

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

Schema

fieldtypedescription
xfloat64x coordinate position
yfloat64y coordinate position

Reference implementations

Foxglove schemas are framework-agnostic, 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 Foxglove to recognize the schema.