@@ -97,9 +97,10 @@ NB: The robot was casting shade, depending on the direction that the light was c
Was originally 28, in the code that we used as basis for our own.
Using the grid search approach again, we first tried with 40 (robot falling forward a lot) and 10 (robot corrects too slowly but simply falls forward right away). We then tried 70, in which case the robot also kept falling a lot, but the corrections seemed more aggressive (which makes sense), causing it to oscillate violently.
We changed the setpoint to 585 and tried values of p between 40 and 70, starting with 55.
We changed the setpoint to 585 and tried values of p between 40 and 70. As before, 70 caused violent oscillations and instability. Both 55 and 40 seemed more stable. We decided to continue testing with a value of 40.
Additional observation: The robot seems to stop briefly once in a while. This seemed to happen more with p = 70 than with p = 40.