We learned the difference between bang-bang control and proportional control. Bang-bang is one way or the other, proportional has some wiggle room.
We had four tasks to complete today:
Original Bang Bang Control 'Follow the Delrin'
Using proportional control, we got rid of the spazzing. The car slows down as the value get closer to 15 and then it comes to a complete stop.
Here we have created variables that we can set to a value or use in an equation
Trying to redo our line follow with variables so that the changing values of the tape and Masonite (due to the different times of day or light)
Fiddling with values
Here we are counting wheel A. If the count is greater than or less than 50, it will turn until it reads 50, but it stops.
We moved motor on into the forever loop so that it will always readjust.
No comments:
Post a Comment