We used some functions and variables for ramp detection such as: Two line following function on the uphill and downhill with a important variable named "time slow".
Robot will detect the ramp using gyroscope , if its angel is above or equal 25 degrees it will detect the ramp and it will lower it arms and boosts itself and also it will speed up, after going trough the ramp when its angel is zero degrees it will lower its speed and goes back to the normal mode. and because after any uphill ramp a downhill ramp exists with using time slow variable it will lower its line following speed so it can go down form a downward ramp correctly.
Also our wheels helps our robot to go up the ramp using double friction.
Comments
Post a Comment