Go to Post It really is up to us to stand up for these principles so when we sell it to the general public we're not just feeding them some line because if we don't believe it, why should they? - Koko Ed [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 08-02-2006, 21:52
comwiz7's Avatar
comwiz7 comwiz7 is offline
Registered User
AKA: Joey
FRC #1323 (Madtown Robotics 1323)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Madera
Posts: 66
comwiz7 will become famous soon enoughcomwiz7 will become famous soon enough
Send a message via MSN to comwiz7
HELP!!! Calibrating Victors

We are in dire need of some help regarding the calibration of the victors. We have them attached to one of the CIM motors we will be using in the KIT transmission. We pulled the motor out of the transmission so it doesn't conflict with the other motor.
When we go through the calibration process we get an unsuccessful (red light blinking) calibration each time. We have tried to reset the victors to factory calibration but we have the same problem. We also can't seem to find the dead zone on the joystick.
  #2   Spotlight this post!  
Unread 08-02-2006, 22:38
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 441
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Advance Calibrating

Quote:
Originally Posted by comwiz7
We are in dire need of some help regarding the calibration of the victors. We have them attached to one of the CIM motors we will be using in the KIT transmission. We pulled the motor out of the transmission so it doesn't conflict with the other motor.
When we go through the calibration process we get an unsuccessful (red light blinking) calibration each time. We have tried to reset the victors to factory calibration but we have the same problem. We also can't seem to find the dead zone on the joystick.
I deal with this on daily basis now during the season.

1. Download the FRC Dashboard Viewer www.ifirobotics.com/dashboard_viewer.shtml

2. Use the Dashboard Program to physically calibrate the Joysticks to 127 (Center).. try to keep it from moving to 126 to 128. if u cant its ok as long as it hits 127 at some point. this read out will tell you when your joysticks are actually centered. Be aware that the joysticks from FIRST (White ones) almost never center on their own.

3. Make sure your Victors are fully complimented with the corresponding programming, Correct Pwm ports to correct Joysticks, and all power cables to each victor.

4. ideally a two man Job, With everything on get a small pin to reach the pushdown button and press the victor calibrate button and hold it down. IMPORTANT!!! do not move the Joysticks at all before or during the act of Pressing the Calibrate Button. Press the Button and once the LED flashes around tell the guy at the joysticks to move all the way up and all the way down about 3-4 times (doesn't really matter) tell him when to stop and until he is centered again you finally let go and hopefully you will get green.

5. Doing it in order and observantly will increase the chances of calibrating correctly

Hope it helps
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain

Last edited by SpaceOsc : 09-02-2006 at 00:29.
  #3   Spotlight this post!  
Unread 08-02-2006, 23:16
comwiz7's Avatar
comwiz7 comwiz7 is offline
Registered User
AKA: Joey
FRC #1323 (Madtown Robotics 1323)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Madera
Posts: 66
comwiz7 will become famous soon enoughcomwiz7 will become famous soon enough
Send a message via MSN to comwiz7
Re: HELP!!! Calibrating Victors

Thanks for the tips! I'm going to try your suggestions tomorrow first thing.
  #4   Spotlight this post!  
Unread 08-02-2006, 23:32
sparkydp sparkydp is offline
Registered User
AKA: David Page
FRC #0435 (Robodogs)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2002
Location: Raleigh, NC
Posts: 32
sparkydp is on a distinguished road
Re: HELP!!! Calibrating Victors

another thing to check is if you're using a joystick that has manual sliders on the side for calibration, if those are too far out of alignment, the victor won't get a full range of values. It's sometimes to handy to have the RC just printout the pos(x,y) of the joystick so you can make sure it travels from 0 to 254 in both axis.
  #5   Spotlight this post!  
Unread 09-02-2006, 07:57
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: HELP!!! Calibrating Victors

Com,
There is no real reason to pull motors to calibrate. Just remove the breakers for the other motors during the procedure. It is also possible your PWM cable may be intermittant. Try changing it, they have been known to be bad in the past.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #6   Spotlight this post!  
Unread 09-02-2006, 09:14
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
Re: HELP!!! Calibrating Victors

I see the general concensus seems to be that one should calibrate the victors by pushing a joystick to the extremes. Wouldn't it be better to send pure 255 and 0 signals in code?
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #7   Spotlight this post!  
Unread 09-02-2006, 09:18
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: HELP!!! Calibrating Victors

Quote:
Originally Posted by phrontist
I see the general concensus seems to be that one should calibrate the victors by pushing a joystick to the extremes. Wouldn't it be better to send pure 255 and 0 signals in code?
That would be fine if your joystick to A/D interface were perfect. In this case you are telling the speed controller "no matter what you think or what someone else told you, this is full forward and this is full reverse and this is me letting go of the joystick, now remember that and we will be fine."
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 09-02-2006, 10:07
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: HELP!!! Calibrating Victors

Quote:
Originally Posted by phrontist
I see the general concensus seems to be that one should calibrate the victors by pushing a joystick to the extremes. Wouldn't it be better to send pure 255 and 0 signals in code?
254. Not 255. Get in the habit of considering 255 an illegal value for both joystick input and pwm control.

If you're going to "calibrate" a Victor by sending it full-scale signals, you're not really calibrating it to your operator inputs. You'd have an easier time resetting it to its default calibration, and you'd still want to be accommodating the range of values you get from your joysticks in some other way.
  #9   Spotlight this post!  
Unread 09-02-2006, 10:17
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Advance Calibrating

Quote:
Originally Posted by SpaceOsc
I deal with this on daily basis now during the season.
3. Make sure your Victors are fully complimented with the corresponding programming, Correct Pwm ports to correct Joysticks, and all power cables to each victor.
Note that since many teams do a lot of code between the joysticks and the victors (deadbands, scaling factors, etc), it's worth writing a program for your bot that does nothing but calibrate the Victors. Our team wrote one that automatically ramps all the pwm outputs between 0 and 254 unless a joystick button is pressed, at which point it drives all the pwms to 127. Very useful for calibrating.

Of course, if you didn't do anything to the Victors in the first place, they won't need this.

And if you are directly tying your operator inputs to the Victors, then the listed procedure with the joystick is defintely the way to go.
  #10   Spotlight this post!  
Unread 09-02-2006, 13:19
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,576
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Advance Calibrating

Quote:
Originally Posted by kaszeta
Note that since many teams do a lot of code between the joysticks and the victors (deadbands, scaling factors, etc), it's worth writing a program for your bot that does nothing but calibrate the Victors. Our team wrote one that automatically ramps all the pwm outputs between 0 and 254 unless a joystick button is pressed, at which point it drives all the pwms to 127. Very useful for calibrating.
What's the purpose of doing that compared to reseting to factory calibration?
  #11   Spotlight this post!  
Unread 09-02-2006, 14:20
sparkydp sparkydp is offline
Registered User
AKA: David Page
FRC #0435 (Robodogs)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2002
Location: Raleigh, NC
Posts: 32
sparkydp is on a distinguished road
Re: HELP!!! Calibrating Victors

the biggest reason to calibrate is to take into account the imperfection of your joystick, using the code to calibrate will make sure the victors accomodate the whole range of values, but then there is no guarantee that you're sending that to them using your input from the joystick.
  #12   Spotlight this post!  
Unread 10-02-2006, 12:15
comwiz7's Avatar
comwiz7 comwiz7 is offline
Registered User
AKA: Joey
FRC #1323 (Madtown Robotics 1323)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Madera
Posts: 66
comwiz7 will become famous soon enoughcomwiz7 will become famous soon enough
Send a message via MSN to comwiz7
Re: HELP!!! Calibrating Victors

Thanks everybody for your tips. The dashboard program really helped us a lot, I can't believe I didn't already know about it.
  #13   Spotlight this post!  
Unread 10-02-2006, 16:51
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 441
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Re: HELP!!! Calibrating Victors

Quote:
Originally Posted by comwiz7
Thanks everybody for your tips. The dashboard program really helped us a lot, I can't believe I didn't already know about it.
So it all worked out? Glad to hear it
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain
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
Blown Victors - WHY? wmurphy Control System 18 05-02-2005 18:31
24Vs and victors greencactus3 Control System 13 05-02-2005 14:22
Calibrating Victors SpaceOsc Control System 27 19-11-2004 07:59
Flakey Victors archiver 1999 4 23-06-2002 21:58
DON'T Recalibrate Victors! Joe Johnson Off-Season Events 0 12-11-2001 22:58


All times are GMT -5. The time now is 05:38.

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