Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple clients - multiple drones communicate through nodejs server #152

Open
craciunraluca94 opened this issue Jun 8, 2017 · 2 comments

Comments

@craciunraluca94
Copy link

craciunraluca94 commented Jun 8, 2017

Hello,

I want to make a web application which manages AR drones. I want to have multiple clients which can make an account and get data from their drones in browser. Is this posible? Can I identify each drone unique or can i make an array of ardrone clients ( var client = arDrone.createClient(); ) ?

I tried to put ar-drone files on client side( with browserify) but it ended with "dgram.createSocket is not a function" .

I need some opinions. Thank you !!

@felixge
Copy link
Owner

felixge commented Jun 9, 2017

Hi. In theory you can have an application that talks to multiple drones. That being said, they will all have to be on the same network in order for the application to be able to talk to them. Depending on your use cases for the application, that might be a problem.

You won't be able to use this library on the client side. The error message you got is because Browsers don't allow JS to do UDP networking, which is needed for talking to AR Drones.

@craciunraluca94
Copy link
Author

I see.Thanks. Maybe I'll make something like : clients have the whole app (server(+db) + client) on their PCs ( like local server). Sounds it weird ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants