File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
libraries/Robot_Control/examples/explore/R02_Line_Follow Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,19 @@ void setup() {
3333
3434 Robot.drawBMP (" lf.bmp" , 0 , 0 ); // display background image
3535
36- // These are some general values that work for line following
37- Robot.lineFollowConfig (11 , 5 , 50 , 10 );
38-
39- // set the motor board into line-follow mode
40- Robot.setMode (MODE_LINE_FOLLOW);
41-
4236 Robot.playFile (" chase.sqm" ); // play a song from the SD card
4337
4438 // add the instructions
4539 Robot.text (" Line Following\n\n place the robot on\n the track and \n see it run" , 5 , 5 );
4640 Robot.text (" Press the middle\n button to start..." , 5 , 61 );
4741 Robot.waitContinue ();
4842
43+ // These are some general values that work for line following
44+ Robot.lineFollowConfig (11 , 5 , 50 , 10 );
45+
46+ // set the motor board into line-follow mode
47+ Robot.setMode (MODE_LINE_FOLLOW);
48+
4949 // start
5050 Robot.fill (255 , 255 , 255 );
5151 Robot.stroke (255 , 255 , 255 );
You can’t perform that action at this time.
0 commit comments