Go to Post I guess I should read the manual. - r_towle [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 09-01-2007, 23:09
dpick1055's Avatar
dpick1055 dpick1055 is offline
David Pick
FRC #1739 (Chicago Knights)
Team Role: Alumni
 
Join Date: May 2005
Rookie Year: 2004
Location: Chicago
Posts: 75
dpick1055 is on a distinguished road
Send a message via AIM to dpick1055
Crab drive without a pot

I was wondering if it would be possible to do a crab drive without using a pot to figure out what angle the wheel is it and if it is how difficult the programming would be. Thanks in advanced
  #2   Spotlight this post!  
Unread 09-01-2007, 23:10
eshteyn's Avatar
eshteyn eshteyn is offline
WOOPS! shorted the deep cycle batt.
AKA: the supply seargent, Eugene
FRC #0375 (the robotic plague)
Team Role: Mechanical
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Staten Island, New York
Posts: 213
eshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really nice
Send a message via AIM to eshteyn Send a message via Yahoo to eshteyn
Re: Crab drive without a pot

Quote:
Originally Posted by dpick1055 View Post
I was wondering if it would be possible to do a crab drive without using a pot to figure out what angle the wheel is it and if it is how difficult the programming would be. Thanks in advanced
Trust me, you really want to put in a pot, it will only make your life easier during programming and then you can put wheels inexact positions and the robot will do exactly what u want it to do
__________________
--------------------------------------------

Championship - Delphi "Driving Tomorrows Technology"
  #3   Spotlight this post!  
Unread 09-01-2007, 23:11
dpick1055's Avatar
dpick1055 dpick1055 is offline
David Pick
FRC #1739 (Chicago Knights)
Team Role: Alumni
 
Join Date: May 2005
Rookie Year: 2004
Location: Chicago
Posts: 75
dpick1055 is on a distinguished road
Send a message via AIM to dpick1055
Re: Crab drive without a pot

How expensive would a pot be and where could we get them?
  #4   Spotlight this post!  
Unread 09-01-2007, 23:14
eshteyn's Avatar
eshteyn eshteyn is offline
WOOPS! shorted the deep cycle batt.
AKA: the supply seargent, Eugene
FRC #0375 (the robotic plague)
Team Role: Mechanical
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Staten Island, New York
Posts: 213
eshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really nice
Send a message via AIM to eshteyn Send a message via Yahoo to eshteyn
Re: Crab drive without a pot

it would be about 2 dollars and 50 cents from radio shack

http://www.radioshack.com/search/ind...otenti ometer

but if you want it in large quantities u can get it cheaper at

www.digikey.com
__________________
--------------------------------------------

Championship - Delphi "Driving Tomorrows Technology"
  #5   Spotlight this post!  
Unread 09-01-2007, 23:15
eshteyn's Avatar
eshteyn eshteyn is offline
WOOPS! shorted the deep cycle batt.
AKA: the supply seargent, Eugene
FRC #0375 (the robotic plague)
Team Role: Mechanical
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Staten Island, New York
Posts: 213
eshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really nice
Send a message via AIM to eshteyn Send a message via Yahoo to eshteyn
Re: Crab drive without a pot

get the linear-taper-potentiometer
__________________
--------------------------------------------

Championship - Delphi "Driving Tomorrows Technology"
  #6   Spotlight this post!  
Unread 09-01-2007, 23:16
dpick1055's Avatar
dpick1055 dpick1055 is offline
David Pick
FRC #1739 (Chicago Knights)
Team Role: Alumni
 
Join Date: May 2005
Rookie Year: 2004
Location: Chicago
Posts: 75
dpick1055 is on a distinguished road
Send a message via AIM to dpick1055
Re: Crab drive without a pot

Thanks.
  #7   Spotlight this post!  
Unread 09-01-2007, 23:22
eshteyn's Avatar
eshteyn eshteyn is offline
WOOPS! shorted the deep cycle batt.
AKA: the supply seargent, Eugene
FRC #0375 (the robotic plague)
Team Role: Mechanical
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Staten Island, New York
Posts: 213
eshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really niceeshteyn is just really nice
Send a message via AIM to eshteyn Send a message via Yahoo to eshteyn
Re: Crab drive without a pot

anytime
__________________
--------------------------------------------

Championship - Delphi "Driving Tomorrows Technology"
  #8   Spotlight this post!  
Unread 14-01-2007, 00:46
Daru Daru is offline
Registered User
#0706
 
Join Date: Jan 2005
Location: Wisconsin
Posts: 42
Daru has a spectacular aura aboutDaru has a spectacular aura about
Re: Crab drive without a pot

I have a question about using pots on crab drives.

It seems to me like you could have a 359 degree rotation using a pot, but then to go from, say, rightish forward to leftish forward wouldnt you need to rotate the wheel all the way around the long way? Assuming 0 on the pot is straight ahead.

Are there pots that give you a range of values up to one turn and if you turn past that they would reset?

We were considering using encoders on these shafts... but I'm not the best programmer in the world

Any advice is greatly appreciated.
Thank you,
Dave
  #9   Spotlight this post!  
Unread 14-01-2007, 01:07
Lil' Lavery Lil' Lavery is offline
TSIMFD
AKA: Sean Lavery
FRC #1712 (DAWGMA)
Team Role: Mentor
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Philadelphia, PA
Posts: 6,577
Lil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond repute
Send a message via AIM to Lil' Lavery
Re: Crab drive without a pot

You can buy pots that are set to a different amount of rotations, or you could use (like you suggested) shaft encoders.
__________________
Being correct doesn't mean you don't have to explain yourself.
  #10   Spotlight this post!  
Unread 14-01-2007, 01:45
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,494
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Crab drive without a pot

You could also use endless pots, it would be slightly harder to program than normal (you have to anticipate the "wrap around", still not to hard though) and you still get endless rotation as you desire.
  #11   Spotlight this post!  
Unread 14-01-2007, 09:59
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Crab drive without a pot

Quote:
Originally Posted by Daru View Post
We were considering using encoders on these shafts...
I would highly recommend not using encoders to determine crab position. Yes they can work, but they require you to precisely position the wheel at startup. Since the encoder doesn't tell you where you are, you could have the wheel turned 90 degrees and the RC has no way of knowing that it's not centered. Pots are far superior in this aspect because they give you an absolute position at startup and the necessary corrections can be made.
  #12   Spotlight this post!  
Unread 14-01-2007, 14:52
Unsung FIRST Hero
Ian Mackenzie Ian Mackenzie is offline
Registered User
FRC #3683
Team Role: College Student
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Waterloo, Ontario, Canada
Posts: 111
Ian Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond repute
Re: Crab drive without a pot

Quote:
Originally Posted by Dave Scheck View Post
I would highly recommend not using encoders to determine crab position. Yes they can work, but they require you to precisely position the wheel at startup. Since the encoder doesn't tell you where you are, you could have the wheel turned 90 degrees and the RC has no way of knowing that it's not centered. Pots are far superior in this aspect because they give you an absolute position at startup and the necessary corrections can be made.
True, but normal potentiometers have the nasty disadvantage of having a hard stop. When we did swerve drive in 2004, we broke a lot of potentiometers (especially in testing) by turning them too far. In hindsight, it might have been a better idea to use encoders, set the wheel to a known position at the start of the match, and probably have a limit switch as a backup that would be triggered (e.g.) when the wheel was straight ahead - so if anything happened, you could have a reset button that would spin the wheel until it triggered the limit switch and then would reset the encoder count. (You could also do this on the fly - every time that switch happens to be triggered, have an interrupt that corrects the encoder count.)
  #13   Spotlight this post!  
Unread 14-01-2007, 15:06
meatmanek meatmanek is offline
Programmer/physicist/mathematician
FRC #0868 (TechHounds)
Team Role: Programmer
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Carmel, Indiana
Posts: 142
meatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to behold
Re: Crab drive without a pot

A couple of years ago our crazy electrical guy made a full rotation potentiometer by cracking it open and cutting off the stop. (Not recommended, you can screw things up by putting voltage across a shorted potentiometer)

There are ways to use optical sensors to encode position rather than motion.
http://http://en.wikipedia.org/wiki/Gray_code
  #14   Spotlight this post!  
Unread 14-01-2007, 16:42
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Crab drive without a pot

Quote:
Originally Posted by Ian Mackenzie View Post
True, but normal potentiometers have the nasty disadvantage of having a hard stop. When we did swerve drive in 2004, we broke a lot of potentiometers (especially in testing) by turning them too far. In hindsight, it might have been a better idea to use encoders, set the wheel to a known position at the start of the match, and probably have a limit switch as a backup that would be triggered (e.g.) when the wheel was straight ahead - so if anything happened, you could have a reset button that would spin the wheel until it triggered the limit switch and then would reset the encoder count. (You could also do this on the fly - every time that switch happens to be triggered, have an interrupt that corrects the encoder count.)
Did you try using a 10-turn pot?
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #15   Spotlight this post!  
Unread 17-01-2007, 22:42
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Crab drive without a pot

Don't be afraid of potentiometers. Do use the correct value (I think 2.5k is the best match for the RC - or is it 5k??). Linear taper, as eshteyn noted, is what you need.

Connect a pot to the RC - one end to red, the other end to black, and the center to white, hooked up to an analog input - and get a feel for what kind of information you can get from it. You will see values in the range of 0 to 1023, varying linearly (linear taper, remember?) with rotational position.

Pots are available with 360 degree rotation, but these often have a small dead zone, where no signal is available.

Absolute encoders are great, can get costly (Mouser 594-601-1045 is one example, $60, get the connector wire too), but feature true 360 rotation, no dead zone, reliability and precision.

Multi-turn post can be a good solution, but you can eventually run out of turns if you don't enforce some kind of discipline on which way the wheels turn.

Running without pots (or similar) will lead to astoundingly poor performance.

Don
__________________

I am N2IRZ - What's your callsign?
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: Crab Drive Joe_Widen Extra Discussion 3 23-04-2006 15:49
Crab Drive Joe_Widen Technical Discussion 9 21-04-2006 21:50
Crab drive question Tazlikesrobots Technical Discussion 13 31-07-2005 20:51
EduRobot Crab Drive OneAngryDaisy Robotics Education and Curriculum 8 03-10-2003 10:06
Crab Drive Collin Fultz Technical Discussion 3 04-09-2002 16:35


All times are GMT -5. The time now is 09:16.

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