Go to Post Is it legal to build 2 robots? yes. Is it crazy to do so? maybe. - Andy Baker [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-03-2016, 21:24
logank013's Avatar
logank013 logank013 is offline
System.out.println("Ready!");
AKA: Logan Kreisher
FRC #0234 (Cyber Blue)
Team Role: Scout
 
Join Date: Apr 2015
Rookie Year: 2015
Location: Indianapolis, IN
Posts: 697
logank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant future
Re: Extreme curve?

Disclaimer: Not on the manufacturing team.

But check the code. Is one side driving faster than the other in the code? If so, try boosting the left side to 80% and the right side to 70%. Just adjust so the system drives straight, even if the code says it shouldn't (straight might be left 90% and right 60%. idk, robots do odd things.

Also, by some odd chance, does your left side have a higher gear reduction? could your gear boxes have been built just different enough?
__________________
Cyber Blue Season 2015
IN Indy District Chairman's Award Winner | IN Kokomo District Event Winner (With 135 and 3865)
IN Purdue District Event Winner (With 1024 and 2197) | IN District Championship Winner (With 1024 and 292)
WORLDS:
Archimedes Rank 3 After Quals. | Alliance #3 Captain
Archimedes Division Semi-Finalist (With 503,188, and 836)

Scouting is life. Excel is friend, not foe.
  #2   Spotlight this post!  
Unread 01-03-2016, 23:00
MetaEngineer's Avatar
MetaEngineer MetaEngineer is offline
Director of magic smoke
AKA: Barden
FRC #0246
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2010
Location: Boston, MA
Posts: 22
MetaEngineer is an unknown quantity at this point
Re: Extreme curve?

The number of parts in a typical FRC drivetrain can make for a noticeable variation in the speeds of drive units. When run open loop, the drivetrain on our bot this year has one side a few percent faster than the other which made it curve.

Certainly calibrate all motor controllers and double check connections first. You may be able to tweak your drive train for better consistency and find a balance of motor power settings that goes approximately straight, but the real solution is using some form of feedback. A combination of wheel speed encoders and/or a gyro lets the roborio make adjustments on the fly. However this can take a fair bit of time to get coded and tuned in properly.
  #3   Spotlight this post!  
Unread 02-03-2016, 00:37
wsh32's Avatar
wsh32 wsh32 is offline
The Nerdiest of the Nerd Herd
AKA: Wesley Soo-Hoo
FRC #0687 (The Nerd Herd)
Team Role: Leadership
 
Join Date: Sep 2014
Rookie Year: 2014
Location: SoCal
Posts: 16
wsh32 is on a distinguished road
Re: Extreme curve?

If you do have the time, I would advise using the gryo to make a feedback loop to keep the robot going straight. If tuned properly, that should make the drivebase drive straight regardless of any mechanical issues.
  #4   Spotlight this post!  
Unread 02-03-2016, 01:57
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 802
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Extreme curve?

Quote:
Originally Posted by logank013 View Post
Disclaimer: Not on the manufacturing team.

But check the code. Is one side driving faster than the other in the code? If so, try boosting the left side to 80% and the right side to 70%. Just adjust so the system drives straight, even if the code says it shouldn't (straight might be left 90% and right 60%. idk, robots do odd things.
Not to pick on you directly, but this is a convenient quote.

I'd caution against ignoring the issue or papering over it, and instead start to look for the root cause. If the issue is that a motor isn't plugged in when you thought it was, or the speed controller was disconnected or a mechanical issue, fixing it in code will make it look like everything works when it doesn't.

The current suggestion is a good one. After that, I'd try isolating the issue. Feel each of the sides of your drivetrain and try to see if one side has more resistance than the other. Try unplugging all but 1 motor per side and see how it performs. Do that for each of the motors on a side. Try controlled experiments to see if you can discover where the problem is.
  #5   Spotlight this post!  
Unread 02-03-2016, 11:11
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Extreme curve?

Quote:
Originally Posted by AustinSchuh View Post
I'd caution against ignoring the issue or papering over it, and instead start to look for the root cause... Try controlled experiments to see if you can discover where the problem is.
This needs to be shouted from the rooftops.


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 00:50.

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