|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
This document describes the various utility and diagnostic scripts used to verify the Elodin stack, debug protocol issues, and test race conditions.
All scripts are located in tools/debug/.
A utility to compute the FNV-1a hash-based message IDs used by the Elodin DB. This is useful for verifying that the TypeScript relay and C++ services are using identical IDs for VTable subscriptions.
Usage:
A standalone TypeScript client that connects to the Elodin DB and subscribes to a specific VTable group. Use this to verify that the DB is responding to subscriptions and broadcasting data independently of the full relay stack.
Usage:
Starts the core components of the GUI stack (DB, Relay, Backend, DAQ Bridge, and Simulator) as background processes WITHOUT using tmux. This is useful for debugging in environments where tmux is unavailable or when you need to capture all logs in a single terminal session.
Usage:
Logs are saved to /tmp/manual_logs/.
A reproduction script for the Relay resubscription race condition. It intentionally delays the DAQ Bridge by 130 seconds to ensure the Relay exceeds its initial 2-minute retry limit. This verifies that the Relay correctly recovers and established subscriptions once the bridge finally starts.
Usage:
If sensor data is not reaching the frontend: