How shiva4646/cansat works
This repository is a CanSat ground-station GUI: incoming telemetry is received by a server, presented as live mission, sensor, position, and attitude views, while the server also provides a command path back toward the serial device. A separate backend simulator can generate telemetry and optionally persist it. The sampled sources support the UI update calls and the server’s serial/command responsibilities; some server-to-client event wiring is in omitted excerpts, so those links are marked unverified. The tree also contains a frontend directory, but no sampled implementation establishes its runtime role.
Main entry points: index.html Dashboard Shell · telemetry_update-ui.js Telemetry Hydration · server.js Ground Station Server · socket.js Socket Client
Components 17
Telemetry Ingest
- Ground Station Server
GUI-master/backend/server.js - Socket Client
GUI-master/frontend-legacy/JS/socket.js
Mission UI
- Telemetry Hydration
GUI-master/frontend-legacy/JS/telemetry_update-ui.js - Dashboard Shell
GUI-master/frontend-legacy/index.html - Page Navigation
GUI-master/frontend-legacy/JS/sidebar.js - Mission Clocks
GUI-master/frontend-legacy/JS/index.js - Mission Timer
GUI-master/frontend-legacy/JS/timer.js - Frontend Entry
GUI-master/frontend/index.html
Live Visualizations
- Telemetry Charts
GUI-master/frontend-legacy/JS/chart.js - GPS Map
GUI-master/frontend-legacy/JS/map.js - Attitude and Radar
GUI-master/frontend-legacy/JS/orientation.js - Satellite Model
GUI-master/frontend-legacy/JS/threejs-sat.js
Simulation and Persistence
- Telemetry Simulator
GUI-master/backend/fav.js - Telemetry Database
Other components
- Ground Operator
- CanSat Device
- Map Tile Service
Connections 16
- CanSat Device → Ground Station Server: sends serial data
GUI-master/backend/server.js - Ground Station Server → Socket Client: broadcasts telemetry
- Socket Client → Telemetry Hydration: dispatches updates
GUI-master/frontend-legacy/JS/socket.js - Telemetry Hydration → Telemetry Charts: updates charts
GUI-master/frontend-legacy/JS/telemetry_update-ui.js - Telemetry Hydration → GPS Map: updates position
GUI-master/frontend-legacy/JS/telemetry_update-ui.js - Telemetry Hydration → Dashboard Shell: updates readouts
GUI-master/frontend-legacy/JS/telemetry_update-ui.js - Ground Operator → Dashboard Shell: views mission
- Dashboard Shell → Page Navigation: loads navigation
- Dashboard Shell → Mission Clocks: loads clock
- Dashboard Shell → Mission Timer: loads timer
- Attitude and Radar → Satellite Model: creates model
GUI-master/frontend-legacy/JS/orientation.js - GPS Map → Map Tile Service: loads tiles
GUI-master/frontend-legacy/JS/map.js - Ground Operator → Ground Station Server: sends commands
- Ground Station Server → CanSat Device: writes serial command
GUI-master/backend/server.js - Telemetry Simulator → Socket Client: emits telemetry
- Telemetry Simulator → Telemetry Database: inserts packets
GUI-master/backend/fav.js