Python Library

Easy Drone Python Library
Build Robots with Pure Python

A simple, elegant Python library for building drones and robots. Compatible with Gazebo, ArduPilot, and PX4—write once, run anywhere.

Simple to Use

Get Started in Minutes

Clean, intuitive Python API that just works.

main.py
from tensorfleet import Drone

# Connect to a drone (Gazebo, PX4, or ArduPilot)
drone = Drone.connect("udp://localhost:14540")

# Simple takeoff and waypoint mission
await drone.arm()
await drone.takeoff(altitude=10)
await drone.goto(lat=47.397742, lon=8.545594, alt=50)
await drone.land()

# Works with swarms too
from tensorfleet import DroneSwarm

swarm = DroneSwarm.connect(["drone1", "drone2", "drone3"])
await swarm.formation_takeoff(spacing=5)
await swarm.goto_formation(waypoints, formation="v_shape")

$ pip install tensorfleet
That's it. No complex build steps, no ROS setup required for basic usage.

Features

Powerful Yet Simple

Everything you need to build production-ready drone applications.

Pure Python API
Clean, Pythonic API for drone control. No complex setup or dependencies—just pip install and start coding.
Multi-Platform Support
Works seamlessly with Gazebo, ArduPilot, and PX4. Switch simulators without changing your code.
Robot Framework Integration
Not just drones—control ground robots, manipulators, and hybrid systems with the same simple API.
High-Level Abstractions
Focus on mission logic, not low-level protocols. Built-in support for waypoints, orbits, and formations.
Type Safe & Tested
Full type hints, comprehensive test coverage, and detailed documentation for production reliability.
Async Ready
Built on modern async Python. Control multiple robots concurrently with clean, non-blocking code.

Use Cases

What You Can Build

From research prototypes to production deployments.

Research & Education
Perfect for university courses and research labs. Students can focus on algorithms instead of low-level implementation details.
Rapid Prototyping
Test ideas quickly with minimal boilerplate. Iterate on mission logic without fighting configuration files.
Production Applications
Type-safe, well-tested, and production-ready. Deploy with confidence knowing your code is built on solid foundations.

Works with Your Favorite Tools

Seamless integration with industry-standard simulators and autopilots.

Gazebo

Full support for Gazebo Classic and Gazebo Garden

PX4

Native MAVLink integration with PX4 autopilot

ArduPilot

Compatible with ArduPilot SITL and hardware

Early Access

Join the TensorFleet waitlist

Tell us your use case—get docs, samples, and adapters as they ship.

We’ll only use your email for Early Access updates.