tello 1.0.0 copy "tello: ^1.0.0" to clipboard
tello: ^1.0.0 copied to clipboard

outdated

Easy to connect and control DJI Tello Drone.

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/ConnecTello.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 comando = stdin.readLineSync();
    tello.sendCommand(comando);
    await Future.delayed(Duration(milliseconds: 100));
  }
}
2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Easy to connect and control DJI Tello Drone.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on tello