Go to Post As engineers we should aspire to create, not destroy. If this is the case, why would we want to create machines with the sole purpose to destroy? - WakeZero [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 24-01-2015, 15:47
PaulEleven PaulEleven is offline
Registered User
FRC #5633 (Hyde Phoenix Robotix)
Team Role: CAD
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Bath, Maine
Posts: 26
PaulEleven is an unknown quantity at this point
Problem with KitBot: Motors move at different speeds

Hi y'all,
So we just loaded up an arcade drive program onto the kitbot, the programming is correct and right now when the bot moves forward, the right side spins faster, when it goes backwards the left side moves faster. We thought it might have been the tension between the two plates and we loosened the bolts, but it is still doing this.
The motor controllers are paired up with y cables so we only have a left and right output.
Could it be possible that somehow the cims move faster in one direction comparing to the other?
  #2   Spotlight this post!  
Unread 24-01-2015, 16:48
dradel's Avatar
dradel dradel is offline
Registered User
FRC #4557 (Full Metal Falcons)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: CT
Posts: 404
dradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to behold
Have you tried calibrating the speed controllers?
  #3   Spotlight this post!  
Unread 24-01-2015, 17:04
mastachyra's Avatar
mastachyra mastachyra is offline
Registered User
FRC #2781 (RoboPride)
Team Role: Mentor
 
Join Date: Nov 2014
Rookie Year: 2013
Location: Illinois
Posts: 232
mastachyra is just really nicemastachyra is just really nicemastachyra is just really nicemastachyra is just really nice
Re: Problem with KitBot: Motors move at different speeds

We are having the same problem. We found that one of our motors had a bad connection. Check the voltage on both sides of your motor controllers while the motors are running.
  #4   Spotlight this post!  
Unread 24-01-2015, 19:54
Sohaib's Avatar
Sohaib Sohaib is offline
Registered User
AKA: Sohaib Nadeem
FRC #5036 (The Robo Devils)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Toronto, Ontario
Posts: 130
Sohaib is a glorious beacon of lightSohaib is a glorious beacon of lightSohaib is a glorious beacon of lightSohaib is a glorious beacon of lightSohaib is a glorious beacon of light
Re: Problem with KitBot: Motors move at different speeds

We had a problem with speed controllers malfunctioning last year. Drive the robot forward at full speed (and assuming your using the kit Talon SR Motor Controllers) the light should be solid green when moving forward at full speed. Do this on blocks so you can observe the lights easier. If you have one of the lights on the motor controllers for the left side are different from the rest, your problem is either a connection, or the motor controller itself.
__________________

2014 Season:
- Drive Coach
- Rookie All-Star Award (GTR-E)
2015 Season:
- Driver
- Deans List Semi-Finalist (GTR-E)
2016 Season:
- Driver
- Alliance Captain (GTR-E)
  #5   Spotlight this post!  
Unread 24-01-2015, 21:55
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,112
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: Problem with KitBot: Motors move at different speeds

You can do some troubleshooting by only powering one of the motors on each side at a time. Remove the circuit breaker from the power going to the other one. See if one of the motors is turning slower with a given throttle command.

The advice to calibrate the speed controllers is good.
  #6   Spotlight this post!  
Unread 24-01-2015, 22:24
GeeTwo's Avatar
GeeTwo GeeTwo is online now
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,598
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Problem with KitBot: Motors move at different speeds

Quote:
Originally Posted by PaulEleven View Post
Hi y'all,
So we just loaded up an arcade drive program onto the kitbot, the programming is correct and right now when the bot moves forward, the right side spins faster, when it goes backwards the left side moves faster. We thought it might have been the tension between the two plates and we loosened the bolts, but it is still doing this.
The motor controllers are paired up with y cables so we only have a left and right output.
Could it be possible that somehow the cims move faster in one direction comparing to the other?
If none of the other things mentioned help (and I expect that they will; all seem more likely than any of these), I have to wonder if somehow there's a drag or misalignment that makes things want to rotate to the left.

The KOP shouldn't have this issue, but the easiest way I can imagine this sort of behavior is if the four wheels that are supposed to make contact with the carpet at any given time aren't in the same plane. Go forward: it'll rock back, put weight right, and you'll get traction on the right. Go back, it'll rock forward, and you'll get traction on the left. I suppose this effect could also be caused by a saddle-shaped floor.


It probably won't make a difference if you're using the KOP wheels that are exactly in the same line, but as we've swapped out for omni dualies, we were careful to make sure that both outboard belts were on one side (rear) and both inboard belts on the other (front) to avoid anything peculiar. Also check that the opposite faces of the chassis are the same length and that the frame corners are square. An off-center COG shouldn't cause behavior like this, but it's worth checking if you're still trying things at this point.
  #7   Spotlight this post!  
Unread 25-01-2015, 00:30
PaulEleven PaulEleven is offline
Registered User
FRC #5633 (Hyde Phoenix Robotix)
Team Role: CAD
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Bath, Maine
Posts: 26
PaulEleven is an unknown quantity at this point
The problem is more obvious when it's propped up on blocks, when its throttle forward the right motor starts moving first and moves faster, throttle backwards the left one moves first and faster.... All motor controllers are with good connection and in sync, will try changing them up one by one.
  #8   Spotlight this post!  
Unread 25-01-2015, 14:32
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,112
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: Problem with KitBot: Motors move at different speeds

What kind of speed controllers are you using? With factory calibration, Talons and Jaguars don't have the same neutral point. If your code isn't set up for the proper one you will get the offset effect you are seeing.

Have you calibrated your speed controllers yet? Do that before you try anything else.
  #9   Spotlight this post!  
Unread 25-01-2015, 21:07
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,507
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Problem with KitBot: Motors move at different speeds

And are you using all the same speed controllers? Last year someone wired all of one side with Victor 884s and the other with 888s. They respond differently to inputs (the 888 is more linear), so the robot veered until the electrical people were enlightened.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #10   Spotlight this post!  
Unread 25-01-2015, 23:26
PaulEleven PaulEleven is offline
Registered User
FRC #5633 (Hyde Phoenix Robotix)
Team Role: CAD
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Bath, Maine
Posts: 26
PaulEleven is an unknown quantity at this point
They are all brand new talons in the KOP, however we haven't calibrated them...... Or learned how to.......
  #11   Spotlight this post!  
Unread 25-01-2015, 23:34
BobbyVanNess's Avatar
BobbyVanNess BobbyVanNess is offline
Registered User
AKA: Bobby Van Ness
FRC #0020 (The Rocketeers)
Team Role: College Student
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Clifton Park
Posts: 116
BobbyVanNess is a glorious beacon of lightBobbyVanNess is a glorious beacon of lightBobbyVanNess is a glorious beacon of lightBobbyVanNess is a glorious beacon of lightBobbyVanNess is a glorious beacon of lightBobbyVanNess is a glorious beacon of light
Re: Problem with KitBot: Motors move at different speeds

Quote:
Originally Posted by PaulEleven View Post
They are all brand new talons in the KOP, however we haven't calibrated them...... Or learned how to.......
From the Talon manual:

Quote:
Calibration
The calibration procedure takes the minimum, maximum and center
values of the PWM input signal and scales the output based on these
values. Calibrating the Talon will allow full range of control with PWM
signals that are not within the default range. Calibrating will also
correct any non-center issues with input devices such as gamepads
or joysticks.
To calibrate the Talon:
1. Press and hold the button labeled “CAL” with a paper clip. The
LED should begin to blink red/green.
2. Continue to keep the button pressed while moving the joystick
full forward and full reverse. You may do this as many times as
you like.
3. Center the joystick and then release the CAL button.
4. If calibration was successful, the LED will blink green several
times. If the LED blinks red several times, the calibration was
not valid. If this happens, the Talon will use the last valid
calibration values.
All calibration values are retained after power cycle or reset.
Found that here. Hope that helps.
__________________
2016 TVR Finalists, FLR Champions, Carver Sub-Division
2015 TVR Finalists, Carson Sub-Division Champions, IRI
2014 TVR Champions, FLR Champions, Archimedes Division, IRI
2013 WPI Regional Finalist, Connecticut Regional Champion, Archimedes Division, IRI
2013 Championship and IRI Talent Show winner

2013 - 2014 Driver: 82-43
Lead Strategy Mentor: 32-15
  #12   Spotlight this post!  
Unread 25-01-2015, 23:40
GeeTwo's Avatar
GeeTwo GeeTwo is online now
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,598
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Problem with KitBot: Motors move at different speeds

Quote:
Originally Posted by PaulEleven View Post
The problem is more obvious when it's propped up on blocks
In that case, ignore my previous post this thread; it was based on possibly uneven loading.
  #13   Spotlight this post!  
Unread 26-01-2015, 07:49
PaulEleven PaulEleven is offline
Registered User
FRC #5633 (Hyde Phoenix Robotix)
Team Role: CAD
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Bath, Maine
Posts: 26
PaulEleven is an unknown quantity at this point
Quote:
Originally Posted by bobby5150 View Post
From the Talon manual:







Found that here. Hope that helps.

Thanks!!!!! We'll do that today!!
  #14   Spotlight this post!  
Unread 26-01-2015, 09:36
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,112
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: Problem with KitBot: Motors move at different speeds

Before you calibrate your Talons, make sure your program is telling the roboRIO to send Talon-compatible signals. What programming language are you using? How are you defining your drive motors?
  #15   Spotlight this post!  
Unread 26-01-2015, 12:54
PaulEleven PaulEleven is offline
Registered User
FRC #5633 (Hyde Phoenix Robotix)
Team Role: CAD
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Bath, Maine
Posts: 26
PaulEleven is an unknown quantity at this point
Re: Problem with KitBot: Motors move at different speeds

Quote:
Originally Posted by Alan Anderson View Post
Before you calibrate your Talons, make sure your program is telling the roboRIO to send Talon-compatible signals. What programming language are you using? How are you defining your drive motors?
We're using Java and are importing the WPILib's Talon package, we've paired up the talons for each side with Y cable so ultimately we only have two PWM outputs.
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


All times are GMT -5. The time now is 14: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