Week 8. Oct 10.17 2018 - michelle-qin/Portfolio GitHub Wiki
Still adjusting to PyCharm and the new Surface Tablet... found out last week that the touch screen on the Surface Tablet wasn't responding (more specifically, the "Start" process was the only function working when the button was pressed, and it only acted with the "Turn On/Off Ramp"). Learned today that there's a reflection problem.. the buttons are projecting in a location that is NOT their button location, which explains why some buttons may act with other functions. This is probably a Kivy problem - will look more into this later.
Another problem - seems that I'm not connected to SPI. On Tuesday, we realized that a component on my RPi was squeaking whenever the code was running. While I was gone, it was replaced. No longer squeaking, but it seems that it is causing communication issues. Shut the RPi down and took the component off and then put it back on. Works now.
Now, I'm working on implementing comments throughout the code so future classes will be able to understand it.
Update: Still implementing useful comments throughout the code
Mentor Wade helped me fix the reflection problem. Went into hidinput.py and changed the following:
invert_y = int(bool(drs('invert_y', 1)))
to
invert_y = int(bool(drs('invert_y', 0)))
Update: Still implementing useful comments throughout the code
Was assigned new assignment today to finish commenting my code for Perpetual Motion and push it to github for future use. Currently figuring out how to push my files to github. Reached a problem where the file is only uploading my account, when it should be uploading to the DPEngineering one. Working with Mr. Harlow to figure this out... trying to make a new remote for git on PyCharm. Stay tuned
Worked with mentor Nikolai to solve the above problem. On the terminal, it kept saying I was on the master branch. So, se used the terminal to move files into a new folder and make a new branch "MichelleQin". Then, on PyCharm, we created a remote branch on the dpengineering/project-examples.