jsolderitsch / tello-nodejs Goto Github PK
View Code? Open in Web Editor NEWInteracting with the DJI/Ryze Tello using only node.js
License: MIT License
Interacting with the DJI/Ryze Tello using only node.js
License: MIT License
neuro@peppermint-usb ~/drona/tello-nodejs-master-x86 $ node TelloMissionFile.js
/home/neuro/drona/tello-nodejs-master-x86/TelloMissionFile.js:47
let rx;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
Hi @jsolderitsch ๐
I'm thinking of getting a dji tello to try to build a very simple first prototype of a drone used for plants plague detection using machine learning.
I noticed that the library currently doesn't support the streamon/streamoff commands, which handle the camera stream. Is this due to some complication? have you ever tried to use them? I'd like to know where I'd get the video-stream (maybe through the same UDP socket?) If there's any information you can provide about this, I'd be really thankful!
In case I get the drone and implement the commands for the camera stream, would you be interested in adding the stream commands to your library? (maybe I can PR?). I don't know how would that work from a console program though... maybe broadcasting the video-stream through a node API and launching a chrome-browser with an extremely simple app to consume the stream.
PS: I'm well aware of the limitations that might come up when trying to use dji tello in a real scenario, but since it's cheap, I wanted to make a simple, quick prototype to better understand the needs a real version would have.
I move tello from mac pc.
I install node.js , library and then done "node TelloConsole.js".
Next I type "c", as a result Data received from server : ok!!!
But Next I type "t", as a result Data received from server : error as other command do so...
Please help me...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.