@@ -102,12 +102,11 @@ Based on Hurbain [2], we know that the PID constants used in Sejway.java program
Note: Camilla & Nicolai: Vi valgte at udlade at vi ændrede ints til floats, fordi vi alligevel caster dem til ints de fleste steder og har svært ved at finde på argumentation for hvorfor det skulle gøres udover "ole said so"
The next step seems to be changing the parameters, as Hurbain says that the values of the program are used from a calibration of his light sensor.
In order to optimize our experimentation with various PID values for the program, we decided to make a PC GUI program to send new values to the robot over Bluetooth, on-the-fly while testing, rather than having to upload a new program with every value change.
### Choice of parameters on the fly
---
#### Making the program
We used the **TrackerController** class [4] from lesson 2 as a basis for our GUI, and ended up using ***PIDController.java*** on the PC and ***PCconnection.java*** + ***Sejway.java***.
When able to control the calibration (Setpoint) variable, we made the robot 'fall' to both sides. This means that we now can be able to control the PID-variables.