Pigmice2733 / PiRobotPy

An interface for python based wpilib on a raspberry pi to control mini robots
0 stars 0 forks source link

Big/maestro bounds #10

Closed Jimgrind closed 6 years ago

Jimgrind commented 6 years ago

Created a method to set the bounds of each individual motor controller. This includes the max, and min (deadzone) values of the motor as well as the center point.

The Motor control class now takes in channel as a variable, and the set method within it uses self.channel. This means that the motor control will be created as multiple objects (just like the talon).

The MicroMaestro class no longer needs channel to be passed in on init. There is no need, and there should only be one micro maestro.

brendanburkhart commented 6 years ago

@Jimgrind Should we close this pr?