Skip to content
Snippets Groups Projects
Commit 438af567 authored by Edmund Jochim's avatar Edmund Jochim
Browse files

Python base class

parent 93bbad08
Branches
Tags
No related merge requests found
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from mecanumcarpy import MecanumCar
def main():
car = MecanumCar()
car.connect()
car.move_forward(time=2000)
car.rotate_clockwise(time=2000)
car.rotate_counter_clockwise(time=1000)
car.move_back(time=2000)
if __name__ == "__main__":
main()
\ No newline at end of file
from .mecanumCar import MecanumCar, MecanumCarException
\ No newline at end of file
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment