SpherePrimitive
A primitive representing a sphere or ellipsoid
Parent Data Structure
SpherePrimitive
appears in the SceneEntity
message data structure.
Data Structure
Field | Type | Description |
---|---|---|
pose | pose | Position and orientation of the sphere center |
size | Vector3 | Size of the sphere along each axis (diameter) |
color | color | Color of the sphere |
Reference Implementation
Visualization data structures are framework-agnostic and can be implemented using any supported message encoding:
Encoding | Data Structure |
---|---|
ROS 1 | foxglove_msgs/SpherePrimitive |
ROS 2 | foxglove_msgs/msg/SpherePrimitive |
JSON | foxglove.SpherePrimitive |
Protobuf | foxglove.SpherePrimitive |
FlatBuffers | foxglove.SpherePrimitive |
OMG IDL | foxglove::SpherePrimitive |
You must use the data structure names specified above so that visualizations can recognize the data structure.