|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Using the same Jaguar/Controller for Joystick and buttons....
We've been trying to get one jaguar to operate a motor with both the joystick and the buttons, however when we programmed it to do so only the buttons would work, not the joystick..
We tried adding another jaguar (one for button control and one for joystick control) but then the motor didn't work at all. Any ideas as to how we can get the joystick and buttons operate a motor? Hope that made sense... |
|
#2
|
|||||
|
|||||
|
Re: Using the same Jaguar/Controller for Joystick and buttons....
It is likely that your button code is happening after the joystick code, and thus overriding anything the joystick wants.
Do not connect multiple speed controllers to one motor. Just don't. Show us the code you are using and we should be able to help you make it do what you want it to. |
|
#3
|
|||
|
|||
|
Re: Using the same Jaguar/Controller for Joystick and buttons....
DO NOT WIRE TWO JAGUARS TO ONE MOTOR
Disconnect it immediately, you will likely break something. Sounds like you are having trouble knowing when you want the button to be in charge, and when you want the joystick to be in charge. Can you please tell us in English (bullet points are fine) when you want what to happen? We'll help you translate it to LabVIEW later. For example: I want the motor to move with the joystick, unless a button is pressed. If the button 1 is pressed, I want the motor to go 50% forward. If button 2 is pressed, I want the motor to go 60% backwards. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| joystick and extra buttons | TEAM1949 | Programming | 3 | 18-02-2008 13:22 |
| Using auxiliary joystick buttons with IFI controller. | Eric W. Jones | Programming | 9 | 03-12-2006 22:26 |
| joystick buttons and a quick question | h0x4r | Programming | 2 | 17-02-2005 00:18 |
| Using the extra buttons on the joystick. | Code\\Pilot | Programming | 7 | 04-12-2004 19:30 |
| UTC Hartford and the Pits in 2001. The same setup for this year??? | Elgin Clock | Regional Competitions | 3 | 01-11-2002 19:11 |