Go to Post This is going to be leet. Or something like that. I can't wait. - Billfred [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 24-01-2011, 23:10
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Wheels spinning at different speeds program or electrical error?

Well our team has strafing working somewhat. The problem is that two wheels are spinning slower than the other two. For example if I push left (to strafe left) on the joystick the back left and front right wheels will spin slower than the other two. Then the opposite happens when pushed to the right. We took a voltmeter to the jaguars to see how much power they are getting when given the command. It read around 2 volts (yikes) so something is definitely up. When reading on the driver station the pwms to the jaguars show me that two are getting less than the other two. I don't know what else to list then, but here's the code we are using (except I changed from two joysticks to one logitech 3d). Oh and ignore that it says gyro dawg. Thanks for the help in advance.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	69
Size:	13.3 KB
ID:	9818  
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2011, 23:15
Grim Tuesday's Avatar
Grim Tuesday Grim Tuesday is offline
Registered User
AKA: Simon Bohn
FRC #0639 (Code Red)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Baltimore MD (JHU)
Posts: 1,606
Grim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond repute
Re: Wheels spinning at different speeds program or electrical error?

Do you have encoders on your gearboxes, or are they running in an open loop?
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2011, 23:16
Hawiian Cadder's Avatar
Hawiian Cadder Hawiian Cadder is offline
Registered User
AKA: Isaak
FRC #0159 (Alpine Robotics)
Team Role: CAD
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Fort Colins Colorado
Posts: 573
Hawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to all
Re: Wheels spinning at different speeds program or electrical error?

the cims are biased in one direction.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2011, 23:18
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: Wheels spinning at different speeds program or electrical error?

Quote:
Originally Posted by Grim Tuesday View Post
Do you have encoders on your gearboxes, or are they running in an open loop?
No encoders we only have 1 with a mount so I haven't programmed for them cause we can't mount them

Quote:
Originally Posted by Hawiian Cadder View Post
the cims are biased in one direction.
It seemed to work just fine when rotating and going back and forth with a slight curve though
Reply With Quote
  #5   Spotlight this post!  
Unread 24-01-2011, 23:24
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,721
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Wheels spinning at different speeds program or electrical error?

Quote:
Originally Posted by Hawiian Cadder View Post
the cims are biased in one direction.
This is false.

Recalibrate your Victors.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #6   Spotlight this post!  
Unread 24-01-2011, 23:33
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Wheels spinning at different speeds program or electrical error?

Quote:
Originally Posted by DFZXA View Post
Well our team has strafing working somewhat. The problem is that two wheels are spinning slower than the other two. For example if I push left (to strafe left) on the joystick the back left and front right wheels will spin slower than the other two. Then the opposite happens when pushed to the right. We took a voltmeter to the jaguars to see how much power they are getting when given the command. It read around 2 volts (yikes) so something is definitely up. When reading on the driver station the pwms to the jaguars show me that two are getting less than the other two. I don't know what else to list then, but here's the code we are using (except I changed from two joysticks to one logitech 3d). Oh and ignore that it says gyro dawg. Thanks for the help in advance.
You have a couple clues.

2 volts on a jaguar output side? If the PWM's are showing different values, then they are telling the jag's to act differently. That also means that it's likely your controller is sending different values.

First, create 2 numeric controls in labview and hook THOSE up to your drive. See if you can get all full-speed values that way. I suspect you will be able to, and that this will point back at one of two things - you may not be calling out the axis' correctly on your new controller, or it may not be acting the way you expect.

Try going back to the logitech attacks and see if they function correctly. Remember - methodically narrow your problem down to one component: then you have the solution to your problem.
Reply With Quote
  #7   Spotlight this post!  
Unread 24-01-2011, 23:45
Hawiian Cadder's Avatar
Hawiian Cadder Hawiian Cadder is offline
Registered User
AKA: Isaak
FRC #0159 (Alpine Robotics)
Team Role: CAD
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Fort Colins Colorado
Posts: 573
Hawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to all
Re: Wheels spinning at different speeds program or electrical error?

well, it depends, brand new fresh cims have no bias, but after a year they are about 3% or something and after two they have like 7% difference between forward and reverse.
Reply With Quote
  #8   Spotlight this post!  
