Robots
Robots assignments and due dates
Before each date listed below, ask a TA or an instructor to verify that you’ve completed the task. The hope is that you can often get the items checked off during your lab period. If not, there are plenty of TA hours.
By Sunday February 9
Upgrade your robot with the new motors. Demonstrate that you can get it to move.
By Friday February 14
Write a function that makes your robot drive straight for any distance you desire. The distance should be an argument of the function, and it should be in units you can measure, e.g. cm. The TA/instructor will name a distance, and your robot should go that distance.
By Friday February 21
Write a function that makes your robot turn any number of degrees you specify. The number of degrees should be the argument of the function. If the number is positive it should turn to the right. If negative it should turn to the left. The TA/instructor will give you a number of degrees, and your robot should turn that number of degrees.
Nothing due by Friday February 28
Since homework2 is due this week, we wanted to give you some time in lab to ask questions about it during your lab period.
By Friday March 7
Combine your two functions to get your robot to follow one of the paths laid out in masking tape by the TAs.