Skip to content

Python server protocol library

Stefan Sauer edited this page Apr 12, 2021 · 3 revisions

prerequisites: python; pip; raspberry pi

context: Several robot-connectors (robertalab-ev3dev,robertalab-naoclient contains python code to communicate with an Open Roberta® Lab server.

problem: We'd like to expand of platform offering with eg supporting the raspberry pi. For this platform we would need similar code.

idea: Extract the code that handles the communication with the server into a separate library, together with unit tests and documentation into a separate git-module (python-openroberta) and publish it on pypy + readthedocs. This new library would need to provide some hooks for device specific implementations for eg aborting programs, showing error messages, etc. The name for the library should be "openroberta". Documentation can be based on this article from the wiki.

Implementations:

Next step would be to refactor robertalab-ev3dev and and robertalab-naoclient to use the new library. This could initially be done though git-submodules (if that make testing easier until the library is available on pypy).

references:

contact: Stefan (ensonic)

Clone this wiki locally