ev3dev / ev3dev-lang

(deprecated) language bindings for ev3dev sensors, motors, LEDs, etc.
GNU General Public License v2.0
56 stars 39 forks source link

Merge NXT Motor and Large Motor classes #172

Closed WasabiFan closed 7 years ago

WasabiFan commented 7 years ago

As brought up in rhempel/ev3dev-lang-python#227, we have a separate NXT Motor class defined which requires an NXT motor instead of the EV3 large motor. The LargeMotor class has corresponding restrictions to only allow EV3 motors.

Under the assumption that there is no operational difference between NXT and EV3 large motors, I believe that the two classes should be combined. Is this assumption correct @dlech?