Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/mateustoin/DJI-Tello-Dart-Package

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.
https://github.com/mateustoin/DJI-Tello-Dart-Package

control-tello-drone dart dji-tello dji-tello-drone drone flutter package package-manager tello tello-drone

Last synced: about 2 months ago
JSON representation

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.

Lists

README

        

# Controlling DJI Tello Drone with Dart

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

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