Image of Line Follower
Link to video:
https://www.youtube.com/watch?v=VF5w7Ct5s8Q
Meat and bones:
Full disclosure, this is a school project. I have, however, never implemented a PID before. Also of note, is that I don't want to get lost any more than necessary into control theory. I just happened to miss this class first year, so I'm taking advantage of an opportunity to dig into the PID equation a bit, and implement it in C.
The four black squares are a sensor array. I'm going to use them to track the line. Adjustments will be made by changing the speed of the wheels, however the robot will only go forward.
I know I will need a calibration. Putting the robot on the line will enable me to get a set point pretty easily. What I'm confused on is how I will handle the drift left or right across the four sensors. I'm not really seeing how that will figure in, and I guess that is my first hurdle there. Any ideas on how to approach this from a more macroscopic level?
Link to video:
https://www.youtube.com/watch?v=VF5w7Ct5s8Q
Meat and bones:
Full disclosure, this is a school project. I have, however, never implemented a PID before. Also of note, is that I don't want to get lost any more than necessary into control theory. I just happened to miss this class first year, so I'm taking advantage of an opportunity to dig into the PID equation a bit, and implement it in C.
The four black squares are a sensor array. I'm going to use them to track the line. Adjustments will be made by changing the speed of the wheels, however the robot will only go forward.
I know I will need a calibration. Putting the robot on the line will enable me to get a set point pretty easily. What I'm confused on is how I will handle the drift left or right across the four sensors. I'm not really seeing how that will figure in, and I guess that is my first hurdle there. Any ideas on how to approach this from a more macroscopic level?