Skip to main content

Quaternion

A quaternion representing a rotation in 3D space

Parent schemas

Quaternion appears in the FrameTransform and Pose message schemas.

Schema

fieldtypedescription
xfloat64x value
yfloat64y value
zfloat64z value
wfloat64w value

Reference implementations

Foxglove schemas are framework-agnostic, and can be implemented using any supported message encoding:

encodingschema
ROS 1geometry_msgs/Quaternion
ROS 2geometry_msgs/msg/Quaternion
JSONfoxglove.Quaternion
Protobuffoxglove.Quaternion
FlatBuffersfoxglove.Quaternion
OMG IDLfoxglove::Quaternion

You must use the schema names specified above for Foxglove to recognize the schema.