Spaces:
Sleeping
Sleeping
Download visualizer/src/components/TelemetryPanel.jsx from ascentftw/ATC-RL-Environment: direct link, hf CLI and curl.
- Browser
- Download file 654 Bytes
-
https://huggingface.co/spaces/ascentftw/ATC-RL-Environment/resolve/main/visualizer/src/components/TelemetryPanel.jsx
- Command line
-
hf download hf://spaces/ascentftw/ATC-RL-Environment/visualizer/src/components/TelemetryPanel.jsx
-
curl -L -o TelemetryPanel.jsx https://huggingface.co/spaces/ascentftw/ATC-RL-Environment/resolve/main/visualizer/src/components/TelemetryPanel.jsx
654 Bytes
| import React from 'react'; | |
| export default function TelemetryPanel({ gameState }) { | |
| return ( | |
| <div className="header-panel"> | |
| <div> | |
| <h3>ATC Telemetry</h3> | |
| </div> | |
| <div style={{ display: 'flex', gap: '24px' }}> | |
| <div><strong>Reward:</strong> {gameState.reward}</div> | |
| <div><strong>Step:</strong> {gameState.step}</div> | |
| <div><strong>Landed:</strong> {gameState.landed}</div> | |
| <div><strong>Violations:</strong> {gameState.violations}</div> | |
| <div><strong>Wind:</strong> {gameState.wind}</div> | |
| <div><strong>Runway:</strong> {gameState.runwayStatus}</div> | |
| </div> | |
| </div> | |
| ); | |
| } | |