|
Re: sample code to move robot autonomously
In your code, when you pass a Boolean true constant to the solenoid vi, it should actuate. Take a look at what you do in Teleop. You're probably unbundling the buttons cluster from the joystick and wiring one Boolean from that into the solenoid vi, right? It should work the same in autonomous, only instead of using a button, we use a Boolean constant. They're both the same type.
If you could, can you take a picture of your Teleop code and how you actuate the solenoid? That will help me see what's going on.
|