PackedElementField
A field present within each element in a byte array of packed elements.
Parent schema
PackedElementField
appears in the following message schemas: Grid
and PointCloud
.
Schema
Field | Type | Description |
---|---|---|
pose | Pose | The position and orientation of the model relative to the reference frame. |
scale | Vector3 | Scale factor applied to the model along each axis. |
color | Color | Solid color applied to the entire model if override_color is set to true. |
override_color | boolean | If true, overrides the model's original material colors with the specified color . |
url | string | URL linking to the external model file. One of url or data must be provided. |
media_type | string | MIME type of the embedded model (e.g., model/gltf-binary ). Required if data is used instead of url . Overrides inferred type. |
data | bytes | Embedded model data. If provided, media_type must be specified. One of url or data must be provided. |
Reference implementations
Foxglove schemas are independent of any specific framework and can be used with any supported message encoding. The schema names should be specified as seen below:
Encoding | Schema |
---|---|
ROS 1 | foxglove_msgs/PackedElementField |
ROS 2 | foxglove_msgs/msg/PackedElementField |
JSON | foxglove.PackedElementField |
Protobuf | foxglove.PackedElementField |
FlatBuffers | foxglove.PackedElementField |
OMG IDL | foxglove::PackedElementField |