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

Create design for movement controller abstraction #363

Open
tigressine opened this issue Aug 24, 2020 · 0 comments
Open

Create design for movement controller abstraction #363

tigressine opened this issue Aug 24, 2020 · 0 comments

Comments

@tigressine
Copy link
Member

I think it might be worth to create a python library that provides l
an EZRASSOR class. This would contain all of the state of the robot (world state from ai) and all of the publishers for control, then provide a clean interface for access so upstream controllers don't know about the underlying Ros pubs and subs.

rover = EZRASSOR()

rover.move(movements.FORWARD)

rover.move(movements.BACKWARD, speed=75) # out of 100%, abstract away any twist adjusting with a 100% speed scale

rover.get_battery()
rover.get_position()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant