Autonomous

Where do I place the arm movement code for our autonomous? I know its in the autonomous vi but where and/or how do I place it?

You use constant values in place of where you would normally wire the joystick axis

Where and how you place your arm control depends on what you want the arm to do, when you want the arm to do it, and what else is happening in autonomous.

What do you want the arm to do?
When do you want the arm to do it?
What else is happening in autonomous?

Or you could use variables that vary based on how many times a loop has cycled.
I don’t know labview stuff but in c++ it would look something like this.


double virtualStick;
for (int i=0; i>-1; i++)
{
   virtualStick=-(i-7.5)(i-7.5)+1;
   virtualStick/=2;
   virtualStick+=.5;

   //arm code here [using virtualStick in place of joystick values]

  Wait(1.0);
}

this particular piece of code would increase speed for the first half of autonomous, and decrease it for the second half

If the autonomous code you received from FIRST followed the line and stopped after a while, try creating a sequence structure. The first frame should be around the autonomous code given while the second frame will be where your arm code will be.