tello 1.0.2
tello: ^1.0.2 copied to clipboard

Quick and easy way to connect to a DJI Tello Drone. Using standard Dart packages, the socket is created intuitively and commands are sent easily.

Controlling DJI Tello Drone with Dart #

Simple example to control Tello Drone with commands recieved from terminal.

import 'dart:async';
import 'dart:io';
import 'package:tello/tello.dart';

main() async {
  // Connect to Tello when machine WiFi is already connected to the drone
	var tello = new ConnectTello();

  while(true) {
    stdout.write('Write a command: ');
    String command = stdin.readLineSync();
    tello.sendCommand(command);
    await Future.delayed(Duration(milliseconds: 100));
  }
}
2
likes
80
pub points
28%
popularity

Quick and easy way to connect to a DJI Tello Drone. Using standard Dart packages, the socket is created intuitively and commands are sent easily.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

mateustoin@gmail.com

License

BSD (LICENSE)

More

Packages that depend on tello