Added line follow parameters for older robots. "(14,9,50,10)" fits better for robots that has "TK" markings on top.

This commit is contained in:
Xun Yang 2013-08-31 17:21:39 +02:00
parent 56316ea581
commit 011ffa2ab3
2 changed files with 3 additions and 2 deletions

View File

@ -42,9 +42,10 @@ void setup() {
// These are some general values that work for line following
// uncomment one or the other to see the different behaviors of the robot
// Robot.lineFollowConfig(11, 5, 50, 10);
//Robot.lineFollowConfig(14, 9, 50, 10);
Robot.lineFollowConfig(11, 7, 60, 5);
//set the motor board into line-follow mode
Robot.setMode(MODE_LINE_FOLLOW);

View File

@ -54,7 +54,7 @@ void setup(){
// use this to calibrate the line following algorithm
// uncomment one or the other to see the different behaviors of the robot
// Robot.lineFollowConfig(11, 5, 50, 10);
// Robot.lineFollowConfig(14, 9, 50, 10);
Robot.lineFollowConfig(11, 7, 60, 5);
// run the rescue sequence