From 7b62d97cbb01a8f9267c85a381f7981b58e2fbf7 Mon Sep 17 00:00:00 2001 From: Seth T Date: Tue, 23 May 2017 11:54:07 -0400 Subject: [PATCH] Clarify numeric literals are not in octal --- .../10-Color-Tracking/black_grayscale_line_following.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/examples/10-Color-Tracking/black_grayscale_line_following.py b/usr/examples/10-Color-Tracking/black_grayscale_line_following.py index 30cc9ad07..ad2f2ab7b 100644 --- a/usr/examples/10-Color-Tracking/black_grayscale_line_following.py +++ b/usr/examples/10-Color-Tracking/black_grayscale_line_following.py @@ -21,8 +21,8 @@ GRAYSCALE_THRESHOLD = [(0, 64)] # to the roi near the bottom of the image and less to the next roi and so on. ROIS = [ # [ROI, weight] (0, 100, 160, 20, 0.7), # You'll need to tweak the weights for your app - (0, 050, 160, 20, 0.3), # depending on how your robot is setup. - (0, 000, 160, 20, 0.1) + (0, 50, 160, 20, 0.3), # depending on how your robot is setup. + (0, 0, 160, 20, 0.1) ] # Compute the weight divisor (we're computing this so you don't have to make weights add to 1).