aboutsummaryrefslogtreecommitdiffstats
path: root/System/system.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-26Add interrupt flags so that motor cannot be triggered once the HW interrupt ↵damic0141-12/+16
has been fired. This should help with the occasional issue where the ISR thread is interrupted and moves back to the primary thread where movements continue. May need to add another line in adjust() that if interrupted==True then coast the motor (not sure what the ramifications of this would be though: if in the process of going home and thread switches back, it might not get all the way home...)
2019-11-21Added Andy's new swingup code. New issues with physical system: rod bearing ↵Raspberry Pi2-16/+380
keeps coming loose if the speed is changed too quickly, rod will hit base if swinging too near extents (need to cut wood on both sides to allow free swinging.
2019-11-21Fixed file imports to work with working directory of server.Raspberry Pi1-2/+2