Struct MsgTrafficSignInfo

Struct Documentation

struct MsgTrafficSignInfo

Public Types

enum class Status : uint8_t

Values:

enumerator Unknown
enumerator Off
enumerator Active
enumerator Error
enum class Unit : uint8_t

Values:

enumerator Unknown
enumerator Kph
enumerator Mph
enum class Limit : uint8_t

Values:

enumerator Unknown
enumerator NoLimit

Public Functions

inline void reset()
inline float speedLimit() const
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const

Public Members

Status status
uint8_t camera_used
uint8_t navigation_used
uint8_t __pad0__
Unit speed_units
Limit speed_limit
uint8_t __pad1__
uint8_t rc
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x382
static constexpr size_t PERIOD_MS = 1000
static constexpr size_t TIMEOUT_MS = 2500