Skip to content

msight_core.data.bytes

msight_core.data.bytes

Module defining lightweight container for raw byte sensor payloads.

This module provides BytesData, a small convenience subclass of :class:SensorData that carries an opaque bytes payload. It is useful for representing binary sensor frames such as compressed images or raw lidar packets while retaining the shared sensor metadata (capture_timestamps, frame id, device name) provided by :class:SensorData.

BytesData dataclass

Bases: SensorData

Container for binary sensor payloads.

This dataclass stores an opaque bytes payload together with the standard sensor metadata inherited from :class:SensorData.

Attributes:

Name Type Description
data bytes

Binary payload (e.g. compressed image or raw packet).