Go to Post To find something they are so passionate about that it oozes into everything they do, and others can't help but want to follow them into this Counter-Culture where good is not good enough, Great is all they strive for. - Kims Robot [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
  #16   Spotlight this post!  
Unread 21-12-2006, 11:26
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,567
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: Steering wheel

Quote:
Originally Posted by Hieb View Post
As far as manuverability, I think that joysticks give more options while turning (tight turn radius/0 turn radius and so on). On the other hand, if the driver never makes use of all of the options available and can effectively drive using the steering wheel, then by all means go for it.
The robot has the same options for turning no matter what you go with--all you're changing is how you tell the robot to do it.

Assume you have one joystick for throttle forwards and backwards, then one steering wheel to determine rate of rotation. Calculate the difference in PWM values needed given the position of the wheel, then add in the throttle values. Since this might throw the PWM values out of the valid range, add in some code to scale back the numbers until neither is over 254 (or below zero).

IANAP (I Am Not A Programmer), but this would be how I'd attack the problem for a basic drive system without feedback or anything--those folks who actually know what they're talking about can elaborate there.
__________________
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

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,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.
  #17   Spotlight this post!  
Unread 21-12-2006, 11:37
Hieb Hieb is offline
Registered User
no team
Team Role: Teacher
 
Join Date: Mar 2004
Rookie Year: 2004
Location: St. Louis, MO
Posts: 125
Hieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to behold
Re: Steering wheel

Quote:
Originally Posted by Dennis Jenks View Post
As Cory stated, you can do all these things and more with a steering wheel. It's all about the implementation.
True. My initial impressions (while I was writting before) was that with the steering wheel it was more of an either/or proposition--I can either have a tight turn (ex. left wheels = 127, right wheels = 254) or 0 turn radius (left wheels = 0, right wheels = 254), but not both as would be possible with joysticks.

Further thought on the matter has led me to an implimentation that would allow both--I guess I just like joysticks because with a rookie team that only has 1 programmer (and she has no previous programming experience), I'll probably end up writting most of the code this year and joysticks are easy to implement.
  #18   Spotlight this post!  
Unread 21-12-2006, 15:02
lukevanoort lukevanoort is offline
in between teams
AKA: Luke Van Oort
no team
 
Join Date: Oct 2005
Rookie Year: 2005
Location: Waterloo, ON, Canada
Posts: 1,873
lukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond repute
Send a message via AIM to lukevanoort
Re: Steering wheel

Quote:
Originally Posted by Hieb View Post
True. My initial impressions (while I was writing before) was that with the steering wheel it was more of an either/or proposition--I can either have a tight turn (ex. left wheels = 127, right wheels = 254) or 0 turn radius (left wheels = 0, right wheels = 254), but not both as would be possible with joysticks.

Further thought on the matter has led me to an implementation that would allow both--I guess I just like joysticks because with a rookie team that only has 1 programmer (and she has no previous programming experience), I'll probably end up writing most of the code this year and joysticks are easy to implement.
DISCLAIMER: I have never tried this
I think if you used the one joystick drive setup in the default code and just used the steering wheel's output instead of 'p1_x' and used the throttle joystick's y value in the place of 'p1_y' it would work.
__________________
Team 1219: 2009 - Mentor
Team 587: 2005 - Animator, 2006-2008 - Team Captain
  #19   Spotlight this post!  
Unread 21-12-2006, 15:41
chris31 chris31 is offline
Team 2021 Captain
AKA: Chris Davidson
FRC #2021 (FA Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2006
Location: Atlanta, GA/ Fredericksburg,VA
Posts: 949
chris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond repute
Send a message via AIM to chris31
Re: Steering wheel

Quote:
Originally Posted by Hieb View Post
True. My initial impressions (while I was writting before) was that with the steering wheel it was more of an either/or proposition--I can either have a tight turn (ex. left wheels = 127, right wheels = 254) or 0 turn radius (left wheels = 0, right wheels = 254), but not both as would be possible with joysticks.

