foxglove.PackedElementField

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

RoboticsObservabilityVisualizationData PlatformPhysical AIAutonomyFleet ManagementDeveloper ToolsMCAPROS

Properties

Name Type Description
name string Name of the field
offset integer Byte offset from start of data buffer
type object Type of data in the field. Integers are stored using little-endian byte order.
View JSON Schema on GitHub

JSON Schema

foxglove-technologies-packedelementfield.json Raw ↑
{
  "title": "foxglove.PackedElementField",
  "description": "A field present within each element in a byte array of packed elements.",
  "$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the field"
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "description": "Byte offset from start of data buffer"
    },
    "type": {
      "title": "foxglove.NumericType",
      "description": "Type of data in the field. Integers are stored using little-endian byte order.",
      "oneOf": [
        {
          "title": "UNKNOWN",
          "const": 0,
          "description": "Unknown numeric type"
        },
        {
          "title": "UINT8",
          "const": 1,
          "description": "Unsigned 8-bit integer"
        },
        {
          "title": "INT8",
          "const": 2,
          "description": "Signed 8-bit integer"
        },
        {
          "title": "UINT16",
          "const": 3,
          "description": "Unsigned 16-bit integer"
        },
        {
          "title": "INT16",
          "const": 4,
          "description": "Signed 16-bit integer"
        },
        {
          "title": "UINT32",
          "const": 5,
          "description": "Unsigned 32-bit integer"
        },
        {
          "title": "INT32",
          "const": 6,
          "description": "Signed 32-bit integer"
        },
        {
          "title": "FLOAT32",
          "const": 7,
          "description": "32-bit floating-point number"
        },
        {
          "title": "FLOAT64",
          "const": 8,
          "description": "64-bit floating-point number"
        }
      ]
    }
  },
  "required": [
    "name",
    "offset",
    "type"
  ]
}