FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

arcade programming

I iimagine this is very simple for someone, i am using the default arcade for our robot. When i move the joystick forward the robot moves forward as it should, and then  when i move the joysticke backward the bot moves in reverse as it should, but if i move the stick to the right the bot moves left and vice versa, i am sure there is a simple change i can make but i am not sure where.

any help is greatly appreciated

thanks john

0 Kudos
Message 1 of 4
(4,853 Views)

Hi John - I think you just have the channels for the left and right motor reversed.  You can either swap the PWM cables at the digital sidecar, or in Begin you can change the order of the channels you're using  (swap the PWM channel for the left motor with the one for the right motor and vice versa).

0 Kudos
Message 2 of 4
(2,774 Views)

ok i will try that,  i did go into the begin vi and there are two t-f switches and with those i can control the x axis , but

the left and right motion is a y axis issue,   so i will try what you offered,

thanks a bunch John

0 Kudos
Message 3 of 4
(2,774 Views)

thanks it worked well, i am all squared around:)

john

0 Kudos
Message 4 of 4
(2,774 Views)