![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
für holdor
Fork of PES by
Diff: readCamera.cpp
- Revision:
- 18:ea4671f566d4
- Parent:
- 15:7e9ecc4d7217
- Child:
- 19:2f44ecffaf30
--- a/readCamera.cpp Tue Apr 25 12:26:04 2017 +0000 +++ b/readCamera.cpp Tue Apr 25 13:44:12 2017 +0000 @@ -29,14 +29,14 @@ // soll drehen bis in stahl, fahren bis kegel, 25 pixel links rechts kegel - if(xAxis < 185 && xAxis > 135 && yAxis > 155 && yAxis < 190 ) { // wenn Klotz an Position zum aufnehmen + if(xAxis < 200 && xAxis > 120 && yAxis > 155 && yAxis < 190 ) { // wenn Klotz an Position zum aufnehmen state = 4; range = 1; } else { if (range == 1){ // fährt Strahl an - if (xAxis < 155){ + if (xAxis < 140){ state = 1; - } else if (xAxis > 165){ + } else if (xAxis > 180){ state = 2; } else{ // fährt gerade state = 3;