Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
YellowMotors.h
- Committer:
- amateusz
- Date:
- 2016-02-03
- Revision:
- 1:85961b2af06e
- Parent:
- 0:85e85976c650
- Child:
- 2:6f6e591f1838
File content as of revision 1:85961b2af06e:
// this is rather strange case, because my motors aren't performing both well. Left one has far weaker, causing delayed start-up and lower RPM. Thus my functions differ. I have a whole bigass spreadsheet of graphs and calculations by the way. float motorLinearizationL(float desired); // left motor is worse. at max desired speed it'll run at full 100% speed. this is thus weaker compensation. float motorLinearizationR(float desired); // this is stronger compensation for more powerful motor. it runs it at < 100% speed