Professional Documents
Culture Documents
Worksheet1 Fullspeedahead2013
Worksheet1 Fullspeedahead2013
Observations:
What happened when you ran the program? The robot moved in a circular motion. Which motor spun? The right motor spun. What direction did the motor spin? The motor went forward. Did the motor stop spinning on its own? Yes, it slowly stoped spinning Is this the desired behaviour yet? No, it is not because it went in a circular motion and not straight, also because it didnt come to a stop by itself. Construct: Run Second Motor
Why is the second motor command needed? It is needed, so that it can go straight.
Why did the robot not stop at the right place before? Because the program that bring it to a complete stop, wasnt enforced. Which of the following determines the order in which blocks are run in the program? Highlight one.
a. The order the blocks are placed on the workspace, regardless of where they are placed. The one you drop first runs first, etc. b. The order of blocks on the white Sequence beam. The program starts at the small NXT symbol, and follows the blocks in the order they are reached along the white beam.
c. There is an order of operations of blocks. The software will always make Motor command blocks run first, and then wait for blocks, then Motor stop blocks. Write a brief one or two sentence explanation of what each block does in the Program you wrote (also shown below).
First block:
It moves motor C forward.
Second block:
It moves motor B forward.
Fifth block:
Stops motor B. Look at your program. I. Which icon or icons in the program controlled how far the robot went before stopping? The wait icon (orange). II. Explain how you could change the program to make the robot go a longer or shorter distance. You change the amount of time the wheels turn.
11. Describe the robots new movement pattern if you moved the motor plug from Port B to Port A, but did not change the program. How would you then need to change the program to make the robot go forward again? The motor isnt connected to port A its connected to port B, so the robot wouldnt move that part of the motor unless you re-programed it.
12. How far will the program shown below make the robot run? Look carefully, this is trickier than it seems!
13. What program blocks are different between the moving forward and moving backward behaviours? The arrow is pointing backwards instead on forward Continue: There and Back (part 1)
Observations:
14. Did your robot perform both actions as expected? If not, what did it do instead? It performed them both as expected. Continue: There and Back (part 2)
15. Why did the rotation sensor need to be reset? So that it went back to the where it started. 16. When do you need to do this in future programs? When you want it to finish where it started.