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

Initial work on the API library. #5

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Initial work on the API library. #5

wants to merge 13 commits into from

Conversation

samoN1k0la
Copy link
Collaborator

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)

Co-authored-by: Anja Vujanac <[email protected]>
Co-authored-by: Nikola Lukić <[email protected]>
@KockaAdmiralac KockaAdmiralac self-requested a review July 24, 2024 15:32
@KockaAdmiralac KockaAdmiralac added the enhancement Nova mogućnost ili poboljšanje label Jul 24, 2024
api/Actuator.py Outdated Show resolved Hide resolved
api/Actuator.py Outdated Show resolved Hide resolved
api/Actuator.py Outdated Show resolved Hide resolved
api/Actuator.py Outdated Show resolved Hide resolved
api/Communication.py Outdated Show resolved Hide resolved
api/Miloje.py Outdated Show resolved Hide resolved
api/Miloje.py Outdated Show resolved Hide resolved
api/Sensor.py Outdated Show resolved Hide resolved
api/Sensor.py Outdated Show resolved Hide resolved
api/Sensor.py Outdated Show resolved Hide resolved
@KockaAdmiralac KockaAdmiralac added this to the LK-S 2024 milestone Jul 24, 2024
Copy link
Member

@KockaAdmiralac KockaAdmiralac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sitniji komentari.

api/communication/uart.py Outdated Show resolved Hide resolved
api/communication/communication.py Outdated Show resolved Hide resolved
api/actuators/actuator.py Outdated Show resolved Hide resolved
api/sensors/sensor.py Outdated Show resolved Hide resolved
api/miloje.py Outdated Show resolved Hide resolved
api/miloje.py Outdated Show resolved Hide resolved
api/main.py Outdated
from communication.uart import UART
from miloje import Miloje

if __name__ == "__main__":
Copy link
Member

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.

api/sensors/battery.py Outdated Show resolved Hide resolved
api/sensors/ultrasonic.py Outdated Show resolved Hide resolved
@KockaAdmiralac KockaAdmiralac force-pushed the master branch 3 times, most recently from 949e250 to 405f2e2 Compare September 26, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Nova mogućnost ili poboljšanje
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants