Programming Help

Hello Everyone on Vex forums, I am having a small problem with programming my teams robot. For our robot we use two limit switches for our arm. One for the top and one for the buttom postion. But in autonomous we cant get the arm to go fully to the top when we tell it to It gets stuck half way and does not continue foward when theres a ball on our scoop.

We have it working in operator control and it does go up in our autonmous too but at the beginning. Its the problem when it goes the second time.

Anyone know what we can do to fix this problem

If it’s not a mechanical issue, the programming solution should be pretty simple. Can you post your code in this thread?

Ill post it tomrrow when i get it when i can put it on usb from my school tomorrow.

But the basic thing we have is like
in a fuction

if top sensor==1 (Not pressed) go up

else if top sensor==0(pressed go down)

*Drive function and everythign works just this arm part