20160920 Lego Mindstorms Robotics Coding Class
In September 20th Lego Mindstorms EV3 Robotics class, Kids learned how to calibrate the sensors on the robots and how to code using "my blocks."
In September 20th Lego Mindstorms EV3 Robotics class, Kids learned how to calibrate the sensors on the robots and how to code using "my blocks."
In coding class we finished the code for the ellaphants we built. The kids made a program that would use the robot keypad buttons to control what it did. Up button to make the elephant walk forward. Down button for backward. Left button for head tilt and trunk trumpeting. And right button for picking up an object.
For these two weeks, kids worked on an elephant robot. It is supposed to walk without wheels.
In today's coding class we started on a motorcycle robot. It will use the gyroscopic sensor to keep itself balanced on 2 wheels. All they had for instructions was a video showing a working Lego motorcycle. No build instructions and no programming instructions.
孩子們兼天的挑戰是製造一個機車,沒有任何的參考或是說明,只有一張最後的成果圖!挺有趣的!!!
The coding class finished programming their recent robot. They learned how to have multiple threads of program execution and how to interrupt one thread from another and how to use global variables as flags to send quick messages across threads.
利用multiple threads和program execution, 機器狗終於完成了!