2. It should turn right to go back to the left edge of the line.
3. It should turn left to go off the left edge of the line.
4. 56+35/2=45.5=46
5. i) dark
ii) light
iii) light
iv) dark
6. i) light

ii) dark

iii) dark

iv) dark

7. i) left
ii) left
iii) right
iv) left
8. The robot is programmed to turn right when its is light and left when it is dark. Then the entire behavior is set inside of the loop block.
9. The light in the morning is different from the light in the afternoon. She needs to recalculate her threshold value in order to recognize the dark line.
10. i) yes
ii) In stead of turning off the left side of the line, it would turn off of the right side of the line.
11. i) If it was not right next to the ground, it would not be able to register the "dark" of the tape.
ii) If you raise it, your value for dark will have to increase. If you lower it, your dark value will not have to be so high.
iii) It will work if you put it on the right hand side of the line. It will mess up on turns because the body will be past the curve before it starts to turn.
12. It tracks the right side because if it sees light it turns left onto the right side of the line and if it sees dark it turns right off of the right side of the line. Therefore it is tracking the right side of the line.
13. If it were to try to track something like the edge of a table and it has to track the right side only or it will fall off.
No comments:
Post a Comment