View Single Post
  #5   Spotlight this post!  
Unread 03-02-2011, 19:31
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: How to program an arm?

1-ok, well First you are going to want to pull out the reference for your second joystick
2-Second you need to pull down a Get.vi
3-Third you need to get two unbundle by name functions from the Cluster,Class and Varient section
4-Wire the unbundles to the button and axis output
5-you need to create open.vi's for three motors (each one set to its pwm)
6-To make the motors move on a button you are going to need a case structure for each motor with the set speed.vi in the case structure set to the speed you want to move it
6-for the axis just wire axis one into a set speed.vi

If you are needing to learn the basics i suggest you watch the videos from here http://www.frcmastery.com/
__________________
Expect the best, Prepare for the worst

Last edited by bladetech932 : 03-02-2011 at 19:33.
Reply With Quote