mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
looking if robot will follow commands
This commit is contained in:
@@ -42,6 +42,9 @@ int command(){
|
|||||||
switch(input){
|
switch(input){
|
||||||
case 1:
|
case 1:
|
||||||
robot.forward(1024, 1);
|
robot.forward(1024, 1);
|
||||||
|
robot.doRotation(90);
|
||||||
|
robot.forward(1024, -1);
|
||||||
|
robot.doRotation(-90);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
robot.doRotation(90);
|
robot.doRotation(90);
|
||||||
|
Reference in New Issue
Block a user