Quaternion
A quaternion representing a rotation in 3D.
Parent schema
Quaternion
appears in the following message schemas: FrameTransform
and Pose
.
Schema
Field | Type | Description |
---|---|---|
x | float64 | X component of the quaternion. |
y | float64 | Y component of the quaternion. |
z | float64 | Z component of the quaternion. |
w | float64 | W component of the quaternion. |
Reference implementations
Foxglove schemas are independent of any specific framework and can be used with any supported message encoding. The schema names should be specified as seen below:
Encoding | Schema |
---|---|
ROS 1 | foxglove_msgs/Quaternion |
ROS 2 | foxglove_msgs/msg/Quaternion |
JSON | foxglove.Quaternion |
Protobuf | foxglove.Quaternion |
FlatBuffers | foxglove.Quaternion |
OMG IDL | foxglove::Quaternion |