Grid

A 2D grid of data

Panel support

Schema

fieldtypedescription
timestamptimeTimestamp of grid
frame_idstringFrame of reference
posePoseOrigin of grid's corner relative to frame of reference; grid is positioned in the x-y plane relative to this origin
column_countuint32Number of grid columns
cell_sizeVector2Size of single grid cell along x and y axes, relative to pose
row_strideuint32Number of bytes between rows in data
cell_strideuint32Number of bytes between cells within a row in data
fieldsPackedElementField[]Fields in data
databytesGrid cell data, interpreted using fields, in row-major (y-major) order

Reference implementations

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

encodingschema name
ROS 1foxglove_msgs/Grid
ROS 2foxglove_msgs/msg/Grid
JSONfoxglove.Grid
Protobuffoxglove.Grid

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