Struct ZonePacket
Defined in File packet.h
Inheritance Relationships
Base Type
public ouster::sdk::core::Packet(Struct Packet)
Struct Documentation
-
struct ZonePacket : public ouster::sdk::core::Packet
Encapsulate an imu packet buffer and attributes associated with it.
Public Functions
-
ZonePacket(int size)
Construct a new Imu packet with a pre-allocated size.
- Parameters:
size[in] size in bytes to allocate
-
inline std::array<uint8_t, 32> live_zoneset_hash() const
Get live zoneset hash.
- Returns:
256bit hash of zone config
-
inline uint64_t timestamp() const
Get zone timestamp.
- Returns:
zone timestamp
Public Static Attributes
-
static const PacketType MY_TYPE = PacketType::Zone
PacketType enum for this packet type.
- static OUSTER_DIAGNOSTIC_PUSH OUSTER_DIAGNOSTIC_IGNORE_UNUSED const PacketType my_type = PacketType::Zone
- Deprecated:
Use MY_TYPE instead. This will be removed in a future release.
-
ZonePacket(int size)