... | ... | @@ -132,8 +132,9 @@ |
|
|
>####Results
|
|
|
>
|
|
|
>After the implementation the code with our PID controller looked like this:
|
|
|
>´´´
|
|
|
>BlackWhiteSensor sensor = new BlackWhiteSensor(SensorPort.S3);
|
|
|
>
|
|
|
> ´´´
|
|
|
> BlackWhiteSensor sensor = new BlackWhiteSensor(SensorPort.S3);
|
|
|
>
|
|
|
> sensor.calibrate();
|
|
|
>
|
... | ... | @@ -188,8 +189,7 @@ |
|
|
> LCD.drawString("Program stopped", 0, 0);
|
|
|
> LCD.refresh();
|
|
|
> }
|
|
|
>
|
|
|
>´´´
|
|
|
> ´´´
|
|
|
>
|
|
|
>We started adjusting the numbers for the PID constants but we did not have time to find the desired values before it was time to hand in. Therefore we have not yet fully completed a satisfying PID controlled line follower robot.
|
|
|
>
|
... | ... | |