|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: labview adding button from joystick
so do i add something like this?
|
|
#2
|
||||
|
||||
|
Re: labview adding button from joystick
|
|
#3
|
||||
|
||||
|
Re: labview adding button from joystick
The part you added goes in your Begin.vi
|
|
#4
|
||||
|
||||
|
Re: labview adding button from joystick
Add this to your Begin.VI
|
|
#5
|
|||
|
|||
|
Re: labview adding button from joystick
would the buttons work in the simulator? and THe robot just spins in cercles in the simulator.
|
|
#6
|
|||
|
|||
|
Re: labview adding button from joystick
here the begin and teleop updated
|
|
#7
|
|||
|
|||
|
Re: labview adding button from joystick
teleop true
|
|
#8
|
||||
|
||||
|
Re: labview adding button from joystick
To use the 2 Motor Open with a Tank drive for your launcher.
|
|
#9
|
|||
|
|||
|
Re: labview adding button from joystick
what value do i add in the false statement?
|
|
#10
|
||||
|
||||
|
Re: labview adding button from joystick
For the launcher motors? What do you want the launcher motors to do when you release the joystick button?
I assume you want them the stop when you release the joystick button as write out 0 (zero) The snipplets that I posted you can copy them to your desk top and them drag them on to any block diagram and you will have the code just as I created it. |
|
#11
|
|||
|
|||
|
Re: labview adding button from joystick
it works now i forgot to add the axis in the false statement
Thanks A LOT!! |
|
#12
|
||||
|
||||
|
Re: labview adding button from joystick
In Teleop you need to rename the two "My Motor Refnum" to "shooter 1" and shooter2".
Be VERY careful with the Ref Names string! Pay attention to spaces you use in them. "shooter2" is not the same as "shooter 2" In fact make it a rule not to use any spaces. Call them "shooter_1" and "shooter_2" I should have used "Launcher_Motor_1" and "Launcher_Motor_2" in my example that I posted. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|