Further thought on the matter has led me to an implimentation that would allow both--I guess I just like joysticks because with a rookie team that only has 1 programmer (and she has no previous programming experience), I'll probably end up writting most of the code this year and joysticks are easy to implement.
You could always have a button on the steering wheel or a switch to change drive modes.
  #20   Spotlight this post!  
Unread 21-12-2006, 15:48
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,567
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: Steering wheel

Quote:
Originally Posted by lukevanoort View Post
DISCLAIMER: I have never tried this
I think if you used the one joystick drive setup in the default code and just used the steering wheel's output instead of 'p1_x' and used the throttle joystick's y value in the place of 'p1_y' it would work.
Now that I think about it, this is exactly what the one-joystick code does. BRILLIANT!
__________________
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

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,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.
  #21   Spotlight this post!  
Unread 21-12-2006, 16:13
Hieb Hieb is offline
Registered User
no team
Team Role: Teacher
 
Join Date: Mar 2004
Rookie Year: 2004
Location: St. Louis, MO
Posts: 125
Hieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to beholdHieb is a splendid one to behold
Re: Steering wheel

Quote:
Originally Posted by lukevanoort View Post
DISCLAIMER: I have never tried this
I think if you used the one joystick drive setup in the default code and just used the steering wheel's output instead of 'p1_x' and used the throttle joystick's y value in the place of 'p1_y' it would work.
K.I.S.S.

Now that I'm done beating my head against the desk for not recognizing the obvious I guess I can spend my time on more exciting things (like unpacking the huge order of supplies from McMaster-Carr and OnlineMetals--it really is Christmas time!).


Quote:
Originally Posted by chris31
You could always have a button on the steering wheel or a switch to change drive modes.
That was the conclussion I came to after thinking about the problem a little more.

So now, as long as the steering wheel and the throttle either self-center or have a sufficient deadband built in to the code, I'm beginning to think this could be a very effective control that I had simply dismissed previously.

Who said you can't teach an old dog new tricks?
  #22   Spotlight this post!  
Unread 21-12-2006, 17:51
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: Steering wheel

For those who feel that the wheel will not give the same control options, I would have to say you are thinking too much inside the Joystick. The wheel can give you differences in control from only one or two pwm to 0 on one side and 254 on the other. Therefore any combination in between is possible with some rotation of the wheel.
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #23   Spotlight this post!  
Unread 21-12-2006, 18:18
Cory's Avatar
Cory Cory is offline
Registered User
AKA: Cory McBride
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: May 2002
Rookie Year: 2001
Location: Redwood City, CA
Posts: 6,824
Cory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond repute
Send a message via AIM to Cory
Re: Steering wheel

Quote:
Originally Posted by Hieb View Post
True. My initial impressions (while I was writting before) was that with the steering wheel it was more of an either/or proposition--I can either have a tight turn (ex. left wheels = 127, right wheels = 254) or 0 turn radius (left wheels = 0, right wheels = 254), but not both as would be possible with joysticks.

Further thought on the matter has led me to an implimentation that would allow both--I guess I just like joysticks because with a rookie team that only has 1 programmer (and she has no previous programming experience), I'll probably end up writting most of the code this year and joysticks are easy to implement.

I am not a programmer. I understand the basics behind what we did, and the principle, but not much else.

Our wheel acts exactly as a joystick would. If we turn the wheel a tiny bit, the robot turns a tiny bit. It's exactly the same as if you pushed one joystick forward a tiny bit and one backwards a tiny bit. It's scaled this way throughout the travel of the wheel. Our driver vastly prefers driving the robot this way, and after 3 years he's gotten pretty darn good at it.

The wheel we use is the NASCAR Charger 2 by Thrustmaster.
__________________
2001-2004: Team 100
2006-Present: Team 254
  #24   Spotlight this post!  
Unread 23-12-2006, 08:30
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,113
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: Steering wheel

Quote:
Originally Posted by slickguy2007 View Post
I will try to find the brand of steering wheel that we use. It turns out that the steering wheel we have already has a serial port. After a little bit of tweaking, we were able to make the wheel function exactly how we wanted it to.
What are you connecting the serial port to? There isn't anything on the OI that can deal with a serial output from a controller device.
  #25   Spotlight this post!  
