RMRobotics / FTC_5421_2014-2015

Assets for 2014-2015 Team 5421 FIRST Tech Challenge.
MIT License
6 stars 1 forks source link

Fix motor and encoder functions in Motor.h and Drive.h #60

Closed jimmyli97 closed 9 years ago

jimmyli97 commented 9 years ago

The encoder functions appear to be ignoring all motor power scaling (as tested today) - this is most likely a problem associated with the Motor.h library. For example, calling driveSetMecMotorN and driveSetEncN at power ratio 10 resulted in some very odd behavior where the motors ran at power 10 even though minimum power was set to 15.

We've also been hearing stall noises when we run the motors sometimes - there is definitely something up with the motor library.