u4099 created page: Lesson8Week10 11 authored by Daniel Jung Moltzen's avatar Daniel Jung Moltzen
...@@ -71,8 +71,7 @@ The first problem seen in the video with the PIDcontroller happens on the first ...@@ -71,8 +71,7 @@ The first problem seen in the video with the PIDcontroller happens on the first
This sets the counter to one (since this is the first measurement where the criteria for the black threshold is fulfilled by both sensors ). Subsequently, it executes the following code: This sets the counter to one (since this is the first measurement where the criteria for the black threshold is fulfilled by both sensors ). Subsequently, it executes the following code:
´´´ ´´´´
switch (counter){ switch (counter){
case 1: case 1:
...@@ -87,6 +86,6 @@ switch (counter){ ...@@ -87,6 +86,6 @@ switch (counter){
powerLeft = 65; powerLeft = 65;
powerRight = 80; powerRight = 80;
break; break;
´´´ ´´´´
##### Codesnippet 1 [4] ##### Codesnippet 1 [4]