aboutsummaryrefslogtreecommitdiffstats
path: root/System_Python/system_swingup_test.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rework directory structure. Modify result file printing to match ↵Raspberry Pi2019-11-201-293/+0
| | | | requirements of web server.
* Fixed encoder zeroing. Other minor changes, still trying to get the swingup ↵Raspberry Pi2019-11-191-40/+58
| | | | 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-4/+4
| | | | 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....
* Fixed some indentation issues and leftover from porting. Compiles and ↵Raspberry Pi2019-11-161-12/+12
| | | | potentially runs now.
* Add Andy's swing up code to the Python library. Created a new file ↵damic0142019-11-141-0/+275
(system_swingup_test.py), which modifies the code from homework8.ipynb and swingUp.py to (potentially) run on our physical system instead of the simulator. Needs to be compiled and tested on the RPi, but theoretically all of the major components should be there. NOTE: Potentially should remove the gym imports; not sure if these will work on the RPi, might need to be replaced with something else.