This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
wiki:v1:lego_chase_demo [2017/12/19 21:33] jfrench - Imported by DokuWiki Advanced Plugin |
wiki:v1:lego_chase_demo [2018/05/27 23:53] pixycam |
||
---|---|---|---|
Line 53: | Line 53: | ||
{{wiki:img:3e3b64f2ff052ac58280fa2315eff9d803714e6e.png?400}}\\ | {{wiki:img:3e3b64f2ff052ac58280fa2315eff9d803714e6e.png?400}}\\ | ||
- | - Browse to the location where you unzipped the "LEGO blocks and examples" file (which you can download [[wiki:v1:Latest_release.|on this page]]), and then to the **examples** directory and then either to the **EV3** or **NXT** directory depending on your brick version. Select "chase.ev3" and click on **Open**. | + | - Browse to the location where you unzipped the "LEGO blocks and examples" file (which you can download [[https://pixycam.com/downloads-pixy1/|on this page]]), and then to the **examples** directory and then either to the **EV3** or **NXT** directory depending on your brick version. Select "chase.ev3" and click on **Open**. |
- Click on the "track" tab. You should see a program that looks like this (below).\\ | - Click on the "track" tab. You should see a program that looks like this (below).\\ | ||
{{wiki:img:043148247c8d379fb867582e6230deb13bba5371.png?400}}\\ | {{wiki:img:043148247c8d379fb867582e6230deb13bba5371.png?400}}\\ | ||
Line 83: | Line 83: | ||
The appeal of the PID controller is it's flexibility. By adjusting the three gain values, one for proportional, one for integral, and one for derivative, lots of different systems can be controlled. So what's up with the PID values? How were they chosen?\\ | The appeal of the PID controller is it's flexibility. By adjusting the three gain values, one for proportional, one for integral, and one for derivative, lots of different systems can be controlled. So what's up with the PID values? How were they chosen?\\ | ||
- | {{wiki:img:2bb44d78a22d7e61c4a92f31ddd0d4b5e680082c.png?400}} | + | {{wiki:img:2bb44d78a22d7e61c4a92f31ddd0d4b5e680082c.png}} |
These were "tuned" by experimentation. You can tune the PID loop yourself. In fact, it's a good way to familiarize yourself with PID control. | These were "tuned" by experimentation. You can tune the PID loop yourself. In fact, it's a good way to familiarize yourself with PID control. |