Skip to main content

PackedElementField

A field present within each element in a byte array of packed elements.

Parent schemas

PackedElementField appears in the Grid and PointCloud message schemas.

Schema

fieldtypedescription
namestringName of the field
offsetuint32Byte offset from start of data buffer
typeNumericTypeType of data in the field. Integers are stored using little-endian byte order.

Reference implementations

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

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

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