Go to Post I'm here to unintentionally offer insightful quotes. - Jeff Waegelin [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-04-2005, 21:47
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Joysticks

Where do you get the joysticks from the old kit of parts, i dont kno if they are in the new ones, they are the black ones with red buttons that i am looking for, if you have any please tell me
  #2   Spotlight this post!  
Unread 26-04-2005, 21:54
henryBsick's Avatar
henryBsick henryBsick is offline
Why wait for the last 20?
AKA: Henry B. Sick
FRC #0125 (NUTRONS)
Team Role: Mentor
 
Join Date: Nov 2003
Rookie Year: 2001
Location: Bahston, MA
Posts: 645
henryBsick has a reputation beyond reputehenryBsick has a reputation beyond reputehenryBsick has a reputation beyond reputehenryBsick has a reputation beyond reputehenryBsick has a reputation beyond reputehenryBsick has a reputation beyond reputehenryBsick has a reputation beyond reputehenryBsick has a reputation beyond reputehenryBsick has a reputation beyond reputehenryBsick has a reputation beyond reputehenryBsick has a reputation beyond repute
Send a message via AIM to henryBsick
Re: Joysticks

Quote:
Originally Posted by sparksandtabs
Where do you get the joysticks from the old kit of parts, i dont kno if they are in the new ones, they are the black ones with red buttons that i am looking for, if you have any please tell me
They don't make them anymore, 222 pirated them off of old controll systems and replaced them with white sticks.
__________________
Mechanical Engineer
Digital Lumens
NU ME: 2011
  #3   Spotlight this post!  
Unread 26-04-2005, 22:56
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,516
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Joysticks

They are just the old serial CH Flightstick joysticks. The only place I know of where you can ocassionally get one is eBay. I know, those things were and forever will be the best. Here's one on there now http://cgi.ebay.com/ws/eBayISAPI.dll...sPageName=WDVW
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #4   Spotlight this post!  
Unread 28-04-2005, 18:47
sven sven is offline
Registered User
#0060
 
Join Date: Jan 2005
Location: Kingman
Posts: 19
sven will become famous soon enoughsven will become famous soon enough
Re: Joysticks

http://cgi.ebay.com/ws/eBayISAPI.dll... 252&tc=photo

My team used some of these joysticks this year. They seemed to work ok, but our programer said their range was not as much as it should be. He had to put a thing in the program to get them to work all the way.
  #5   Spotlight this post!  
Unread 28-04-2005, 21:09
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,015
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: Joysticks

Sven-

Most (older) joysticks won't reach full range on the pots. This is just part of the nature of joysticks, even the trusty CH flightstick wouldn't quite get full range.

The work around is to calibrate your Victors to each joystick. The process is pretty simple, and can do wonders for drivabilty. Basically what happens is that the victor looks at the outputs from the joystick as you move it from physical stop to stop, and then scales its (the victors) outputs to match. It accomplishes the same thing that your programmer may have done, but in a much simpler manner.

Ask your programmer if he is familiar with the practice. If he isn't, ask about it here and the whole calibrate/don't calibrate debate can resurface.

-Andy A>
  #6   Spotlight this post!  
Unread 29-04-2005, 00:14
sven sven is offline
Registered User
#0060
 
Join Date: Jan 2005
Location: Kingman
Posts: 19
sven will become famous soon enoughsven will become famous soon enough
Re: Joysticks

I thought so, but he decided to do that. Maby I should take the time and learn alittle C

Thanks.
  #7   Spotlight this post!  
Unread 29-04-2005, 22:48
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,015
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: Joysticks

Sven-

The wonderful thing about victors is that they are just plain wonderful.

Calibrating a victor requires no programming at all. It's done in hardware. All you do is depress a switch built into the victor and run the joystick through its limits. The data is stored right on the victor, and the RC never knows any better.

Interestingly, I've used this feature a lot. A friend and I have used victors as speed controllers in some RC cars we've retrofit with updated components. Since R/C radio systems have a completely different range of PWM signal, the factory set calibration is way off (a neutral signal from the RC gear is about 1/3 reverse on the factory set calibration). With out the ability to calibrate the victor, they would be useless in any setting that was specifically designed for them (like FIRST).

-Andy A.
  #8   Spotlight this post!  
Unread 30-04-2005, 15:58
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Joysticks

Quote:
Originally Posted by sven
I thought so, but he decided to do that. Maby I should take the time and learn alittle C

