jsolderitsch / tello-nodejs

Interacting with the DJI/Ryze Tello using only node.js
MIT License
93 stars 29 forks source link

Incorporating streamon and streamoff commands #5

Open solanoepalacio opened 3 years ago

solanoepalacio commented 3 years ago

Hi @jsolderitsch :wave:

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.

jsolderitsch commented 3 years ago

This library is not being supported any longer. I have moved on to Python for Tello commands. Sorry.