PX4 Autonomous Waypoint Mission โ MAVSDK Python
Autonomous multi-waypoint UAV mission using PX4 SITL, Gazebo Classic, and MAVSDK-Python. Generates a lawnmower pattern (3ร3 grid = 9 waypoints), uploads it to a simulated Iris quadrotor, executes the scan, returns to launch, and logs telemetry to a CSV file.
๐ฐ๏ธ Lawnmower Scan
๐ก MAVLink / MAVSDK
๐ฉ๏ธ PX4 SITL + Gazebo
๐ CSV Telemetry Log
- Connects to PX4 via MAVLink over UDP; clears existing mission, generates configurable lawnmower (rows ร cols), uploads GPS mission
- Arms and executes mission autonomously; triggers Return to Launch (RTL) on completion; logs position telemetry to timestamped CSV
- Stack: PX4 Autopilot 1.16 (SITL), Gazebo Classic 11, MAVSDK-Python 3.15, Ubuntu 22.04 / ROS 2 Humble