- Joined
- Feb 6, 2021
- Messages
- 4
- Reaction score
- 0
Hi guys!
I've built a Tello library for Dart;
I've been using it for some time now for personal projects but I figured I'd share it with you
As of now, my library can do most of the things listed in the 1.3 Tello SDK,
but I'm planning on adding to it in the future.
I've built a Tello library for Dart;
I've been using it for some time now for personal projects but I figured I'd share it with you
Code:
import 'package:ryze_tello/ryze_tello.dart';
void main() async {
late final Tello tello;
try {
/* Initializing */
tello = await Tello.tello();
/* Flying Around */
await tello.takeoff();
await Future.delayed(const Duration(seconds: 5));
await tello.land();
} finally {
/* Cleanup & Disconnection */
tello
.disconnect(); // IMPORTANT: Must be called to properly dispose of the sockets that connect to the Tello.
}
}
As of now, my library can do most of the things listed in the 1.3 Tello SDK,
but I'm planning on adding to it in the future.
Last edited: