Skip to main content

CubePrimitive

A primitive representing a cube or rectangular prism

Parent schema

CubePrimitive appears in the SceneEntity message schema.

Schema

fieldtypedescription
posePosePosition of the center of the cube and orientation of the cube
sizeVector3Size of the cube along each axis
colorColorColor of the cube

Reference implementations

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

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

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