Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make robot interface thin #12

Open
shardros opened this issue Jul 28, 2022 · 0 comments
Open

Make robot interface thin #12

shardros opened this issue Jul 28, 2022 · 0 comments
Assignees

Comments

@shardros
Copy link
Member

shardros commented Jul 28, 2022

Weak coupling between usercode and the robot code is desirable as it reduces the security risk on thre brain and makes the understanding of the state of the brain more sensible. The Robot doesn't blow up when the usercode exits.

AS A person running robocon
I WANT a thin interface for the usercode to the robot libarry and the actual code avaiable over a network socket
SO THAT
DONE IS

  1. Shepherd exposes the public methods of the robot object over a network socket
  2. There is no tight coupling between shepherd and the robot object
  3. Performance of R.see() is evaluated to ensure that it returning large matracies does not take significantly more time
  4. If R.see() performance is anything more than 250ms worse an investigation into how to reduce the return payload is implemented.

NOTES:

  • This is something which could get very complicated and it would be good to keep this as simple as possible.
  • https://rpyc.readthedocs.io/en/latest/ this is an easy ready made solution
  • The R.see() investigation must test:
    • all resolutions
    • images with and without april tags

Alternatives prebuilt RPC is:

@shardros 's Personal opion is taht RPPy should be used.

@shardros shardros self-assigned this Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant