CylinderPrimitive
A primitive representing a cylinder, elliptic cylinder, or truncated cone.
Parent schema
CylinderPrimitive
appears in the SceneEntity
message schema.
Schema
Field | Type | Description |
---|---|---|
pose | pose | Position of the center of the cylinder and its orientation. The flat face(s) are perpendicular to the z-axis. |
size | Vector3 | Size of the cylinder's bounding box. |
bottom_scale | float64 | Ratio (0-1) of the diameter of the cylinder's bottom face (min z) relative to the bounding box bottom. |
top_scale | float64 | Ratio (0-1) of the diameter of the cylinder's top face (max z) relative to the bounding box top. |
color | Color | Color of the cylinder. |
Reference implementations
Foxglove schemas are framework-agnostic and can be implemented using any supported message encoding:
Encoding | Schema |
---|---|
ROS 1 | foxglove_msgs/CylinderPrimitive |
ROS 2 | foxglove_msgs/msg/CylinderPrimitive |
JSON | foxglove.CylinderPrimitive |
Protobuf | foxglove.CylinderPrimitive |
FlatBuffers | foxglove.CylinderPrimitive |
OMG IDL | foxglove::CylinderPrimitive |