First Pathway Programs
You are going to teach your robot how to follow a pathway. To do this, you are going to use the picture grid from the previous class activity we did. You will need to give the robot commands step-by-step since it can't figure out things on its own. You have already figured out these steps in class on the handout. You will be able to use your handout to help you.
Here are some things to keep in mind:
If your first command was to go forward 3 squares, you have to let your robot know how far 3 squares is. Each square is 4 cm. So, if you want it to go forward 3 squares, you need to tell it to go forward 12 cm.
If you want it to turn (spin) left or right, you have to tell it how far. In this case, one turn will be 90 degrees.
If you think you have your program written correctly, you can download it and try it.
If your robot does not end where it is supposed to, you will get to PROBLEM-SOLVE. Watch your robot go through the path and see if you can identify where it goes wrong, adjust your program commands and play it again to see if it is working. If it is not landing on the target exactly, measure the distance it is off and adjust the amount you ask your robot to move.
Begin with #1 on the handout.
Start on the rainbow, pointing toward the dog. End on the bird.
Start with your robots nose exactly on the line of the square it is on. When it is finished moving, its nose should be exactly aligned with the target square it is on.
Next, do #2:
Start on the rainbow, pointing toward the dog. Do NOT touch the dog. Do NOT touch the cat. End on the bird.
Next, do #3:
Start on the diamond, pointing toward the beachball. Do NOT use and "move forward" commands. End on the beachball.
As you finish programs, make sure they are correctly named and test them out. If they work, show them to me so you can get credit. If I am not available because I am assisting other students, please work ahead; however, do not wait until the last minute to show me programs or I may run out of time to see them.
If you finish both, you have some choices:
Add beeps or blinks to any of your programs to jazz them up.