Thanks.
Sven,
This is such a prevalent misconception, I included it in my mythbuster presentation on robot electrical. Everyone needs to understand that the speed controllers are not calibrated when you receive them. If they were you would get matched controllers and joysticks and would be instructed as to which controller you must use for each joystick axis.

ALWAYS CALIBRATE SPEED CONTROLLERS. RECALIBRATE ANYTIME YOU CHANGE CONTROLLERS OR JOYSTICKS.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #9   Spotlight this post!  
Unread 03-05-2005, 17:19
Mike Soukup's Avatar
Mike Soukup Mike Soukup is offline
Software guy
FRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Schaumburg, IL
Posts: 797
Mike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond repute
Re: Joysticks

Quote:
Originally Posted by Andy A.
The work around is to calibrate your Victors to each joystick. The process is pretty simple, and can do wonders for drivabilty. Basically what happens is that the victor looks at the outputs from the joystick as you move it from physical stop to stop, and then scales its (the victors) outputs to match. It accomplishes the same thing that your programmer may have done, but in a much simpler manner.
No, the workaround is as Sven stated, fix the range in software. All you need to do is determine the min & max values of each joystick axis and create a function that linearly maps the smaller joystick range to the full 0-254 range. Just make sure you have two mapping functions, one for below 127 and one for above. Then calibrate your speed controllers for the full 0-254 range. We've been using this method for at least 3 years.

The reason to fix this in software instead of the speed controller is in the cases of autonomous or feedback control. If the speed controllers that handle your arm joint are calibrated for a smaller range of 30-245 (typical values I've seen for the y-axis) then your feedback code is only effective over that range. Any numbers outside the range will not make the arm drive faster, and if your feedback routine wants to drive the arm slightly slower than full reverse (say a pwm value of 20) it will still be going full reverse.
  #10   Spotlight this post!  
Unread 03-05-2005, 17:55
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,369
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Joysticks

Quote:
Originally Posted by Mike Soukup
No, the workaround is as Sven stated, fix the range in software. All you need to do is determine the min & max values of each joystick axis and create a function that linearly maps the smaller joystick range to the full 0-254 range. Just make sure you have two mapping functions, one for below 127 and one for above. Then calibrate your speed controllers for the full 0-254 range. We've been using this method for at least 3 years.
I've often wondered how I could linearize a range of values to another range of values, such as 137-235 linearized to 137-254. But, not being a software guru, yet, I am not certain how to do this without several "if, if else, else" statements turning the output into a multi stepped scale. Something like:
if (P2y > 135 && P2Y <= 145)
PWM02 = 140
if else (P2Y > 145 && P2y <= 155)
PWM02 =150
etc. etc. etc.

As you can see, not too smooth a response. So the question is, what code would you use to linearly map one range to another?
  #11   Spotlight this post!  
Unread 04-05-2005, 01:39
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Joysticks

Quote:
Originally Posted by billbo911
I've often wondered how I could linearize a range of values to another range of values, such as 137-235 linearized to 137-254...So the question is, what code would you use to linearly map one range to another?
Use the equation for a line, y = mx + b.
Take the input value x, multiply it by a factor m, and add an offset b to yield the output value y. The factor can be a floating point value, or to save time you can multiply by an integer and divide by another integer.
To determine the m and b constants, use algebra to solve the pair of equations for the known input and output values.
  #12   Spotlight this post!  
Unread 04-05-2005, 10:15
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,369
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Joysticks

Quote:
Originally Posted by Alan Anderson
Use the equation for a line, y = mx + b.
Take the input value x, multiply it by a factor m, and add an offset b to yield the output value y. The factor can be a floating point value, or to save time you can multiply by an integer and divide by another integer.
To determine the m and b constants, use algebra to solve the pair of equations for the known input and output values.

Thank You Alan

I knew it would be a relatively simple solution.
My years removed from Algebra are many, too many in fact, so some portions of my memory need a little refresh. This will help tremendously.
Closed Thread


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
2004-2005 Joysticks kjohnson Control System 3 11-04-2005 23:39
Pressure sensative Joysticks Validius General Forum 1 15-03-2005 13:59
number of joysticks Waste General Forum 21 27-01-2005 15:04
need joysticks! Tom Bottiglieri General Forum 14 24-02-2004 09:36
AVB joysticks..and other analogue joysticks tml240 Kit & Additional Hardware 6 07-02-2004 12:45


All times are GMT -5. The time now is 06:02.

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