Skip to main content

SpherePrimitive

A primitive representing a sphere or ellipsoid

Parent schema​

SpherePrimitive appears in the SceneEntity message schema.

Schema​

fieldtypedescription
posePosePosition of the center of the sphere and orientation of the sphere
sizeVector3Size (diameter) of the sphere along each axis
colorColorColor of the sphere

Reference implementations​

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

encodingschema
ROS 1foxglove_msgs/SpherePrimitive
ROS 2foxglove_msgs/msg/SpherePrimitive
JSONfoxglove.SpherePrimitive
Protobuffoxglove.SpherePrimitive
FlatBuffersfoxglove.SpherePrimitive
OMG IDLfoxglove::SpherePrimitive

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