Go to Post The only people who are dumb or ignorant in this world are the ones who don't stop and ask why. - T967 [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 07-11-2010, 22:37
sam_who sam_who is offline
Registered User
FRC #2190
 
Join Date: Oct 2010
Location: Mississippi
Posts: 42
sam_who is an unknown quantity at this point
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?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 20:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi