Skip to content

MauriceNorden/nodejs-robomaster-tt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodejs websocket server robomaster tt

How to install

First of all: You need to install Nodejs After doing that go to the repo directory and run: npm install npm start

How to use

Connect with the drone via WiFi Go to the static folder and open index.html After that run: npm start

Now you can control the drone via the webrowser DONT FORGET TO PRESS connect first.

How does it work?

After reading the official SDK i started to make a simple UDP client (src/functions/sendRequest.js)

Then i made a Websocket server (src/wsServer.js) All the requests made to the websocket server will be send in plain text to the udp client.

This is not the most elegant way to do it, But it is a proof of concept non the less.

I may add add camera stream in the future but don't quote me on that.

Link to 'SDK'

About

Nodejs Websocket server for Robomaster drone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published