Demo 3

Code for part 1: https://github.com/MandyMeindersma/Robotics/blob/master/Demos/Demo3/follower_yellow.py

Question: Determine the range of linear velocity and angle gain (see p. 207) under which the TurtleBot can still follow the “course” successfully. What conclusions can be draw in terms of the effect of the gains on robot performance?

Answer: We both found the max robot speed in simulation was 2 with the angle of turning to be dived by 100. The robot stayed on the line when we set the speed to 1 and then divided the angle of turning by 75 to 200.

** The robot goes off the course at the end because it sees the reflection of the light on the floor which looks close enough to white for it to follow. Every team ran into this problem.


Code for part 2: https://github.com/MandyMeindersma/Robotics/blob/master/Demos/Demo3/follower_rgb.py