Point2
A point representing a position in 2D space
Parent schemas
Point2 appears in the CircleAnnotation, PointsAnnotation, and TextAnnotation message schemas.
Schema
| field | type | description |
|---|---|---|
x | float64 | x coordinate position |
y | float64 | y coordinate position |
Reference implementations
Foxglove schemas are framework-agnostic, 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 Foxglove to recognize the schema.