Hint for finding the right speed
- Create a variable for the speed.
- If you are getting closer (say less than 26 centimeters), decrease the value in the variable
- If you are getting too far way, increase the value.
- Use that variable for your other track that sets the motors going. It should be the speed
This topic: CenterForComputing
> WebHome >
SyllabiFall2022 >
CSC102SylF2022 >
CSC102F2022Lab6 > CSC102F2022Lab6HintSpeed
Topic revision: r2 - 2026-07-09 - CathyBareiss