1. The left wheel spun, but the right did not, causing the robot to just spin in a circle.
2. The left motor spun.
3. It spun forward.
4. Yes, it did. We set it to only go 720 degrees.
5. No, it is not. We want it to move forward in a line.
6. You need to command the left motor to move, but also the right motor. One command is needed for each motor.
7. It did not stop because we did not command it to stop. It just hit the end of the program and kept going because it did not have the command to stop.
8. Downloading a program is simply moving your programming instructions from the computer to the NXT. Running a program is actually executing the program causing the robot to move. You need to download it every time you change the program.
9. b
10. First Block: The first block commanded motor C to move forward.
Second Block: The second block commanded motor B to move forward.
Third Block: The third block told the motors to run for 720 degrees.
Fourth Block: The fourth block commanded motor C to stop.
Fifth Block: The fifth block commanded motor B to stop.
11. i) The wait block told the robot how long to run.
ii)You could change the number of degrees for the motor to run in the wait block.
iii) It would be the same program, but degrees in wait block set to 1440 degrees.
12. The motor in port A would not move because the program was sent to port B. It would have to change the two motor block to port A instead of port B.
13. The robot will move forward in a straight line until the wheels have gone 720 degrees.
14. The robot will still only go 720 degrees because the person changed the comment but not the degrees in the programming.
15. The directions in the first two motor blocks and the wait block must be changed from forward to backward.
16. It went forward and came back, but it went back too far.
17. It needed to be reset so that it would count 720 degrees back from where it was currently, not 720 degrees back from where it started.
18. It needs to be reset when I want the program to not set the reference point to where it started but where it is.
No comments:
Post a Comment