Unread 24-01-2011, 23:48
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,721
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Wheels spinning at different speeds program or electrical error?

Quote:
Originally Posted by Hawiian Cadder View Post
well, it depends, brand new fresh cims have no bias, but after a year they are about 3% or something and after two they have like 7% difference between forward and reverse.
What would cause that?
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #9   Spotlight this post!  
Unread 24-01-2011, 23:55
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: Wheels spinning at different speeds program or electrical error?

Yeah the wheels spin at full speed, but can't check the logitechs until school. Would an encoder even help? That would just read me how fast something is rotating wouldn't it? Also we have had our cims for two years I have never heard of them being biased. Otherwise if it is the joysticks is there some calibration on them?

Edit: Oh now that I think about it I think the pwms were reading higher than what the voltmeter said I don't remember, but the difference between the fast ones and slow ones was like 2 or something. I could tell a difference in the bars, but I don't think it was very drastic. Again I'll have to wait until tomorrow.

Last edited by DFZXA : 24-01-2011 at 23:58.
Reply With Quote
  #10   Spotlight this post!  
Unread 24-01-2011, 23:59
Hawiian Cadder's Avatar
Hawiian Cadder Hawiian Cadder is offline
Registered User
AKA: Isaak
FRC #0159 (Alpine Robotics)
Team Role: CAD
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Fort Colins Colorado
Posts: 573
Hawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to all
Re: Wheels spinning at different speeds program or electrical error?

Quote:
Originally Posted by Chris is me View Post
What would cause that?

as they are used the rotor magnetizes, thus they gain a bias in which ever direction they are used the least.
Reply With Quote
  #11   Spotlight this post!  
Unread 25-01-2011, 00:04
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: Wheels spinning at different speeds program or electrical error?

Oh so I guess I have to check if I have anymore cims then. Hopefully we do or we're going to be behind.
Reply With Quote
  #12   Spotlight this post!  
Unread 25-01-2011, 00:11
Hawiian Cadder's Avatar
Hawiian Cadder Hawiian Cadder is offline
Registered User
AKA: Isaak
FRC #0159 (Alpine Robotics)
Team Role: CAD
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Fort Colins Colorado
Posts: 573
Hawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to all
Re: Wheels spinning at different speeds program or electrical error?

Quote:
Originally Posted by DFZXA View Post
Oh so I guess I have to check if I have anymore cims then. Hopefully we do or we're going to be behind.
a better idea is to find out which cims are a little slow, and then program the other ones to go a little bit slower in that direction, this is what my team did last year and it worked pretty good.
Reply With Quote
  #13   Spotlight this post!  
Unread 25-01-2011, 00:15
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: Wheels spinning at different speeds program or electrical error?

They seem to all be slow in a certain direction cause like I said when I push left the rear left and front right will go slow and when I push right the rear right and front left will go slow.
Reply With Quote
  #14   Spotlight this post!  
Unread 25-01-2011, 00:20
Hawiian Cadder's Avatar
Hawiian Cadder Hawiian Cadder is offline
Registered User
AKA: Isaak
FRC #0159 (Alpine Robotics)
Team Role: CAD
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Fort Colins Colorado
Posts: 573
Hawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to allHawiian Cadder is a name known to all
Re: Wheels spinning at different speeds program or electrical error?

Quote:
Originally Posted by DFZXA View Post
They seem to all be slow in a certain direction cause like I said when I push left the rear left and front right will go slow and when I push right the rear right and front left will go slow.
so find out which ones are slow and in what direction, and make them slow in the other direction too, so if motor 1 is 4 percent slow in counterclockwise, multiply all of its inputs clockwise by .96, then it will be the same both ways
Reply With Quote
  #15   Spotlight this post!  
Unread 25-01-2011, 00:29
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: Wheels spinning at different speeds program or electrical error?

Quote:
Originally Posted by Grim Tuesday View Post
Do you have encoders on your gearboxes, or are they running in an open loop?
I dunno what that means if you mean that in programming terms

Quote:
Originally Posted by Hawiian Cadder View Post
so find out which ones are slow and in what direction, and make them slow in the other direction too, so if motor 1 is 4 percent slow in counterclockwise, multiply all of its inputs clockwise by .96, then it will be the same both ways
Ok I'll try that too.
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 08:17.

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