This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:v2:lego_line_tracking_test [2019/01/30 02:05] pixycam |
wiki:v2:lego_line_tracking_test [2019/01/30 03:17] pixycam |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Pixy2 LEGO Line Tracking Test ====== | ====== Pixy2 LEGO Line Tracking Test ====== | ||
- | 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}}\\ | + | |
- | 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}} | + | |
+ | {{wiki:img:3e3b64f2ff052ac58280fa2315eff9d803714e6e.png}} | ||
+ | |||
+ | |||
+ | Browse to the location where you unzipped the "LEGO blocks and examples" file, and then to the **examples** directory. Select "line\_test.ev3" and click on **Open**. The program is shown below. | ||
+ | |||
+ | |||
+ | {{}} | ||
Line 29: | Line 34: | ||
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. | 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}} | {{wiki:v1:image_729.png}} | ||
Line 47: | Line 53: | ||
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}} | {{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. |