If you ever made a tracked robot you most likely had this problem: my robot wont go in a strait line !!!! what can i do ?
Well ... there is a simple solution and it doesnt envolve modifing you robot !
A simple code will allmost completely fix the problme !
The problem is that one track goes faster then the other so the solution is to slow one of them down with is realy easy.
The normal code to make your robot go forwards looks like this :
main:
high 7 : high 5 : low 4 : low 6
goto main
Now the code will need a bit of tweeking depending on with track goes to fast, in my case it is the one on the left witch is high 7. To slow it you need to pause it fora bit depending on your robot.
main:
high 7 : high 5 : low 4 : low 6
pause 1
low 7 : high 5 : low 4 : low 6
pause 3
high 7 : high 5 : low 4 : low 6
goto main
Now the problem is this might slow it down too much, the solution? Slow the other one down a bit. The timeing is a bit of guess work but will figure it out.
main:
high 7 : high 5 : low 4 : low 6
pause 1
low 7 : high 5 : low 4 : low 6
pause 3 'This is the time you should change.
high 7 : high 5 : low 4 : low 6
pause 1
high 7 : low 5 : low 4 : low 6
pause 1 'This is the time you should change.
high 7 : high 5 : low 4 : low 6
goto main
goto main
I will post a video onece I record one.
Hope this helped somebody!