Go to Post But you are an influencer: Use it for good. - DonRotolo [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-02-2011, 23:51
davidalln's Avatar
davidalln davidalln is offline
World's Worst Coder
AKA: David Allen
FRC #2415 (The Westminster Wiredcats)
Team Role: Programmer
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Atlanta, GA
Posts: 108
davidalln is on a distinguished road
Send a message via AIM to davidalln
Re: Programming Supershifter?

I did a double take when looking at the title of this post... you should probably check your spelling
__________________
SANTOSH ANDREW DECKER RICK WYNNIE SEAN DEREK MATT
(alamo (semis), p'tree (CHAMPS!), nc (CHAMPS!), newton (quarters))


Best four years of my life. Thanks to everyone who made it happen.

Last edited by Kevin Watson : 18-02-2011 at 00:14. Reason: Bad typo in title.
  #2   Spotlight this post!  
Unread 18-02-2011, 00:16
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Programming Supershifter?

Quote:
Originally Posted by davidalln View Post
I did a double take when looking at the title of this post... you should probably check your spelling
Looks fine to me .
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #3   Spotlight this post!  
Unread 18-02-2011, 08:01
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Programming Supershifter?

1. First you need manual control. This means control of either the pneumatic piston or servo, and adapting it into a simple form of control for the software (e.g. an enumerated type or boolean, instead of a servo angle)

2. An automated shifter is not an easy thing to program. We are currently working on improving a previous algorithm, and it has lots and lots of logic in place to make it shift as nicely as possible. Our initial algorithm many years ago (it just shifted on the average of the abs of the speed, when it hit the shift point) had several issues and we didn't like it a whole lot.

3. If you just have a shift point, you will find issues in these cases:
Thrashing at part throttle (shifting up and down fairly fast)
Runaway when you don't expect it (it upshifts when maintaining a fairly constant low speed)
Decel lurch - If you are coasting to a stop and it shifts down, the shifters can release asynchronously and the robot can twist. This seems like it would be more likely with servos, but even with pneumatics it happens at mid speeds.

I will not tell you how to solve this problem. It is a very complex one, and with some thought, it is possible to design an algorithm to handle it. In my opinion, algorithm design is the best part of programming.

Don't forget: There is a very very large difference between making it work and making it work well.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #4   Spotlight this post!  
Unread 18-02-2011, 09:18
kramarczyk's Avatar
kramarczyk kramarczyk is offline
is getting his kicks.
AKA: Mark Kramarczyk
FRC #3096 (Highlanders)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Sterling Heights, MI
Posts: 602
kramarczyk has a reputation beyond reputekramarczyk has a reputation beyond reputekramarczyk has a reputation beyond reputekramarczyk has a reputation beyond reputekramarczyk has a reputation beyond reputekramarczyk has a reputation beyond reputekramarczyk has a reputation beyond reputekramarczyk has a reputation beyond reputekramarczyk has a reputation beyond reputekramarczyk has a reputation beyond reputekramarczyk has a reputation beyond repute
Re: Programming Supershifter?

You may want to consider giving the driver a way to lock out the high gear so they have an intermediate full throttle spped they can control.

Additionally, what is your system going to do when a wire on the encoders breaks or there is a pneumatic systems leak somewhere?
__________________
Mark

Brick walls are for other people. - Randy Pausch
  #5   Spotlight this post!  
Unread 18-02-2011, 10:09
MaxMax161's Avatar
MaxMax161 MaxMax161 is offline
Allegedly Useful
AKA: Max Llewellyn
FRC #2791 (Shaker Robotics), FRC #1676 (Pascack π-oneers)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Montvale NJ\Troy NY
Posts: 174
MaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond repute
Re: Programming Supershifter?

The way we do super shifters is pneumatics and a high gear/low gear button. So when the button is pressed they are in high gear and when it is not they are in low gear. It's really easy to program.

Our drivers like this because it gives them total control over the speed and pushing power of the bot. Also I'm no mechanical person but I would imagine their some times when you would want to shift in to high gear before accelerating so you accelerate faster, as opposed to waiting for 1st gear to reach it's full speed.

As for my personal opinion I would rather be a driver and have manual shifting that I can have now to practice with then to have automatic shifting later. That said even if time wasn't a factor I would still rather have manual shifting then automatic shifting.
__________________
2791 Shaker Robotics (2013-present)
--Control Systems Mentor 2013-present
--Drive coach 2015-present

1676 The Pascack π-oneers (2010-2013)
--Drive coach 2011-2013
--Lead Programmer 2011-2013
  #6   Spotlight this post!  
Unread 18-02-2011, 13:03
thefro526's Avatar
thefro526 thefro526 is offline
Mentor for Hire.
AKA: Dustin Benedict
no team (EWCP, MAR, FRC 708)
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2005
Location: New Jersey
Posts: 2,599
thefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond repute
Send a message via AIM to thefro526 Send a message via MSN to thefro526
Re: Programming Supershifter?

Just out of curiosity, are you sure that you need automatic shifting?

We've found that our robot can do everything we need it to do in High Gear (~13fps) without much problem. We use low gear to push and for finite positioning. Our shifting is controlled by one of the joystick triggers.
__________________
-Dustin Benedict
2005-2012 - Student & Mentor FRC 816
2012-2014 - Technical Mentor, 2014 Drive Coach FRC 341
Current - Mentor FRC 2729, FRC 708
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 03:53.

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