Robot Programming help needed!!!

Hey there. This year is my first year programming for the Robotics competition and i seem to be getting very little help. :confused:
I dont have any experience in labview or C++. I took the labview basics tutorials but they dont seem to help much in such advanced programming.
First of all, i could not program the basic program that runs the robot on arcade drive. The program was in the robotics library and appears when i make a new project using Labview. the jaguars dont respond to the cRIO signals. i had to reformat the cRIO in order to make the jaguars work again.

Second, i am trying to program the Y axis of joystick 1 to move four motors forward and backward and the x axis to move another motor which moves the wheels around. To add to that, i need to program the other joystick to move a motor which we are using for a turret. I want to program a button to turn the another motor on and off and a button to control a pnuematic arm.

Any help would be appreciated…

My advice is to create either of the templates. At this late date, the Basic may be a better choice since it has fewer concepts to get lost in.

Where it Opens two motors outside the loop, open several more. Where it Uses the Drive, you probably want to open the drive and look at it and basically replace the drive with some motor speed sets.

People have been putting up code and pictures of turret code with limit switches, be sure to look there.

The steering is just another motor to open and hook to the other joystick axis, probably with some scaling.

Greg McKaskle

I strongly suggest that you wact the Tip Jar video tutorials #5 through #8 (inclusive) to get a very fast ramp up on how to use the basic robot framework.

Regards,

Mike

yay! i made the basic movement program of the robot today.
i seem to have a little problem with programming the pneumatic arm
i cant seem to get the program right.

i want to program it to button 2 of joystick 1 or 2. i couldnt get the compressor working after a lot of tries.

can somebody help me with the programming and the physical setup of the compressor?

Since I can’t see your code I don’t know what it looks like right now. But I assume you are reading one joystick button and controlling the motor. Duplicate the unbundle by name and place it near the current one. Wire the new one to the device ref of the other joystick. Now OR the two buttons together before going into the case.

If this makes no sense for your diagram, post a picture.

Greg McKaskle