452 |
452 |
453 A really cool project using a toy helicopter and two Raspberry Pi's was done by Nikolaos Kyknas. He transformed |
453 A really cool project using a toy helicopter and two Raspberry Pi's was done by Nikolaos Kyknas. He transformed |
454 an off-the-shelf toy helicopter into an autonomous flying machine. He attached a Raspberry Pi Zero and an ultrasound |
454 an off-the-shelf toy helicopter into an autonomous flying machine. He attached a Raspberry Pi Zero and an ultrasound |
455 sensor to the helicopter for measuring the distance from ground. Another Raspberry Pi is attached to the “ground control |
455 sensor to the helicopter for measuring the distance from ground. Another Raspberry Pi is attached to the “ground control |
456 unit” in order to give instructions to the throttle of the helicopter. Both Raspberry Pi's communicate over WiFi for calculating |
456 unit” in order to give instructions to the throttle of the helicopter. Both Raspberry Pi's communicate over WiFi for calculating |
457 the next flight instruction. The goal is to find and maintain a steady altitude. Sounds simple? Well, not so fast: Rest assured there are |
457 the next flight instruction. The goal is to find and maintain a steady altitude. Sounds simple? Well, not so fast! |
458 many thorny issues! First you need to get the balance of the helicopter plus Raspberry Pi plus its power source just right, |
458 First you need to get the balance of the helicopter plus Raspberry Pi plus its power source just right, |
459 otherwise the helicopter will simply take off in random directions. Also the flight instructions need to be just right, |
459 otherwise the helicopter will simply take off in random directions. Also the flight instructions need to be just right, |
460 otherwise the helicopter would at best ``oscillate'' around the set altitude, but never be steady. To solve this problem, |
460 otherwise the helicopter would at best “oscillate” around the set altitude, but never be steady. To solve this problem, |
461 Nikolaos used exactly the same algorithm that keeps cars at a steady pace when in cruise control. |
461 Nikolaos used exactly the same algorithm that keeps cars at a steady pace when in cruise control. |
462 |
462 |
463 <center> |
463 <center> |
464 <iframe width="320" height="576" |
464 <video width="320" height="576" controls> |
465 src="https://nms.kcl.ac.uk/christian.urban/h1.mp4"> |
465 <source src="https://nms.kcl.ac.uk/christian.urban/h1.mp4" type="video/mp4"> |
466 </iframe> |
466 Your browser does not support the video tag. |
467 <iframe width="320" height="576" |
467 </video> |
468 src="https://nms.kcl.ac.uk/christian.urban/h3.mp4"> |
468 <video width="320" height="576" controls> |
469 </iframe> |
469 <source src="https://nms.kcl.ac.uk/christian.urban/h3.mp4"> |
|
470 Your browser does not support the video tag. |
|
471 </video> |
470 </center> |
472 </center> |
471 |
473 |
472 <li> <H4>[CU5] An Infrastructure for Displaying and Animating Code in a Web-Browser</H4> |
474 <li> <H4>[CU5] An Infrastructure for Displaying and Animating Code in a Web-Browser</H4> |
473 |
475 |
474 <p> |
476 <p> |