From b3ab14a78f73759705c9b7db3300b94b4b206ce6 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Fri, 4 Dec 2015 15:40:12 -0800 Subject: [PATCH] make comments match code for stay on table --- build-stages/h_stay_on_table/h_stay_on_table.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-stages/h_stay_on_table/h_stay_on_table.ino b/build-stages/h_stay_on_table/h_stay_on_table.ino index 48d0802..26ecf2c 100644 --- a/build-stages/h_stay_on_table/h_stay_on_table.ino +++ b/build-stages/h_stay_on_table/h_stay_on_table.ino @@ -125,13 +125,13 @@ void loop(){ // adjust this number as necessary for your robot. // it represents how far the table is from your sonar sensor. - // larger values mean larger distance. default is 400 - int right_max_ping_time_over_table = 500; - int left_max_ping_time_over_table = 500; + // larger values mean larger distance. default is 800 + int right_max_ping_time_over_table = 800; + int left_max_ping_time_over_table = 800; int backup_time = 2000; // the exact amount of time for turning around might need // twerking for your robot. the default value is 3200 - int turn_around_time = 2133; + int turn_around_time = 3200; int actual_left_ping_time = ping(left_trigger_pin, left_echo_pin); int actual_right_ping_time = ping(right_trigger_pin, right_echo_pin); -- 2.30.2