Unread 02-01-2007, 18:52
slickguy2007 slickguy2007 is offline
Copioli is the man!!!
FRC #1403 (Cougar Robotics)
Team Role: Alumni
 
Join Date: Nov 2004
Rookie Year: 1997
Location: Skillman, NJ
Posts: 545
slickguy2007 has a reputation beyond reputeslickguy2007 has a reputation beyond reputeslickguy2007 has a reputation beyond reputeslickguy2007 has a reputation beyond reputeslickguy2007 has a reputation beyond reputeslickguy2007 has a reputation beyond reputeslickguy2007 has a reputation beyond reputeslickguy2007 has a reputation beyond reputeslickguy2007 has a reputation beyond reputeslickguy2007 has a reputation beyond reputeslickguy2007 has a reputation beyond repute
Send a message via AIM to slickguy2007
Re: Steering wheel

Quote:
Originally Posted by Alan Anderson View Post
What are you connecting the serial port to? There isn't anything on the OI that can deal with a serial output from a controller device.
Yep. You are right. I meant it already had the 15 pin analog interface already. It was something we specifically looked for in a steering wheel before we bought one. It plugged right in with no changes necessary. We bought a discontinued wheel off of Ebay. I still haven't gotten the chance to check the brand yet though.
__________________
Team 1403 is Proudly Sponsored By:

  #26   Spotlight this post!  
Unread 07-01-2007, 13:06
Mike Hendricks Mike Hendricks is offline
misses his IFI control system
FRC #0973 (GRR)
Team Role: Mentor
 
Join Date: Oct 2003
Rookie Year: 2004
Location: Arroyo Grande, CA
Posts: 237
Mike Hendricks is a name known to allMike Hendricks is a name known to allMike Hendricks is a name known to allMike Hendricks is a name known to allMike Hendricks is a name known to allMike Hendricks is a name known to all
Re: Steering wheel

Quote:
Originally Posted by Cuog View Post
For those who feel that the wheel will not give the same control options, I would have to say you are thinking too much inside the Joystick. The wheel can give you differences in control from only one or two pwm to 0 on one side and 254 on the other. Therefore any combination in between is possible with some rotation of the wheel.
Further supporting the wheel ..

