Struct MsgEyeTracker

Struct Documentation

struct MsgEyeTracker

Public Types

enum class Gaze : uint8_t

Values:

enumerator Other
enumerator PassengerWindshield
enumerator DriverWindshield
enumerator InstrumentPanel
enumerator MediaTablet
enumerator RearMirror
enumerator DriverMirror
enumerator PassengerMirror
enumerator BelowDashboard

Public Functions

inline void setAttentionPercent(float pc)
inline float attentionValid() const
inline float attentionPercent() const
inline void reset()
inline void setCrc()
inline bool validCrc() const
inline bool validRc(uint8_t rc) const

Public Members

uint8_t attention_pc
Gaze gaze
uint8_t __pad0__
uint8_t eyes_present
uint8_t __pad1__
uint8_t rc
uint8_t crc

Public Static Attributes

static constexpr uint32_t ID = 0x2CB
static constexpr size_t PERIOD_MS = 200
static constexpr size_t TIMEOUT_MS = 500