Challenge 9 (Gradual Stop)

   This challenge was to make the robot gradually stop as it senses something in front. The beginning was given and we had to make our own. it took a couple of revising but we were able to get the code in the end. We used "and" in our while statement for the final code and it actually worked. the problem that we needed help was is on the speed because merely putting the sensor value still makes the robot goes fast so we had to subtract a certain amount number for the motor speed to in able to see the gradual stop. Overall it was neither easy nor hard

No comments:

Post a Comment