How shiva4646/cansat.ver.06 works
This is a CanSat ground-station GUI for monitoring live flight telemetry, viewing sensor/GPS/orientation data, sending commands, and downloading flight logs. The primary workflow is telemetry arriving through the frontend’s socket connection, being normalized into shared state, and presented in dashboard and specialist views; users can also send uplink commands and request a log download. Backend and legacy modules appear in the tree, but their internal wiring is not established by the available excerpts, so those links are omitted.
Main entry points: App.jsx App and routing · TelemetryContext.jsx Telemetry state · Dashboard.jsx Flight dashboard · GPSMap.jsx GPS map and trace
Components 22
Ground-station UI
- App and routing
GUI-master/frontend/src/App.jsx - Navigation sidebar
GUI-master/frontend/src/components/Sidebar.jsx - Mission timer
GUI-master/frontend/src/components/MissionTimer.jsx
Telemetry and views
- Telemetry state
GUI-master/frontend/src/context/TelemetryContext.jsx - Flight dashboard
GUI-master/frontend/src/pages/Dashboard.jsx - Sensor views
GUI-master/frontend/src/pages/Sensors.jsx - Orientation views
GUI-master/frontend/src/pages/Gyro.jsx - GPS view
GUI-master/frontend/src/pages/GPS.jsx - Communication view
GUI-master/frontend/src/pages/Communication.jsx - Telemetry charts
GUI-master/frontend/src/components/RealtimeChart.jsx - GPS map and trace
GUI-master/frontend/src/components/GPSMap.jsx - 3D satellite view
GUI-master/frontend/src/components/Satellite3D.jsx - Uplink controls
GUI-master/frontend/src/components/UplinkControl.jsx - Telemetry controls
GUI-master/frontend/src/components/TelemetryControls.jsx - CanSat model asset
GUI-master/frontend/public/cansat.glb
Backend modules
- Backend server
GUI-master/backend/server.js - Ground logger
GUI-master/backend/ground_logger.py - Favorites module
GUI-master/backend/fav.js
Other components
- Ground-station operator
- Socket service
- Map tile service
- Log download endpoint
Connections 29
- Ground-station operator → App and routing: uses
GUI-master/frontend/src/App.jsx - App and routing → Telemetry state: provides state
GUI-master/frontend/src/App.jsx - App and routing → Navigation sidebar: renders
GUI-master/frontend/src/App.jsx - App and routing → Mission timer: renders
GUI-master/frontend/src/App.jsx - App and routing → Flight dashboard: routes to
GUI-master/frontend/src/App.jsx - App and routing → Sensor views: routes to
GUI-master/frontend/src/App.jsx - App and routing → GPS view: routes to
GUI-master/frontend/src/App.jsx - App and routing → Orientation views: routes to
GUI-master/frontend/src/App.jsx - App and routing → Communication view: routes to
GUI-master/frontend/src/App.jsx - Telemetry state → Socket service: connects via socket
GUI-master/frontend/src/context/TelemetryContext.jsx - Flight dashboard → Telemetry state: reads telemetry
GUI-master/frontend/src/pages/Dashboard.jsx - Flight dashboard → Telemetry charts: renders
GUI-master/frontend/src/pages/Dashboard.jsx - Flight dashboard → GPS map and trace: renders
GUI-master/frontend/src/pages/Dashboard.jsx - Flight dashboard → 3D satellite view: renders
GUI-master/frontend/src/pages/Dashboard.jsx - Sensor views → Telemetry state: reads telemetry
GUI-master/frontend/src/pages/Sensors.jsx - Sensor views → Telemetry charts: renders
GUI-master/frontend/src/pages/Sensors.jsx - Orientation views → Telemetry state: reads telemetry
GUI-master/frontend/src/pages/Gyro.jsx - Orientation views → 3D satellite view: renders
GUI-master/frontend/src/pages/Gyro.jsx - GPS view → Telemetry state: reads telemetry
GUI-master/frontend/src/pages/GPS.jsx - GPS view → GPS map and trace: renders
GUI-master/frontend/src/pages/GPS.jsx - Communication view → Telemetry state: reads link state
GUI-master/frontend/src/pages/Communication.jsx - GPS map and trace → Telemetry state: reads position history
GUI-master/frontend/src/components/GPSMap.jsx - GPS map and trace → Map tile service: loads map tiles
GUI-master/frontend/src/components/GPSMap.jsx - 3D satellite view → Telemetry state: reads orientation
GUI-master/frontend/src/components/Satellite3D.jsx - 3D satellite view → CanSat model asset: loads model
GUI-master/frontend/src/components/Satellite3D.jsx - Uplink controls → Telemetry state: sends commands
GUI-master/frontend/src/components/UplinkControl.jsx - Telemetry controls → Telemetry state: uses telemetry state
GUI-master/frontend/src/components/TelemetryControls.jsx - App and routing → Log download endpoint: requests log
GUI-master/frontend/src/App.jsx - Mission timer → App and routing: triggers download
GUI-master/frontend/src/components/MissionTimer.jsx