This is a proof of concept using the DroneBlocks Tello simulator minimal environment with ChatGPT and Python. Prepare to be amazed! Steps to get up and running are as follows:
You can crate an OpenAI user account for free. Then go to this link to create your API key.
The steps to get a DroneBlocks simulator key can be found here. This will only work in a Chrome browser for the time being. The simulator lives at the link below:
https://coding-sim.droneblocks.io/
git clone https://github.com/dbaldwin/DroneBlocks-Tello-Simulator-ChatGPT
You will need to update your config.json file with an OpenAI and DroneBlocks simulator key.
python -m venv venv
.\venv\Scripts\activate
source venv/bin/activate
pip install -r requirements.txt
python chatgpt_droneblocks_simulator.py
With the DroneBlocks simulator and a ChatGPT prompt open you can try commands like:
Please have the drone takeoff, fly up to 50m, do a backflip, and land
Experiment and share some cool examples!