26 uint8_t firmware_hash[32];
191 uint8_t num_commands;
200 uint8_t actuator_state;
208 uint8_t num_commands;
238 uint8_t num_abort_actuators;
256 uint8_t num_abort_pts;
267 uint32_t pressure_threshold_adc;
307 uint32_t pressure_pa;
static bool is_abort_controller
struct __attribute__((packed)) PacketHeader
The standard 6-byte header preceding every packet.
EngineState
Defines the overall state of the engine system.
BoardState
Defines the operational state of a board.
PacketType
Defines the type of data contained in a packet.
High-level representation of a parsed Sensor Config payload.
uint8_t reference_voltage
uint8_t enable_serial_printing
std::vector< uint8_t > sensor_ids
size_t size() const
Get the number of datapoints in this chunk.
bool full() const
Check if the chunk is full.
bool empty() const
Check if the chunk is empty.
void clear()
Clear all datapoints from this chunk.
SensorDataChunkCollection(uint32_t ts, uint8_t num_sensors)
Constructor with timestamp.
std::vector< SensorDatapoint > datapoints
bool add_datapoint(uint8_t sensor_id, uint32_t data)
Add a sensor datapoint to this chunk.