tello 1.0.2 copy "tello: ^1.0.2" to clipboard
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
30
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

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

License

BSD-3-Clause (license)

More

Packages that depend on tello