Quaternion
A quaternion representing a rotation in 3D space
Parent schemas
Quaternion appears in the FrameTransform and Pose message schemas.
Schema
| field | type | description |
|---|---|---|
x | float64 | x value |
y | float64 | y value |
z | float64 | z value |
w | float64 | w value |
Reference implementations
Foxglove schemas are framework-agnostic, and can be implemented using any supported message encoding:
| encoding | schema |
|---|---|
| ROS 1 | geometry_msgs/Quaternion |
| ROS 2 | geometry_msgs/msg/Quaternion |
| JSON | foxglove.Quaternion |
| Protobuf | foxglove.Quaternion |
| FlatBuffers | foxglove.Quaternion |
| OMG IDL | foxglove::Quaternion |
You must use the schema names specified above for Foxglove to recognize the schema.