Add servo inheritance hierarchy to motor control

This commit is contained in:
Piv
2019-07-17 18:51:03 +09:30
parent b1ff1386f5
commit baffd0bbb1
3 changed files with 65 additions and 16 deletions

13
MotorControl/steering.py Normal file
View File

@@ -0,0 +1,13 @@
import MotorControl.servo as servo
class SteeringServo(servo.Servo):
@property
def percent(self):
# Set the
pass
@percent.setter
def percent(self, forward):
#
pass