Skip to main content

Vector3

A vector in 3D space that represents a direction only

Parent schemas​

Vector3 appears in the CubePrimitive, CylinderPrimitive, FrameTransform, ModelPrimitive, Pose, and SpherePrimitive message schemas.

Schema​

fieldtypedescription
xfloat64x coordinate length
yfloat64y coordinate length
zfloat64z coordinate length

Reference implementations​

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

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

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