node-dronestream icon indicating copy to clipboard operation
node-dronestream copied to clipboard

How to have multiple streams?

Open JoeriBultheel opened this issue 8 years ago • 5 comments

I'm having a setup with multiple drones and I want to make a dashboard using nodestream. However, when having more than one NodecopterStream in my client-side JS, i get a "nodecopter-client.js:449 Uncaught RangeError: Maximum call stack size exceeded".

Isn't this possible at all? Please help !

thnx, -a fan

JoeriBultheel avatar Aug 22 '16 10:08 JoeriBultheel

For anyone struggling with this: I solved the problem by embedding multiple html pages with iframe :)

JoeriBultheel avatar Aug 22 '16 11:08 JoeriBultheel

thanks for posting your solution! i remember that @daraos might have had a solution to this long time ago but i can't find it right now

karlwestin avatar Aug 22 '16 15:08 karlwestin

My solution works but is not ideal. Now i'm having multiple clients to my server causing extra traffic. Any other less expensive solution would be better! Could @daraos please enlighten me?

JoeriBultheel avatar Aug 23 '16 10:08 JoeriBultheel

So let's see if we can explore this a little bit... Unfortunately i only have access do one drone at the moment, but maybe we can get somewhere anyway! Would you mind sharing your setup?

karlwestin avatar Aug 23 '16 14:08 karlwestin

Hi @karlwestin, sorry for the late reply..

sure, you can check out my project setup here: https://github.com/JoeriBultheel/ardoneswarm Hope someone finds a more elegant solution in the future.

All the best

JoeriBultheel avatar Sep 04 '16 10:09 JoeriBultheel