roborescue / rcrs-server

RoboCup Rescue Simulator
BSD 3-Clause "New" or "Revised" License
39 stars 45 forks source link

Feature request: WebApi to control the server #56

Open modaresimr opened 2 years ago

modaresimr commented 2 years ago

I think it would be nice if we can have an API that controls the simulation server.

use case: In WebViewer we want to simulate the current run, stop, step buttons of the kernel and to connect WebViewer to the kernel.

possible solution: preparing a port dedicated to web API and WebSocket in the kernel.

the run, stop and step can be done using a simple web API query. the web viewer can be connected using WebSocket.

modaresimr commented 2 years ago

@armanaxh I think that you have a good background around this. Do you have any suggestions about the use of libraries or anything around this?