Skip to content

Commit 011ffa2

Browse files
author
Xun Yang
committed
Added line follow parameters for older robots. "(14,9,50,10)" fits better for robots that has "TK" markings on top.
1 parent 56316ea commit 011ffa2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

libraries/Robot_Control/examples/explore/R02_Line_Follow/R02_Line_Follow.ino

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ void setup() {
4242

4343
// These are some general values that work for line following
4444
// uncomment one or the other to see the different behaviors of the robot
45-
// Robot.lineFollowConfig(11, 5, 50, 10);
45+
//Robot.lineFollowConfig(14, 9, 50, 10);
4646
Robot.lineFollowConfig(11, 7, 60, 5);
4747

48+
4849
//set the motor board into line-follow mode
4950
Robot.setMode(MODE_LINE_FOLLOW);
5051

libraries/Robot_Control/examples/explore/R10_Rescue/R10_Rescue.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void setup(){
5454

5555
// use this to calibrate the line following algorithm
5656
// uncomment one or the other to see the different behaviors of the robot
57-
// Robot.lineFollowConfig(11, 5, 50, 10);
57+
// Robot.lineFollowConfig(14, 9, 50, 10);
5858
Robot.lineFollowConfig(11, 7, 60, 5);
5959

6060
// run the rescue sequence

0 commit comments

Comments
 (0)