Point2
Represents a position point in two-dimensional space
Parent Schema
Point2 appears in the CircleAnnotation, PointsAnnotation, and TextAnnotation message schemas.
Schema Definition
| Field | Type | Description |
|---|---|---|
| x | float64 | x coordinate position |
| y | float64 | y coordinate position |
Reference Implementation
The visualization schema is framework-independent and can be implemented using any supported message encoding:
| Encoding | Schema |
|---|---|
| ROS 1 | foxglove_msgs/Point2 |
| ROS 2 | foxglove_msgs/msg/Point2 |
| JSON | foxglove.Point2 |
| Protobuf | foxglove.Point2 |
| FlatBuffers | foxglove.Point2 |
| OMG IDL | foxglove::Point2 |
You must use the schema names specified above for the visualization to recognize the schema.