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 orientation of the cylinder. The flat face(s) are perpendicular to the z-axis. |
size | Vector3 | Size of the cylinder's bounding box |
bottom_scale | float64 | 0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box |
top_scale | float64 | 0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box |
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 |
You must use the schema names specified above for Foxglove to recognize the schema.
