Go to Post This was my freshman year, and I can't wait for next year! - Éowyn [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 30-12-2012, 11:46
Secretspy97 Secretspy97 is offline
Registered User
FRC #1126
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2009
Location: New York
Posts: 25
Secretspy97 is an unknown quantity at this point
Re: Programming for a Shifting Gearbox

We used shifting on our 2011 robot. Our drive train was a 6 wheel tank drive with omni-wheels in front. We mounted encoders on each-side which told us the speed of each side of the robot. If our encoders were saying that both side of the robot were above a certain speed (can't be turning) than we would shift up. If the encoders were going slower then another desired speed then we would shift down. One problem with shifting and using encoders is that shifting causes the robot to slow down briefly. This could cause the robot to isolate between low and high gear. To fix this problem you need two separate "if statements" to shift. (For example you shift up when going faster then 6 ft/second and shift down when going slower then 5 ft/second). Our second problem with shifting was that the gears didn't want to mesh when shifting at high speeds. We fixed this problem by setting both motors to 0 for 0.1 second before shifting.

Hope this helps!
__________________
WHAT TIME IS IT?
1126
 


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 22:45.

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