STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
actuator_nc_config.h
Go to the documentation of this file.
1#pragma once
2
3//-----------------------------------------------------------------------------
4// Timing and timeouts for actuator_nc mock (milliseconds)
5//-----------------------------------------------------------------------------
6#define HEARTBEAT_TIMEOUT_MS 5000 // Server heartbeat timeout example
7#define CONNECTION_LOSS_GRACE_MS \
8 10000 // Time in connection loss before no-connection abort (X in original)
9#define HEARTBEAT_SEND_INTERVAL_MS \
10 100 // Delay between heartbeats in mock loops
11#define MAINLOOP_POLL_INTERVAL_MS 100 // General delay in mock loops