aboutsummaryrefslogtreecommitdiffstats
path: root/System (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add encoder measurements via thread. This should help with linear encoder ↵damic0142019-11-262-12/+49
| | | | | | | accuracy and SW interrupt accuracy. Coupled with changes from the interrupt enhancement branch, the limit behavior should be much improved. Added a parameter to allow user to set their own SW limit-reached routine (default behavior is still the same). This should also help prevent over-excursion in the swingup test. Slightly modified swingup test to use new SW limit-reached routine. This should help prevent the system from over-excursing when the soft limits of the program are reached. Theoretically the program shouldn't be able to hit the HW limits anymore.
* Fix indentation, add symlink for System folder. Seems to be working as ↵Raspberry Pi2019-11-262-1/+2
| | | | expected. Commiting to merge to master - will need more testing before we know if it's a perfect solution.
* Add interrupt flags so that motor cannot be triggered once the HW interrupt ↵damic0142019-11-261-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...)
* Added Andy's new swingup code. New issues with physical system: rod bearing ↵Raspberry Pi2019-11-212-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.
* Fixed file imports to work with working directory of server.Raspberry Pi2019-11-211-2/+2
|
* Rework directory structure. Modify result file printing to match ↵Raspberry Pi2019-11-2012-0/+1337
requirements of web server.