-
Notifications
You must be signed in to change notification settings - Fork 0
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
Initial work on the API library. #5
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Anja Vujanac <[email protected]> Co-authored-by: Nikola Lukić <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sitniji komentari.
api/main.py
Outdated
from communication.uart import UART | ||
from miloje import Miloje | ||
|
||
if __name__ == "__main__": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ovo ne mora da bude deo biblioteke, možda bolje premestiti u neki examples
folder. Promeni importove u from miloje import Miloje, UART
a ja ću srediti kasnije da to može da radi.
949e250
to
405f2e2
Compare
Actuator - sve klase vezane za aktuatore
Sensor - sve klase vezane za senzore
Communication - sve klase vezane za komunikaciju
Head - klasa Milojeve glave
Wheels - klasa Milojevog kretanja
Miloje - glavna klasa (trenutno je hard-codeovano da prvi i drugi aktuatori budu glavni Milojevi tockovi)