( Copied from blog post: http://blog.pxtst.com/8762a-overcomplicated-code-release/ )
I am officially releasing 8762A’s 2016-2017 code.
The source can be found here: https://lab.pxtst.com/PixelToast/8762A-2016/tree/master/src
Quick overview of features:
- ~1700 lines of code (1500 SLOC)
- All C++
- Doesn’t depend on newlib
- Clean syntax
- Easy motor configuration / grouping
- Modular motor control types (deadband, slew, truespeed)
- PID
- Smooth arm control
- Arm hold for user control
- Modular variable persistence
- RNG
- Modular variable debugging
- Advanced LCD menu system
- Debugging variables via LCD
- Fully featured rerun
- LCD Warnings
- Fault debugging when not tethered (requires my custom libpros.a)