|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
How can i program a cim motor to run continuously with one button on the joystick and to stop with another button?
Any help is appreciated! |
|
#2
|
|||
|
|||
|
Re: Motor Sequence?
Well if you are coding in Java I can help you
so in the teleop continuous phase use these lines of code: if(joystick.getRawButton(BUTTON_NUMBER)) { jaguarName.set(MOTOR SPEED) } if(joystick.getRawButton(NEW BUTTON_NUMBER)) { jaguarName.set(0) } |
|
#3
|
||||
|
||||
|
Re: Motor Sequence?
Thanks but we are using LabVIEW
|
|
#4
|
||||
|
||||
|
Re: Motor Sequence?
Quote:
|
|
#5
|
||||
|
||||
|
Re: Motor Sequence?
Thanks, but does the motor have to be connected to the program?
And what connects to the right side of the wire furthest to the right? Last edited by gabrielc97 : 19-02-2012 at 15:27. |
|
#6
|
|||
|
|||
|
Re: Motor Sequence?
Yes, the output of the upper T/F selector is wired to the Output value of Motor Set Output.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|