<< return to Pixycam.com

User Tools

Site Tools


wiki:v1:lego_chase_demo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:v1:lego_chase_demo [2017/12/19 21:33]
jfrench - Imported by DokuWiki Advanced Plugin
wiki:v1:lego_chase_demo [2018/08/22 22:17] (current)
jfrench updated support email
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.
Line 163: Line 163:
 You've created a robot that can chase things. Using the same concepts you can create a robot that goes over to an object and picks it up. Or you can create a robot that launches projectiles at things. Or you can create a robot that goes over to its charger and plugs itself in. Or you can create the worlds first (as far as we know) soccer-playing LEGO robot. The programs to create these robots are more complicated,​ but armed with these concepts, much of the added complexity is in the interleaving of these concepts. You've created a robot that can chase things. Using the same concepts you can create a robot that goes over to an object and picks it up. Or you can create a robot that launches projectiles at things. Or you can create a robot that goes over to its charger and plugs itself in. Or you can create the worlds first (as far as we know) soccer-playing LEGO robot. The programs to create these robots are more complicated,​ but armed with these concepts, much of the added complexity is in the interleaving of these concepts.
  
-So think about what you want your robot to do, then do it! (And by all means tell us about it! <​support@charmedlabs.com>)+So think about what you want your robot to do, then do it! (And by all means tell us about it! <​support@pixycam.com>)
  
  
wiki/v1/lego_chase_demo.1513719206.txt.gz · Last modified: 2017/12/19 21:33 by jfrench