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
Field | Type | Description |
---|---|---|
x | float64 | x coordinate length |
y | float64 | y coordinate length |
z | float64 | z coordinate length |
Reference Implementation
The visualization data structure is framework-independent and can be implemented using any supported message encoding:
Encoding | Data Structure |
---|---|
ROS 1 | geometry_msgs/Vector3 |
ROS 2 | geometry_msgs/msg/Vector3 |
JSON | foxglove.Vector3 |
Protobuf | foxglove.Vector3 |
FlatBuffers | foxglove.Vector3 |
OMG IDL | foxglove::Vector3 |
You must use the data structure names specified above for the visualization to recognize the data structure.