FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit cddde780 authored by ayush1301's avatar ayush1301
Browse files

Made turning speeds high

parent d749ff5e
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ Servo servoleft;
int ramp_detect_threshold = 500; //Up, Down
int ramp_detect_counter = 0;
bool ramp_on = false;
int left_right_velocity = 200;
int left_right_velocity = 255;
//Turning around
int turn_around_time = 2800;
......@@ -185,6 +185,7 @@ void loop() {
}
else {
Serial.println("REGION 3 bois");
while(1);
}
}
}
......@@ -194,7 +195,7 @@ bool recovery() {
Serial.println("RECOVERY CODE");
move_both(motors, 255);
ramp_on = true;
left_right_velocity = 200;
left_right_velocity = 255;
ramp_detect_counter = 0;
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment