STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
sense_config.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
hotfire_config.h
"
4
5
//-----------------------------------------------------------------------------
6
// Sense hotfire (PT / TC / LC / RTD) — timing and data collection
7
// Same structure as actuator_config.h; board-specific values can override in
8
// main.h.
9
//-----------------------------------------------------------------------------
10
11
// Server heartbeat timeout (optional; sensor core may use for connection loss)
12
#define HEARTBEAT_TIMEOUT_MS 5000
// Server heartbeat watchdog
13
14
// Sensor data chunking: max chunks per packet (from hotfire_config.h)
15
#define SENSOR_MAX_CHUNKS_BEFORE_SEND HOTFIRE_CHUNKS_PER_PACKET
16
17
// ...or sooner, once the oldest queued chunk is this old (see send_policy.h).
18
// Bounds how stale a slow board's newest reading can be on the ground.
19
#ifndef SENSOR_MAX_BATCH_AGE_MS
20
#define SENSOR_MAX_BATCH_AGE_MS 250
21
#endif
hotfire_config.h
firmware
Hotfire_Code
common
sense_config.h
Generated by
1.15.0