0.1.1 • Published 2 months ago

tello-sdk3 v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

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

2 months ago

0.1.1

2 months ago

0.0.2

3 months ago

0.0.1

8 months ago