added more templates and defined basic include/layout
This commit is contained in:
parent
e6b628f41a
commit
5b787bc400
6 changed files with 48 additions and 6 deletions
17
src/wheel.py
Normal file
17
src/wheel.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
import ev3dev.ev3 as ev3
|
||||
|
||||
|
||||
class Wheel:
|
||||
def __init__(self, port):
|
||||
self._motor = ev3.LargeMotor(port)
|
||||
self._motor.stop_action = 'brake'
|
||||
self._speed = 50
|
||||
|
||||
def run(self):
|
||||
pass
|
||||
|
||||
def stop(self):
|
||||
pass
|
||||
|
||||
def speed_set(self):
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue