
Learn how the complete LLM-powered drone system works using ROS 2, PX4, Gazebo, Ollama, YOLO, and computer vision. Understand how natural-language prompts are converted into drone commands, how PX4 communicates with ROS 2 through the Micro XRCE-DDS Agent, and how camera images and YOLO detections are used for autonomous drone behavior.
Set up the core drone simulation environment on Ubuntu 24.04 by installing and configuring ROS 2 Jazzy, Gazebo, and PX4 Autopilot. Prepare the required dependencies, connect ROS 2 with Gazebo, and get the system ready for PX4 drone simulation and later LLM-based control.
Launch and test the PX4 drone simulation in Gazebo using the X500 drone, verify arming and takeoff, and learn how to use QGroundControl to monitor the simulated vehicle and manually control its flight.
Install Ollama and configure a local Large Language Model (LLM) for the drone project. Learn how the LLM interprets natural-language prompts and prepares them for use by the ROS 2 drone control system.
Launch the complete LLM-controlled drone system and control the simulated PX4 drone using natural-language prompts. Test autonomous flight patterns, multi-step missions, YOLO object detection, vision-based search and approach behaviors, and visualize the drone path using RViz, ROS 2, Gazebo, and PX4.
Learn how to build and control an AI-powered simulated drone using Large Language Models, ROS 2, PX4, Gazebo, Ollama, and YOLO.
You will be able to give instructions such as:
“Take off and hover at 5 meters.”
“Fly in a heart shape.”
“Search for a person, then approach the person.”
This beginner-friendly course takes you from a clean Ubuntu 24.04 installation to a complete drone system that can understand natural-language instructions, execute autonomous flight behaviors, and react to objects detected through its camera.
You will begin by setting up ROS 2 Jazzy, Gazebo, and PX4 Autopilot, then launch and test a simulated X500 drone. You will also learn how PX4 communicates with ROS 2 through the Micro XRCE-DDS Agent and how the simulated camera is bridged from Gazebo into ROS 2.
Next, you will install Ollama and run a local Large Language Model that converts simple English instructions into drone actions. Instead of writing low-level commands.
You will also integrate YOLO object detection with the drone camera, allowing the system to detect objects such as people and vehicles and use those detections during autonomous missions.
Finally, you will launch the complete LLM-controlled drone system and experiment with flight patterns, object search and approach behaviors, multi-step missions, camera visualization, and drone path visualization using RViz.
No previous experience with ROS 2, PX4, Gazebo, or LLM-based robotics is required. The course is designed to give beginners a practical robotics and AI project they can extend, demonstrate in a portfolio, or discuss during robotics and AI job interviews.