Server
Connecting the Robot and the User: Node.js
Connecting the Robot and the User: Node.js
Our server side code is a bridge between the browser and the robot. It will communicate with the browser using WebSockets and communicate with the robot using TCP.
/ * The current implementation is written in C#, because we need to utilize the low level TCP connections. C++ is also a candidate but it's a bit hard to use. */
We changed to Node.js because the C# web socket library is not well documented, its behavior is unpredictable in some cases.