Think of the range of motion you have with a joy stick. 90 degrees, at best. With a steering wheel, you have over 200 degrees of control (if not more, depending on your wheel). This was the argument supporting the wheel presented to us by a mentor from Team 60 (after 60/254's extremely successful 2004 season).

It is MUCH easier for students to learn how to drive the wheel than with (a) stick(s). And that's not limited to students, if you have a sponser, little kid, future team member, etc .. driving, it's much easier for them to get a feel of it without crashing into something or someone.

With that said, 1388 has used a wheel in 2005 and 2006. In fact, we already have our wheel for 2007. It's a Saitek R80, and we've got all 3 of ours new off ebay for less than $15 each. There are plenty of USB wheels out there, and if you have a rich team that wants a pretty wheel, then consider the new IFI USB dongle for the OI.

There is some fine tuning on the driving code needed for the wheel. There is also a lot of room for improvement. We have added features into our wheel code that allows for much easier turning (pretty much turning in place). There is also a switch on our 2006 control box, that lets you jump from a wheel/joystick combination to a single stick for driving.
__________________
2004-2010: Founding Member, Technical Mentor - Team 1388, Eagle Robotics
2011: ???
  #27   Spotlight this post!  
Unread 27-05-2007, 03:45
Jon Jack's Avatar
Jon Jack Jon Jack is online now
VEX Robotics
no team (No Team)
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Greenville, TX
Posts: 615
Jon Jack has a reputation beyond reputeJon Jack has a reputation beyond reputeJon Jack has a reputation beyond reputeJon Jack has a reputation beyond reputeJon Jack has a reputation beyond reputeJon Jack has a reputation beyond reputeJon Jack has a reputation beyond reputeJon Jack has a reputation beyond reputeJon Jack has a reputation beyond reputeJon Jack has a reputation beyond reputeJon Jack has a reputation beyond repute
Send a message via AIM to Jon Jack
Re: Steering wheel

Quote:
Originally Posted by PhatMike View Post
Further supporting the wheel ..

Think of the range of motion you have with a joy stick. 90 degrees, at best. With a steering wheel, you have over 200 degrees of control (if not more, depending on your wheel). This was the argument supporting the wheel presented to us by a mentor from Team 60 (after 60/254's extremely successful 2004 season).

It is MUCH easier for students to learn how to drive the wheel than with (a) stick(s). And that's not limited to students, if you have a sponser, little kid, future team member, etc .. driving, it's much easier for them to get a feel of it without crashing into something or someone.
After trying a steering wheel for the first time this year I'd have to agree...

Having the steering wheel and one joystick for throttle made it much easier to turn, turn inside our footprint and drive straight (encoders of course helped out too).

We had a first year driver and it only took him a couple minutes to get the hang of driving around with the steering wheel. After about a day on our practice robot he started looking like natural on the wheel.
__________________
Team 1538 / The Holy Cows, 2005-2016
  #28   Spotlight this post!  
Unread 28-05-2007, 12:07
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: Steering wheel

I don't know if anyone has realized it but using a steering wheel and throttle setup is the same thing as using one joystick......

steering wheel = left/right movement of joystick
throttle = front/back movement of joystick

-John
  #29   Spotlight this post!  
Unread 28-05-2007, 12:24
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,038
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Steering wheel

maybe this is too obvious...but how about an r/c car controller? it has a steering wheel and throttle control, and driving an r/c car with one is very easy.

http://www2.towerhobbies.com/cgi-bin...I=LXPNM9**&P=7

for example
  #30   Spotlight this post!  
Unread 28-05-2007, 13:04
Mike Hendricks Mike Hendricks is offline
misses his IFI control system
FRC #0973 (GRR)
Team Role: Mentor
 
Join Date: Oct 2003
Rookie Year: 2004
Location: Arroyo Grande, CA
Posts: 237
Mike Hendricks is a name known to allMike Hendricks is a name known to allMike Hendricks is a name known to allMike Hendricks is a name known to allMike Hendricks is a name known to allMike Hendricks is a name known to all
Re: Steering wheel

Quote:
Originally Posted by John Gutmann View Post
I don't know if anyone has realized it but using a steering wheel and throttle setup is the same thing as using one joystick......

steering wheel = left/right movement of joystick
throttle = front/back movement of joystick

-John
For the most part it is, but from the teams I've talked to that run wheels (including ours), there are some "features" added to make driving easier (turning harder at certain positions of the wheel, jog L/R, shifting ease, etc). Main advantage of the wheel, you have a much larger range of motion to adjust your control.

Quote:
Originally Posted by squirrel View Post
maybe this is too obvious...but how about an r/c car controller? it has a steering wheel and throttle control, and driving an r/c car with one is very easy.

http://www2.towerhobbies.com/cgi-bin...I=LXPNM9**&P=7

for example
This is a summer project I've wanted to do for awhile, but have never got around to doing it - using a mini EDU controller and the r/c car controller to try and drive the robot. Sadly, I don't have the programming background to set the EDU up to do it. It would be really cool to be able to eliminate the full sized RC and OI for doing demonstrations and stuff where the full control system isn't needed.
__________________
2004-2010: Founding Member, Technical Mentor - Team 1388, Eagle Robotics
2011: ???

Last edited by Mike Hendricks : 28-05-2007 at 13:07.
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: Chantilly Academy's 4 Wheel Drive 4 Wheel Steering!!!! jskene Robot Showcase 25 18-02-2005 20:24
Steering wheel problems jgannon Programming 4 16-01-2005 14:25
Steering wheel issues jgannon Programming 5 15-12-2004 10:14
need glp programing steering with a steering wheel Matchew Programming 2 10-02-2003 14:20
4 wheel steering/ Crab Huey_Da_X-cat Technical Discussion 3 11-02-2002 22:49


All times are GMT -5. The time now is 14:19.

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