Mateusz Grzywacz / Yellow2WheeledRobot_motor_shield
Committer:
amateusz
Date:
Wed Feb 03 16:09:07 2016 +0000
Revision:
0:85e85976c650
Child:
1:85961b2af06e
created linearization functions.; to do: functions to actually move the motors, like setting PWMs and Direction shift register.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
amateusz 0:85e85976c650 1
amateusz 0:85e85976c650 2
amateusz 0:85e85976c650 3 float motorLinearizationL(float desired); // left motor is worse. at max desired speed it'll run at full 100% speed. this is thus weaker compensation.
amateusz 0:85e85976c650 4 float motorLinearizationR(float desired); // this is stronger compensation for more powerful motor. it runs it at < 100% speed