Closed Liam794 closed 4 years ago
Discussed on the Discord channel. Wrong version of code was edited/changed. Please go back and download Stephen-Robot-Completion-v.0.2 Create your changes, and then make a new branch and pull request titled Liam-Robot-Completion-v.0.3 We will look at pull requests and merges in todays meeting at 1pm
I changed how the turning was calculated, giving the robot more turning range allowing it to go faster cause it can correct faster. Instead of doing vleft/right + error/vleft/right i changed it to vleft/right + error/vleft/right * vleft/right/2 this is because at higher speeds the robot could not turn fast enough because of error/vright/left so i multiplied it by half the vleft/right
Also changed where the robot was following the line, it was at half the robots vision, i made it closer(95) making the robot follow the line more closely.