|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Joystick motion to CAN connected jaguar
I'm having an issue with black jags connected to the crio.
I'm using C++. I have a logitech game pad connected to the driver station. In this particular instance, I'm using the Twist axis. When reading the axis, I can see the output swing between -1.0 <= output <= 1.0. I'm operating the jag in speed mode. I'm monitoring the percent of throttle with the CrossTheRoadElectronics web page. Yes, I'm using the 2CAN. I'm using the output of the Twist axis as the argument to the Set command. myJag.Set (logitech.GetTwist () ); I find that I'm getting 99.99% throttle with only 25% axis movement. -0.25 < axis_output < 0.25 yields -99.99% < speed < 99.99% Using myJag.Get () confirms the 0.25 value. I reduced the axis_output by a factor of four to compensate myJag.Set (logitech.GetTwist () * 0.25 ); but I'd really like to know why this is the case. Can anybody help? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can we detect if PSoC is connected or not ? | gokul | Programming | 5 | 03-03-2010 11:24 |
| CAN Jaguar enhancements | JasonStern | CAN | 10 | 01-03-2010 09:38 |
| CAN Jaguar Malfunction | PranavSathy | CAN | 4 | 21-02-2010 18:32 |
| Joystick To Jaguar | Taxi Quinn | Programming | 1 | 17-02-2010 11:12 |
| Using the same Jaguar/Controller for Joystick and buttons.... | mck567 | NI LabVIEW | 2 | 09-02-2010 16:34 |