Open chaos-adept opened 6 years ago
it should be replaced by making a client connection to the https://github.com/spaceshipyard/mars-rover-dispatcher/tree/master/server
Could you clear up? "server" recalculate and resend data to robot? Which commands it is using for it?
@vlfors i have not seen you comment for some reasons, could you confirm that this question was resolved already?
In general I understood, but I have watched code in https://github.com/spaceshipyard/mars-rover-dispatcher/tree/master/server, server is not resending messages. It is making only responses .
@vlfors Actually, it is not required to resending messages, it just sends messages to the channel https://github.com/spaceshipyard/mars-rover-dispatcher/blob/master/server/index.js#L65
currently, implementation makes an instance of the dispatcher server and attach clients from the https://github.com/spaceshipyard/mars-rover-dispatcher/tree/master/client
it should be replaced by making a client connection to the https://github.com/spaceshipyard/mars-rover-dispatcher/tree/master/server