cjpappas / MacSim

A repository containing an IDE to test and develop algorithms for the Virtual RobotX Competition
2 stars 1 forks source link

websocket connection try again/keep alive #31

Closed cjpappas closed 2 years ago

cjpappas commented 2 years ago

The websocket connection to the server from the hud should be automatic - we don't want to have to refresh the page. onError -> setTimeout -> init() seems to only be called twice on page load (no idea why?) so need to inspect the network traffic to see what is going on.

cjpappas commented 2 years ago

Might be worth looking at roslibjs hoping they have something built-in to deal with this.

cjpappas commented 2 years ago

Switch to roslibjs fixed issue in 91dd7eede11292e40096be07365e92fe3dbf0da8.