Go to Post Part of being an effective leader is knowing your own personal limits. - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-01-2012, 18:09
dmitch's Avatar
dmitch dmitch is offline
Chief Head Electrical Guy
AKA: Daniel Mitchell
FRC #1997 (Stag Robotics)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Bishop Miege High School
Posts: 142
dmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the rough
KOP Joystick

WE have the Logitech KOP Joystick from a few years ago and I was wondering how you reference the dial on the bottom. We used it a few years ago, but that programmer left. I tried it as axis 3 but it didn't work.
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2012, 19:07
DavisC DavisC is offline
Registered User
FRC #0539 (Titans)
Team Role: College Student
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Virginia
Posts: 200
DavisC is just really niceDavisC is just really niceDavisC is just really niceDavisC is just really nice
Re: KOP Joystick

from last year I looked into the setup of 2 joysticks (1 being the Attack 3 from the KOP) and this is what I found, but in the post before it, someone mentions the dial is Axis 4, but I am not sure as to where it stands.
But this is what I found

For the Attack 3 Joysticks:
Axis 6 - nothing
axis 5 - nothing
axis 4 - nothing
axis 3 - dial at base of joysstick axis
axis 2 - y axis
axis 1 - x axis


For the Cyborg X Joystick:
Axis 6 - left/right on thumb axis
axis 5 - right throttle axis
axis 4 - rotation axis
axis 3 - left throttle axis
axis 2 - y axis
axis 1 - x axis

I suggest testing Axis 4 if Axis 3 did not work.
Good Luck!
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2012, 19:14
Vikingtech2054's Avatar
Vikingtech2054 Vikingtech2054 is offline
Registered User
FRC #5162 (The Big Red Theory)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Big Rapids, MI
Posts: 86
Vikingtech2054 is an unknown quantity at this point
Re: KOP Joystick

Quote:
Originally Posted by DavisC View Post
from last year I looked into the setup of 2 joysticks (1 being the Attack 3 from the KOP) and this is what I found, but in the post before it, someone mentions the dial is Axis 4, but I am not sure as to where it stands.
But this is what I found

For the Attack 3 Joysticks:
Axis 6 - nothing
axis 5 - nothing
axis 4 - nothing
axis 3 - dial at base of joysstick axis
axis 2 - y axis
axis 1 - x axis


For the Cyborg X Joystick:
Axis 6 - left/right on thumb axis
axis 5 - right throttle axis
axis 4 - rotation axis
axis 3 - left throttle axis
axis 2 - y axis
axis 1 - x axis

I suggest testing Axis 4 if Axis 3 did not work.
Good Luck!
the dial is on on a +1 to -1 scale, same as the motors, theoretically you could use them to control motors, on the joystick there should be a plus and minus im not sure if its up of down is -1 but i think its up
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2012, 22:55
enrique's Avatar
enrique enrique is offline
Registered User
FRC #1251 (Tech Tigers)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Florida
Posts: 87
enrique will become famous soon enough
Send a message via Yahoo to enrique
Re: KOP Joystick

m_LeftStick->GetThrottle()

m_Roller->Set(m_LeftCoDriverStick->GetThrottle());
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2012, 18:53
dmitch's Avatar
dmitch dmitch is offline
Chief Head Electrical Guy
AKA: Daniel Mitchell
FRC #1997 (Stag Robotics)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Bishop Miege High School
Posts: 142
dmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the rough
Re: KOP Joystick

Alright, thanks. We got it to work with axis 3, we had it outside of the If (IsOperatorControl) statement earlier...(oops)
__________________
Reply With Quote
Reply


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


All times are GMT -5. The time now is 03:01.

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