|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
hey guys! I am new to C++ and I am told to try to get motors to run by pushing button 1 on the joystick... I am having issues doing that... anytime I try doing it it runs like tank drive... I try using an if statement like below.
if(stick.GetRawButton(1)){ talon.Set(1); }else{ talon.Set(0); } if(stick2.GetRawButton(1)){ talon2.Set(1); }else{ talon2.Set(0); thanks for your time! bluejacket robotics! |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|