The last tutorial was to build Alpha Rex, a walking robot with very limited arm/hand movement. Again, I used the directions to build the robot, and programmed it myself using the visual programming program the NXT comes with. This robot uses all three motors (two for the legs, one to control the arms/hands), two touch sensors (to determine where the legs are), the ultrasonic sensor (to sense objects in front), and the light sensor (to determine the color of the ball in hand).
The robot must first be able to walk. Then, if an object is placed 25 cm or closer in front of the robot, it will stop and ask for a green ball. If a different colored ball is placed in its hand, or no ball at all, an error sound is played and it asks for green again. If it gets the green ball, it says thank you, and proceeds walking. (The color is bad on the video, so if you can't tell, I give the robot a red ball the first time, and a green one the second)
This is the last tutorial that directions were provided for with the NXT 2.0. I hope to start programming in an actual programming language when I can find one that works well with the NXT. The visual one, while intuitive for younger folks, can prove to be quite frustrating in its simplicity, time consuming and limiting.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment