Skip to main content

Vector3

Represents a three-dimensional vector in space that contains only direction.

Parent Data Structure

Vector3 appears in the following data structures: CubePrimitive, CylinderPrimitive, FrameTransform, ModelPrimitive, pose, and SpherePrimitive.

Data Structure

FieldTypeDescription
xfloat64x coordinate length
yfloat64y coordinate length
zfloat64z coordinate length

Reference Implementation

The visualization data structure is framework-independent and can be implemented using any supported message encoding:

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

You must use the data structure names specified above for the visualization to recognize the data structure.