How lmg0612/ai_powered_autonomous_mobility_ai_pam works
This repository is a research-oriented voice-controlled drone ground station, with parallel simulator, API, and mission-planning experiments. The principal workflow is audio upload or capture, Whisper transcription, LLM command generation, command execution, then job-status/log review. The graph also retains the documented Tello fine-tuning and PDDL planning branches. Some subsystem links rely on README descriptions; unsampled internals are not inferred beyond those statements.
Main entry points: App.tsx Integrated control UI · api/main.py API routes and jobs · SITL/main.py SITL command loop · llm_interface.py Gemini command generation
Components 31
Voice Command API
- API routes and jobs
api/main.py - Whisper transcription
api/whisper_service.py - Command execution manager
api/command_runner.py - Command data models
api/model.py - Drone command API
api/drone_api.py - Voice demo page
api/static/app.js - Integrated API routes
integrated-full-project/Real_UI_Last/api/api.py
Drone Execution
- SITL command loop
SITL/main.py - Gemini command generation
SITL/llm_interface.py - Command prompts
SITL/prompts.py - JSON command parser
SITL/command_parser.py - DroneKit controls
SITL/drone_control.py - Tello command loop
SITL/tello/main.py - Tello command generation
SITL/tello/llm_interface.py - Tello command parser
SITL/tello/command_parser.py - Tello controls
SITL/tello/drone_control.py
Mission Planning
- PDDL mission generation
NLPDDL/uav/main.py - Qwen mission generation
NLPDDL/uav.qwen/main.py - Plan validation
NLPDDL/uav/check_pddl_real.py - Qwen plan validation
NLPDDL/uav.qwen/check_pddl_real.py
Model Research
- Tello command dataset
LLM/tello_dataset.py
Operator Interface
- Integrated control UI
integrated-full-project/Real_UI_Last/frontend/src/App.tsx - Pipeline summary view
integrated-full-project/Real_UI_Last/frontend/src/components/PipelineCompact.tsx - Whisper and GPS page
integrated-full-project/Real_UI_Last/frontend/src/components/Page1WhisperGpsVideo.tsx - Sensor event log
integrated-full-project/Real_UI_Last/frontend/src/components/Page2SensorEventLog.tsx - Control and video page
integrated-full-project/Real_UI_Last/frontend/src/components/Page3ControlVideo.tsx
Other components
- Operator
- Gemini service
- DroneKit SITL
- Tello drone
- Whisper engine
Connections 32
- Operator → API routes and jobs: uploads audio
api/main.py - API routes and jobs → Whisper transcription: transcribes audio
api/main.py - Whisper transcription → Whisper engine: runs model
api/whisper_service.py - API routes and jobs → Command execution manager: starts jobs
api/main.py - API routes and jobs → Command data models: uses models
api/main.py - API routes and jobs → Gemini service: generates commands
README.md - Command execution manager → Drone command API: dispatches commands
api/command_runner.py - Operator → Voice demo page: uses demo
- Operator → SITL command loop: enters command
SITL/main.py - SITL command loop → Gemini command generation: requests commands
SITL/main.py - Gemini command generation → Command prompts: uses prompt
SITL/llm_interface.py - Gemini command generation → Gemini service: calls Gemini
README.md - SITL command loop → JSON command parser: passes JSON
SITL/main.py - JSON command parser → DroneKit controls: dispatches controls
SITL/command_parser.py - DroneKit controls → DroneKit SITL: controls vehicle
README.md - Operator → Tello command loop: enters command
SITL/tello/main.py - Tello command loop → Tello command generation: requests commands
SITL/tello/main.py - Tello command loop → Tello command parser: passes commands
SITL/tello/main.py - Tello command parser → Tello controls: dispatches controls
- Tello controls → Tello drone: controls drone
README.md - Operator → PDDL mission generation: describes mission
README.md - PDDL mission generation → Plan validation: creates plans
- Operator → Qwen mission generation: describes mission
- Qwen mission generation → Qwen plan validation: creates plans
- Tello command dataset → Tello command generation: supports tuning
README.md - Operator → Integrated control UI: uses dashboard
integrated-full-project/Real_UI_Last/frontend/src/App.tsx - Integrated control UI → Whisper and GPS page: renders page
integrated-full-project/Real_UI_Last/frontend/src/App.tsx - Integrated control UI → Sensor event log: renders page
integrated-full-project/Real_UI_Last/frontend/src/App.tsx - Integrated control UI → Control and video page: renders page
integrated-full-project/Real_UI_Last/frontend/src/App.tsx - Integrated control UI → Pipeline summary view: shows pipeline
integrated-full-project/Real_UI_Last/frontend/src/App.tsx - Integrated control UI → API routes and jobs: uploads audio
integrated-full-project/Real_UI_Last/frontend/src/App.tsx - Integrated control UI → Integrated API routes: calls API