aboutsummaryrefslogtreecommitdiffstats
path: root/System_Python/encoder.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed encoder zeroing. Other minor changes, still trying to get the swingup ↵Raspberry Pi2019-11-191-1/+2
| | | | controller working. Not sure if the code is good enough to make it happen...
* Updated encoder to have an offset when zeroing (allows that initial zero can ↵Raspberry Pi2019-11-161-21/+23
| | | | be set to upright instead of hanging). Updated system to allow for different angular units to be used (passed by argument on constructor, then passed to encoder.read_position when used). Bug fixes to system_swingup_test. Swingup test now runs properly (and almost actually did a swing up at one point), couldn't keep testing because the system accidentally destroyed itself, so called it time to stop to let glue dry....
* Updated encoder for proper zero setting and offset behavior. Tested system ↵Raspberry Pi2019-10-151-3/+3
| | | | library and successfully got the encoder position controlling the motor speed.
* Add System library and system test file. Still need to finalize some ↵damic0142019-10-131-3/+3
| | | | | | implementation details (linear encoder, motor orientation, etc.). Need to compile and test on RPi still. Convert naming in other libraries to follow Python naming scheme.
* Encoder classDat Nguyen2019-10-021-0/+74