{"id":13710625,"url":"https://github.com/alvarolorentedev/tellojs","last_synced_at":"2025-08-01T08:33:35.020Z","repository":{"id":38271721,"uuid":"159499893","full_name":"alvarolorentedev/tellojs","owner":"alvarolorentedev","description":"a package to be able to control and recieve information from the dji tello","archived":false,"fork":false,"pushed_at":"2024-04-08T00:03:24.000Z","size":943,"stargazers_count":39,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-13T19:31:25.073Z","etag":null,"topics":["dji","drone","hacktoberfest","javascript","nodejs","sdk","tello","tellodrone"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alvarolorentedev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["kanekotic"],"custom":["https://www.paypal.me/kanekotic/"]}},"created_at":"2018-11-28T12:37:18.000Z","updated_at":"2024-04-15T01:35:59.753Z","dependencies_parsed_at":"2022-08-18T15:21:19.490Z","dependency_job_id":"43e2dfc0-4e7b-4457-8d06-9f6b0b0e2fd5","html_url":"https://github.com/alvarolorentedev/tellojs","commit_stats":{"total_commits":298,"total_committers":4,"mean_commits":74.5,"dds":"0.13422818791946312","last_synced_commit":"b9058622faef4252f6e184f1555d418d739ed10e"},"previous_names":["alvarolorentedev/tellojs","kanekotic/tellojs"],"tags_count":202,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarolorentedev%2Ftellojs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarolorentedev%2Ftellojs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarolorentedev%2Ftellojs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarolorentedev%2Ftellojs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvarolorentedev","download_url":"https://codeload.github.com/alvarolorentedev/tellojs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221839157,"owners_count":16889591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dji","drone","hacktoberfest","javascript","nodejs","sdk","tello","tellodrone"],"created_at":"2024-08-02T23:00:59.048Z","updated_at":"2024-10-28T14:16:48.268Z","avatar_url":"https://github.com/alvarolorentedev.png","language":"JavaScript","funding_links":["https://github.com/sponsors/kanekotic","https://www.paypal.me/kanekotic/"],"categories":["SDK Wrappers"],"sub_categories":[],"readme":"# ![logomakr_123ujk](https://user-images.githubusercontent.com/3071208/49430616-cddbc300-f7ab-11e8-9356-381c730d0839.png)\n[![Build Status](https://travis-ci.org/kanekotic/tellojs.svg?branch=master)](https://travis-ci.org/kanekotic/tellojs)\n[![codecov](https://codecov.io/gh/kanekotic/tellojs/branch/master/graph/badge.svg)](https://codecov.io/gh/kanekotic/tellojs)\n[![npm](https://img.shields.io/npm/dt/tellojs.svg)](https://github.com/kanekotic/tellojs)\n[![GitHub license](https://img.shields.io/github/license/kanekotic/tellojs.svg)](https://github.com/kanekotic/tellojs/blob/master/LICENSE)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/kanekotic/tellojs/graphs/commit-activity)\n\n## Motivation\n\nProvide an async promise based unofficial sdk for the tello drone based on the official [documentation](https://dl-cdn.ryzerobotics.com/downloads/tello/20180910/Tello%20SDK%20Documentation%20EN_1.3.pdf).\n\n## Installation\n\nadd it to your project using `npm install tellojs --save` or `yarn add tellojs`\n\n## Usage\n\nthis sdk provide functions when you import for the next capabilities:\n\n```js\nconst sdk = require('tellojs')\n\nconst x = number,\n    y = number,\n    z = number,\n    speed = number,\n    yaw = number,\n    start = {x, y, z},\n    end = {x, y, z},\n    ssid = string,\n    password = string\n\n//CONTROL COMMANDS\nawait sdk.control.connect()                     // Enter SDK mode.\nawait sdk.control.takeOff()                     // Auto takeoff.\nawait sdk.control.land()                        // Auto landing.\nawait sdk.control.emergency()                   // Stop motors immediately\nawait sdk.control.stop()                        // Hovers in the air\nawait sdk.control.move.up(x)                    // Ascend to “x” cm.\nawait sdk.control.move.down(x)                  // Descend to “x” cm.\nawait sdk.control.move.left(x)                  // move left to “x” cm.\nawait sdk.control.move.right(x)                 // move right to “x” cm.\nawait sdk.control.move.front(x)                 // move forward to “x” cm.\nawait sdk.control.move.back(x)                  // move backwards to “x” cm.\nawait sdk.control.move.go(end, speed)           //  fly to x y z in speed (cm/s)\nawait sdk.control.move.curve(start, end, speed) //  fly to x y z in speed (cm/s)\nawait sdk.control.rotate.clockwise(x)           // rotate clockwise 'x' degrees.\nawait sdk.control.rotate.counterClockwise(x)    // rotate counter clockwise 'x' degrees.\nawait sdk.control.flip.left()                   // Flip to the left.\nawait sdk.control.flip.right()                  // Flip to the right.\nawait sdk.control.flip.back()                   // Flip in backward.\nawait sdk.control.flip.front()                  // Flip in forward.\n\n//SET COMMANDS\nawait sdk.set.speed(x)                          // set speed to x cm/s\nawait sdk.set.rc(x, y, z, yaw)                  // Send RC control via four channels.\nawait sdk.set.wifi(ssid, password)              // Set Wi-Fi with SSID password\n\n//READ COMMANDS\nawait sdk.read.speed()                          // Obtain current speed (cm/s).\nawait sdk.read.battery()                        // Obtain current battery percentage.\nawait sdk.read.time()                           // Obtain current flight time.\nawait sdk.read.height()                         // Obtain get height (cm)\nawait sdk.read.temperature()                    // Obtain temperature (°C)\nawait sdk.read.attitude()                       // Obtain IMU attitude data\nawait sdk.read.barometer()                      // Obtain barometer value (m)\nawait sdk.read.tof()                            // Obtain distance value from TOF（cm）\nawait sdk.read.acceleration()                   // Obtain IMU angular acceleration data (0.001g)\nawait sdk.read.wifi()                           // Obtain Wi-Fi SNR.\n\n//STREAM STATE\nconst stateEmitter = sdk.receiver.state.bind()  // Binding to port of state\nstateEmitter.on('message', res =\u003e console.log)  // React to messages on received\nsdk.receiver.state.close()                      // Stop receiving messages\n\n//STREAM VIDEO\nconst videoEmitter = sdk.receiver.video.bind()  // Binding to port of video\nvideoEmitter.on('message', res =\u003e console.log)  // React to messages on received\nsdk.receiver.video.close()                      // Stop receiving messages\n\n/*\nExample output of state:\n{ \n    pitch: 1,\n    roll: 0,\n    yaw: 0,\n    speed: { x: 0, y: 0, z: 0 },\n    temperature: { low: 51, high: 53 },\n    tof: 6553,\n    heigh: 0,\n    battery: 87,\n    barometer: 24.65,\n    time: 0,\n    acceleration: { x: 16, y: 3, z: -990 } \n}\n\nExample output of video: is binary ;)\n*/\n```\n\n##### Web graphic by \u003ca href=\"http://www.flaticon.com/authors/picol\"\u003epicol\u003c/a\u003e from \u003ca href=\"http://www.flaticon.com/\"\u003eFlaticon\u003c/a\u003e is licensed under \u003ca href=\"http://creativecommons.org/licenses/by/3.0/\" title=\"Creative Commons BY 3.0\"\u003eCC BY 3.0\u003c/a\u003e. Check out the new logo that I created on \u003ca href=\"http://logomakr.com\" title=\"Logo Makr\"\u003eLogoMakr.com\u003c/a\u003e https://logomakr.com/09u4Zz\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarolorentedev%2Ftellojs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvarolorentedev%2Ftellojs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarolorentedev%2Ftellojs/lists"}