spaceshipyard / mars-rover-virtual-bridge

1 stars 0 forks source link

Replace the local server from the real dispatcher server #2

Open chaos-adept opened 6 years ago

chaos-adept commented 6 years ago

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

vlfors commented 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?

chaos-adept commented 6 years ago

@vlfors i have not seen you comment for some reasons, could you confirm that this question was resolved already?

vlfors commented 6 years ago

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 .

chaos-adept commented 6 years ago

@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