parallaxinc / Simple-Libraries

Contents of the SimpleIDE workspace folder and its Parallax Learn Simple Libraries subfolder.
http://learn.parallax.com/propeller-c-set-simpleide/update-your-learn-folder
21 stars 21 forks source link

abdrive360/servo360 - try EEPROM calibration / transfer function adjusting functions #151

Closed AndyLindsay closed 6 years ago

AndyLindsay commented 6 years ago

This could greatly simplify solving these two issues:

The drawback is going to be getting everyone in the habit of doing this for the ActivityBot.

AndyLindsay commented 6 years ago

Transfer function adjustment functions added in servo360 - try increasing start pulse duration.

AndyLindsay commented 6 years ago

Deterimine calibration values for #151

This project:

Find upper and lower Zero Speed Cutoff Pulse Durations.side

...determines the calibration values.

Next steps:

AndyLindsay commented 6 years ago

abdrive360/servo360 - try EEPROM calibration / transfer function adjusting functions #151

Add:

abcalibrate360.h cal_clear() cal_displayResults() cal_displayData() cal_activityBot()

servo360.h int servo360_setTransferFunction(int pin, int constant, int value)

abdrive360.h void drive_encoderPins(int encPinLeft, int encPinRight) void drive_servoPins(int servoPinLeft, int servoPinRight)