Week 5 in Robotics was all about participants learning how to code their robots to use their ultrasonic sensor. The lesson started with the participants understanding the how to write the code so their robot reacts to its surroundings, whether that be another robot or a wall. So once the basic code was learnt, we could then modify it so that the robot reacts to a couple of different distances. These variable distances made the robot react to the participant getting closer to the robot by making the robot reverse until the participants hand was at a safe distance. The past 5 weeks was all leading up to the last two weeks of Robotics Capalaba, as the last two weeks of the term will be spent creating and modifying a ‘sumo bot’ for the Capalaba Library Sumo Bot Competition. This week in Code Club, it was all about learning how to modify a game on Scratch so that it is exactly what the coder wants. So this week’s challenge was to modify a retro Pong game that includes a 2 player scoring system.
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
Welcome to Code RedlandsCode Redlands is a STEAM and robotics program dedicated to creating a an environment where we can explore, learn and create. With Digital Literacy a new focus for the future, we want to augment digital literacy skills by offering space, technology, and facilitators. We hope to equip the next generations of Queenslanders with STEAM (Science Technology, Engineering, Art & Mathematics) skills to find their own place in an increasingly digital world.
School Holiday ActivitiesRedland Libraries offer School Holiday Activities throughout the year for children aged 8 and above.
Archives
May 2020
|