tello-sdk3

0.1.1 • Public • Published

DJI Tello SDKv3

This is a Work in progress

We recommend adding "type": "module" to your package.json to allow top-level await

Install

npm i tello-sdk3

Example

import Tello from 'tello-sdk3';

const drone = new Tello();

await drone.connect();

await drone.takeOff();

await drone.sleep(1000);

await drone.land();

Read example

import Tello from 'tello-sdk3';

const drone = new Tello();

// Move until you reach 150cm 
while (drone.sensor.height < 150) {
    await drone.move.up(25);
}

await drone.land();

Set example

import Tello from 'tello-sdk3';

const drone = new Tello();

await drone.set.speed(50);

await drone.move.front(30);

await drone.move.back(30);

await drone.land();

Readme

Keywords

none

Package Sidebar

Install

npm i tello-sdk3

Weekly Downloads

4

Version

0.1.1

License

MIT

Unpacked Size

12.1 kB

Total Files

8

Last publish

Collaborators

  • matiasvlevi