ryze_tello 1.0.2 copy "ryze_tello: ^1.0.2" to clipboard
ryze_tello: ^1.0.2 copied to clipboard

outdated

A library that provides a high level way for you to interact with your Tello.

This packages provides a Dart interface to Ryze Tello drones.

Getting started #

  • Make sure that your Tello has a good amount of battery
  • Turn on your Tello
  • Connect to your Tello's wifi
  • Run the example script and watch your Tello fly!

Usage #

Here's some sample code that shows how you can make a Tello takeoff, hover in the air for 5 seconds, and then land.

An important thing to note here is that tello.disconnect() must be called to properly dispose of the sockets that connect to the tello.

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

Additional information #

You may find these links helpful for understanding the underlying SDK that serves as the base for this package.

5
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A library that provides a high level way for you to interact with your Tello.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on ryze_tello