Skip to content

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.

License

Notifications You must be signed in to change notification settings

mateustoin/DJI-Tello-Dart-Package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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));
  }
}

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages