Smart Motor Library

This library was the result of lots of work done by myself and @vamfun during the summer of 2012. Here is a link to a thread with lots more information.

Basic idea is
Measure velocity of motor
Estimate current for motor based on command value and measured velocity.
Estimate PTC temperature using using the current estimate and time.

I initially implemented in ROBOTC and later ported to ConVEX. For various reasons an EasyC implementation did (and will) not happen (unless someone else tries I guess).

The code works well for some things, mostly drive systems where the robot can get into a pushing match. It does not work well for things like flywheels and to some extent arm/lift systems. Actually, it is ok for monitoring flywheels, I do that, but turn off the automatic limit features.