robot-control-stack icon indicating copy to clipboard operation
robot-control-stack copied to clipboard

Remote Robot Control through RPC Wrappers

Open juelg opened this issue 2 years ago • 3 comments

Use the RPyC or a similar python RPC library to be able to control the robot from a remote computer not directly connected to the robot. The API and server/client architecture could look similar as in the agents library.

In principle the server should be a wrapper and the client a new gym environment. When the environment should be stepped then the client transparently forwards the action to the server, the server executes it on its environment and transparently returns the observation.

This feature would definitely require a small test similar in style as in the agents library.

Furthermore, it would also be good to add a small CLI command to create a server from the command line for hardware robots.

Ideally finished by mid of August.

Definition of done

  • [x] Implemented remote RPC gym environment (client)
  • [x] Server wrapper and function to start the server implemented
  • [x] Small test to check basic client server communication
  • [ ] CLI interface to start the server

juelg avatar Mar 14 '24 16:03 juelg

Draft implementation exists in this branch

juelg avatar Sep 09 '24 12:09 juelg

Any idea where to put the CLI?

yblei avatar Aug 28 '25 11:08 yblei

  • add example to documentation depo
  • add to cli in tools repo -> evtl neu erstellen!

yblei avatar Aug 28 '25 12:08 yblei