|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: How to program an arm?
We already have the arcade drive with the first joystick for the driving part programmed good, we just need the arm
. I even have the 2nd joystick programmed into the teleop vi, i just need to know how to program the buttons and x axis to joystick. |
|
#2
|
||||
|
||||
|
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/ Last edited by bladetech932 : 03-02-2011 at 19:33. |
|
#3
|
|||
|
|||
|
Re: How to program an arm?
and this is all in the teleop vi?
|
|
#4
|
||||
|
||||
|
Re: How to program an arm?
Yes, sorry i would post a pic but snowed in without a programming computer
|
|
#5
|
|||
|
|||
|
Re: How to program an arm?
np. by the way, how is your season going?
|
|
#6
|
|||
|
|||
|
Re: How to program an arm?
and on step 6 i am confused, the other 5 i already got.
|
|
#7
|
||||
|
||||
|
Re: How to program an arm?
to get a motor to turn at a certain speed when using a button you put a motor set speed.vi in the true case of the case structure,then wire the unbundled button to the case condition. The false case needs to be a set speed.VI set to what you want the motor to do when the button isnt pressed
|
|
#8
|
|||
|
|||
|
Re: How to program an arm?
wait, so i have step 2 in the 7 steps thing, now what?
|
|
#9
|
|||
|
|||
|
Re: How to program an arm?
can you email me a diagram/picture?
|
|
#10
|
|||
|
|||
|
Re: How to program an arm?
is it the set speed jaguar vi.
|
|
#11
|
|||
|
|||
|
Re: How to program an arm?
and how do i wire the set speed?
|
|
#12
|
||||
|
||||
|
Re: How to program an arm?
Yes, The bundle data (pink wire) from the motor devref needs to be wired to the set speed and the speed value needs a constant in each case
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|