Drone Commander is an interactive web-based application designed for simulating drone flight control using Blockly and Three.js. Users can visually program the drone's movements using drag-and-drop blocks, and then see the drone execute those commands in a 3D simulation.
- Visual Programming: Utilize Blockly to create flight programs without writing code.
- 3D Simulation: Watch your programmed drone fly in a realistic 3D environment powered by Three.js.
- Intuitive UI: A split interface with a Blockly editor, 3D viewer, and status panel.
- Custom Blocks: Includes blocks for takeoff, landing, altitude control, direction setting, and movement.
- Keyboard Sensors: Detect key presses to interact with the drone in real-time.
- Simulation Controls: Play, pause, and reset the simulation easily.
- File Management: Save and load Blockly programs.
- Resizable UI: Adjust the layout by resizing panels or switching to fullscreen mode.
visit: https://vroby65.github.io/DroneCommander/
To run Drone Commander locally, simply clone the repository and open index.html
in a web browser.
git clone https://github.com/your-username/drone-commander.git
cd drone-commander
open index.html
- Drag and drop blocks in the Blockly editor to create a flight program.
- Click the Run button to execute the program and see the drone fly.
- Adjust position values using the status panel inputs.
- Click Stop to halt execution and reset the simulation.
- Save and Load programs for future use.
This project is licensed under the MIT License. See the LICENSE
file for details.
Contributions are welcome! Feel free to submit issues or pull requests to improve the project.
For any inquiries, feel free to reach out via GitHub Issues.