This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:v2:lego_line_tracking_test [2019/01/30 01:55] pixycam |
wiki:v2:lego_line_tracking_test [2019/01/30 01:59] pixycam |
||
---|---|---|---|
Line 3: | Line 3: | ||
From the LEGO Mindstorms EV3 Software, go to the **File** menu and select **Open Project**.\\ | From the LEGO Mindstorms EV3 Software, go to the **File** menu and select **Open Project**.\\ | ||
{{wiki:img:3e3b64f2ff052ac58280fa2315eff9d803714e6e.png}}\\ | {{wiki:img:3e3b64f2ff052ac58280fa2315eff9d803714e6e.png}}\\ | ||
- | Browse to the location where you unzipped the "LEGO blocks and examples" file, and then to the **examples** directory and then either to the **EV3** or **NXT** directory depending on your brick version. Select "line\_test.ev3" and click on **Open**. | + | Browse to the location where you unzipped the "LEGO blocks and examples" file, and then to the **examples** directory and then either to the **EV3** or **NXT** directory depending on your brick version. Select "line\_test.ev3" and click on **Open**. The program is shown below. |
- | {{ }} | + | {{wiki:v1:image_725.png}} |
Line 21: | Line 21: | ||
- | {{}} | + | {{wiki:v1:image_726.png}} |
- | You can also see what happens when you turn off and on Pixy2's lamp by setting it to false or true. You'll need to stop the program and re-run it for the change to take effect though. | + | You can also see what happens when you turn off and on Pixy2's lamp by setting it to false or true. You'll need to stop the program and re-run it for the change to take effect. |
- | {{}} | + | {{wiki:v1:image_729.png}} |
Line 40: | Line 40: | ||
You can stop the program and change turn angle to -90 degrees. | You can stop the program and change turn angle to -90 degrees. | ||
- | + | {{wiki:v1:image_732.png}} | |
- | {{}} | + | |
-90 degrees is a right turn according to the diagram below. | -90 degrees is a right turn according to the diagram below. |