Expand description
Binary header prepended to every event-vision block on the Zenoh evs key.
An event-vision camera — a LUCID Triton2 EVS, for one
(#138) —
streams encoded events, not pixels. Its blocks are published on
keys::evs rather than keys::image,
framed the way images are: a fixed little-endian header, then the payload
exactly as the device sent it.
§Layout (24 bytes, all fields little-endian)
| Offset | Size | Field | Value / Notes |
|---|---|---|---|
| 0 | 2 | magic | 0x5645 LE ([0x45, 0x56], "EV") |
| 2 | 1 | version | 1 |
| 3 | 1 | format | event encoding discriminant (see EvsFormat) |
| 4 | 4 | seq | per-acquisition block counter, u32 |
| 8 | 8 | timestamp | device timestamp; meaningful only if flagged |
| 16 | 4 | payload_len | length of the event bytes that follow, u32 |
| 20 | 1 | flags | bit 0: timestamp is present |
| 21 | 3 | reserved | zero |
Structs§
- EvsHeader
- 24-byte header prepended to every event-vision block.
Enums§
- EvsFormat
- Encoding of the event bytes that follow an
EvsHeader. - EvsHeader
Error - Errors returned by
EvsHeader::decode.
Constants§
- EVS_
HEADER_ SIZE - Fixed size of the binary event-vision block header in bytes.
- EVS_
MAGIC - Magic bytes identifying an event-vision block header.
Little-endian encoding of
0x5645-> bytes[0x45, 0x56]("EV"). - EVS_
SUPPORTED_ VERSION - The only supported header version. Bumped when the layout changes.