CylinderPrimitive

A primitive representing a cylinder, elliptic cylinder, or truncated cone.

Parent schema

CylinderPrimitive appears in the SceneEntity message schema.

Schema

FieldTypeDescription
poseposePosition of the center of the cylinder and its orientation. The flat face(s) are perpendicular to the z-axis.
sizeVector3Size of the cylinder's bounding box.
bottom_scalefloat64Ratio (0-1) of the diameter of the cylinder's bottom face (min z) relative to the bounding box bottom.
top_scalefloat64Ratio (0-1) of the diameter of the cylinder's top face (max z) relative to the bounding box top.
colorColorColor of the cylinder.

Reference implementations

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