Pose
Represents the position and orientation of an object or reference frame in three-dimensional space
Parent Data Structure
Pose appears in the following data structures: ArrowPrimitive, CubePrimitive, CylinderPrimitive, Grid, LaserScan, LinePrimitive, ModelPrimitive, PointCloud, PoseInFrame, PosesInFrame, SpherePrimitive, TextPrimitive, and TriangleListPrimitive.
Data Structure
| Field | Type | Description |
|---|---|---|
| position | Vector3 | Represents the position point in 3D space |
| orientation | Quaternion | Represents the orientation quaternion in 3D space |
Reference Implementation
The visualization data structure is framework-independent and can be implemented using any supported message encoding:
| Encoding | Data Structure |
|---|---|
| ROS 1 | geometry_msgs/Pose |
| ROS 2 | geometry_msgs/msg/Pose |
| JSON | foxglove.Pose |
| Protobuf | foxglove.Pose |
| FlatBuffers | foxglove.Pose |
| OMG IDL | foxglove::Pose |
You must use the data structure names specified above for the visualization to recognize the data structure.