Skip to content

feat(ui): redesign Streamlit ARL flight deck and quadrotor visualization - #310

Open
AryanXCode646 wants to merge 1 commit into
StellarResearch:mainfrom
AryanXCode646:feat/arl-streamlit-flightdeck-redesign
Open

AryanXCode646 wants to merge 1 commit into
StellarResearch:mainfrom
AryanXCode646:feat/arl-streamlit-flightdeck-redesign

Conversation

@AryanXCode646

Copy link
Copy Markdown
Contributor

Summary

Redesigns the Streamlit application at localhost:8501 into a premium aerospace-style autonomous drone flight simulator and mission control interface.

Changes Implemented:

  1. Aerospace Identity & Layout (app.py):

    • Header with ARL | AUTONOMOUS FLIGHT SYSTEMS identity and live status indicators.
    • Structured mission-control toolbar card for simulation controls.
    • 2-Column layout: Visually dominant 3D flight viewport on the left (660px height) and grouped aerospace telemetry console on the right.
    • Flight outcome banner with clear SUCCESS / COLLISION / TIMEOUT states, step counts, returns, and goal distances.
    • Preserved all tabs: Live 3D Flight Deck, Train PPO, Evaluation & Baseline, Obstacle Density, and System Architecture.
  2. 3D Quadrotor Mesh Upgrade (src/adaptive_rl/gui/visualizer.py):

    • Central fuselage pod with 3D volume and aerodynamic canopy.
    • Four X-configuration arms with structural carbon-fiber volume.
    • Four visible motor housings and rotor hubs.
    • Four recognizable 3D propeller blades with front/rear color differentiation (Aero Cyan for front rotors R1/R2, Deep Electric Blue for rear rotors R3/R4).
    • Port and starboard landing gear skids with 4 angled structural struts.
    • Forward optical sensor gimbal pod and lens assembly.
    • Illuminated forward-direction navigation chevron (+X_B heading).
    • Proximity safety regions for spherical obstacles.
    • Target waypoint altitude beacon column and destination label.
  3. Physical Correctness & Telemetry:

    • Rigid-body 6-DOF quaternion transformations accurately applied across all drone geometry.
    • Dedicated telemetry cards for Navigation, Flight Dynamics, Attitude (Roll/Pitch/Yaw & body rates), Sensors (16-ray LiDAR), and Performance.
    • Trajectory playback scrubber preserves full step inspection and synchronizes with 3D model and telemetry readouts.
  4. Testing & Visual Verification:

    • Added 5 new regression tests in tests/test_gui.py (23/23 passing in test_gui.py, 380/380 passing across repository).
    • Verified via Playwright headless browser at desktop 1920x1080 and mobile 390x844 viewports with zero exceptions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant