Go to Post Elevator speeches too - everyone should have one. - Swan217 [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 03-04-2008, 18:23
AmoryG AmoryG is offline
Registered User
FRC #2423 (KwarQs)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Watertown, MA
Posts: 221
AmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud of
Unique ways of controlling your robot (driving)

The 2008 competition is mine and my team's rookie year. This year I was the sole student programmer with about no experience with programming. I received tons of help from my mentors and I was able to help program the robot with their assistence. Because of this a lot of the time I was doing things on my own and I did a lot of experimenting.

With my mentors, we came up with quite a few ways of driving the bot. I won't share the code right away (I need to get it first), but would anyone like to share and explain their methods of controlling the driving of the robot? I'm really curious what you guys did.

These are the things we tried (I'll share the code when I get it)...

1. Double Joystick: very hard to control. We tried a lot to make it more controlable, but it never worked out well.

2. Single Joystick 1: One speed, 4 ways of moving robot. Push the joystick up and it moves forward. Push it down it moves backwards. Left it turns a bit left and right it turns a bit right.

3. Other single joystick controlls: We made a few other single joystick control systems. One we used in the competition.

I apologize in advance if broke some sort of rule
  #2   Spotlight this post!  
Unread 03-04-2008, 18:28
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,755
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Unique ways of controlling your robot (driving)

Quote:
Originally Posted by AmoryG View Post
The 2008 competition is mine and my team's rookie year. This year I was the sole student programmer with about no experience with programming. I received tons of help from my mentors and I was able to help program the robot with their assistence. Because of this a lot of the time I was doing things on my own and I did a lot of experimenting.

With my mentors, we came up with quite a few ways of driving the bot. I won't share the code right away (I need to get it first), but would anyone like to share and explain their methods of controlling the driving of the robot? I'm really curious what you guys did.

These are the things we tried (I'll share the code when I get it)...

1. Double Joystick: very hard to control. We tried a lot to make it more controlable, but it never worked out well.

2. Single Joystick 1: One speed, 4 ways of moving robot. Push the joystick up and it moves forward. Push it down it moves backwards. Left it turns a bit left and right it turns a bit right.

3. Other single joystick controlls: We made a few other single joystick control systems. One we used in the competition.

I apologize in advance if broke some sort of rule
These are all acceptable in competition and here.

Most teams use the double-stick method. Some use single. Others have been known to use the following:
  • DDR pad
  • Steering wheel
  • R/C controller
  • Game controller of some form
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #3   Spotlight this post!  
Unread 03-04-2008, 18:30
Herodotus's Avatar
Herodotus Herodotus is offline
Mountain Dew Bandolier Man
AKA: David Resowski
FRC #0910 (Foley Freeze)
Team Role: Alumni
 
Join Date: Apr 2007
Rookie Year: 2006
Location: Michigan
Posts: 428
Herodotus has a reputation beyond reputeHerodotus has a reputation beyond reputeHerodotus has a reputation beyond reputeHerodotus has a reputation beyond reputeHerodotus has a reputation beyond reputeHerodotus has a reputation beyond reputeHerodotus has a reputation beyond reputeHerodotus has a reputation beyond reputeHerodotus has a reputation beyond reputeHerodotus has a reputation beyond reputeHerodotus has a reputation beyond repute
Re: Unique ways of controlling your robot (driving)

My favorite form of driving the base of the robot so far has been double joysticks, because it gives a great deal of control, in my opinion. This year, however, we went with a single joystick with the idea that it would leave my other hand free for some push button semi-automatic controls such as u-turns and lane shifting. That hasn't panned out (yet) but with a little bit of work we've gotten our controls working decently well, the single joystick needs a little more tweaking than dual joysticks.

Our joystick itself was fairly unique though(one of a kind as far as I know), what with being a weighted companion cube.
__________________
I am always doing that which I cannot do, in order that I may learn how to do it. - Pablo Picasso
--My Life in FIRST--
2009 Detroit Xerox Creativity Award
2009 Detroit District Finalists - Thanks to 1856 and 2620
2009 Kettering District Quarter-Finalists - Thanks to 1504 and 1025.
2008 Kettering Kickoff Champions - Thanks to 67, 1075 & 2619
2008 MARC Finalists - thanks 67 & 226
2008 Great Lakes Finalists - thanks 66 & 217
2008 Western Michigan Semi-Finalists - thanks 2337 and 1504
2008 GLR Judges Award Winner
2007 Curie Division Champions - thanks 330 and 1270
2007 ARC Champions (13 and 0, plus scoring a double-keeper!) - thanks 1625 and 313
2007 MARC Champions - thanks 1732 and 1023
2007 Xerox Creativity Award - Western Michign
2006 I.R.I. Champions - thanks 71 and 1625

Last edited by Herodotus : 03-04-2008 at 19:00.
  #4   Spotlight this post!  
Unread 03-04-2008, 18:53
Grant Cox's Avatar
Grant Cox Grant Cox is offline
Back for more.
FRC #0148 (Robowranglers)
Team Role: Tactician
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Greenville, TX
Posts: 419
Grant Cox has a reputation beyond reputeGrant Cox has a reputation beyond reputeGrant Cox has a reputation beyond reputeGrant Cox has a reputation beyond reputeGrant Cox has a reputation beyond reputeGrant Cox has a reputation beyond reputeGrant Cox has a reputation beyond reputeGrant Cox has a reputation beyond reputeGrant Cox has a reputation beyond reputeGrant Cox has a reputation beyond reputeGrant Cox has a reputation beyond repute
Re: Unique ways of controlling your robot (driving)

My personal favorite is a PS2 controller with the USB chicklet. The two analog sticks act the same as joysticks, but it just feels a lot more natural and allows you to have more control than sticks (imo).
__________________
VEX Robotics Marketing Manager

ThunderChicken driver '07-'08
Robowrangler '13-present

FIRST in Michigan, VEX Worlds, and FIRST in Texas MC/Game Announcer '08-present
  #5   Spotlight this post!  
Unread 03-04-2008, 19:48
fimmel's Avatar
fimmel fimmel is offline
Founding Mentor, Team 2370
AKA: Forest Immel
FRC #2370 (iBots 2370)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2005
Location: Castleton, Vermont
Posts: 325
fimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond repute
Re: Unique ways of controlling your robot (driving)

we attempted a mechanum drive this year but never got the strafing to work right. but we had forward backward on the left y axis and left / right steering on the right x axis (along with strafing on the left x axis but that didn't work like i said) and it made it very easy to drive strait since you could tweak the direction with your right hand and just keep ur left at the speed you like.

i recommend people try this cause its nice and very intuitive

...forest
__________________



  #6   Spotlight this post!  
Unread 03-04-2008, 19:51
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: Unique ways of controlling your robot (driving)

We do it like one-stick but we split the x and y axis out onto different joysticks (kind of like Halo). This makes it really easy to drive dead straight (just let go of the turning joystick), gives a bit finer "feel" to the controls than one-stick, and is much more intuitive than tank drive. We have tried other methods, and some of our members prefer to drive tank-style; however, myself and last year's driver both found Halo-style to be the best compromise, so that is what we've used.
__________________
Team 1219: 2009 - Mentor
Team 587: 2005 - Animator, 2006-2008 - Team Captain
  #7   Spotlight this post!  
Unread 03-04-2008, 20:59
AmoryG AmoryG is offline
Registered User
FRC #2423 (KwarQs)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Watertown, MA
Posts: 221
AmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud of
Re: Unique ways of controlling your robot (driving)

Well, one of the reasons why I as the driver (and I think most of my team) didn't like the tank control/duel joystick was partially because our robot was so powerful. The gearing ratio made it so actually stearing the it was one thing, but making it turn gradually and not suddenly turn around in a great circle was another thing. We tried all different things with the programming, but it never worked as well as we hoped. I eventually came up with a system that I used in the competition. The results were the best I could hope for. When you turned the joystick to the top left hand corner, it made a nice curve and just by turning it a bit, I could change the turning direction so if there were robots in the way I could easily menuver around them.

When we first entered the competition we only used 1/4th the power our robot was capable of. Because the rug made it so the robot was slower but a lot more controllable we upped it to 1/2 the power and added a turbo trigger. If the joystick is in a certain area the robot will automatically go straight at max speed. I think I could bring up the code, I have it on my computer somewhere....
  #8   Spotlight this post!  
Unread 03-04-2008, 21:52
mluckham's Avatar
mluckham mluckham is offline
Registered User
FRC #0758 (Sky Robotics)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Ontario, Canada
Posts: 116
mluckham will become famous soon enoughmluckham will become famous soon enough
Re: Unique ways of controlling your robot (driving)

Quote:
We do it like one-stick but we split the x and y axis out onto different joysticks (kind of like Halo)
Nice! Like Mode 1 in Radio Control airplane transmitters (one stick rudder, one stick elevator), versus Mode 2 (single-stick). I'm gonna have the guys try that, next year.
  #9   Spotlight this post!  
Unread 03-04-2008, 22:11
Battering_Ram Battering_Ram is offline
Registered User
FRC #0171 (Extreme Engineers)
Team Role: Driver
 
Join Date: Feb 2008
Rookie Year: 2005
Location: Platteville
Posts: 12
Battering_Ram is an unknown quantity at this point
Re: Unique ways of controlling your robot (driving)

I have been driving two years (171) and we have had tank drive both years. I really like this because it isolates the two sides of bot. But I will admit that I want to try the halo style so i will email my programmer right away. In my opinion I believe the one joystick is cramming to much onto one contoller, I'd rather isolate and have more precision(imo). But variety is the spice of life so I think its great how everyone does something different.
__________________

  #10   Spotlight this post!  
Unread 04-04-2008, 11:16
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Unique ways of controlling your robot (driving)

I suspect you had trouble with twin stick control because you did not map the values to a cubic curve to desensitize it.
  #11   Spotlight this post!  
Unread 04-04-2008, 11:42
Jimmy Cao Jimmy Cao is offline
Registered User
AKA: Jimmy Cao
no team
 
Join Date: Sep 2006
Rookie Year: 2004
Location: San Francisco, CA
Posts: 295
Jimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant future
Re: Unique ways of controlling your robot (driving)

We do something rather unique to our drive system.

There are two joysticks. On one of them, we use both axis. The X axis translates the robot left and right, and the Y axis translates the robot forwards and backwards.

We only use one axis on the other joystick. This joystick is responsible for the rotation of the robot. By using both sticks together, the software places an imaginary point in space that the robot "rotates" around. However, this control system only works on an omni directional drive system.
__________________
Jimmy Cao

Team 469 2006-2010 Student/Alumni
Team 830 2011-2012 Mentor
  #12   Spotlight this post!  
Unread 04-04-2008, 11:43
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 945
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Unique ways of controlling your robot (driving)

For our mecanum setup, we used one stick for all translation (sliding while facing same way, includes forwards/backwards) and another stick for the rotation on the X-axis.

The drivers had different preferences as to which side they were on so they were interchangeable.
  #13   Spotlight this post!  
Unread 04-04-2008, 11:46
jester_assault's Avatar
jester_assault jester_assault is offline
Who are we?!...ROYAL ASSAULT!
FRC #0357 (royal assault)
Team Role: Operator
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Upper Darby, PA
Posts: 7
jester_assault is an unknown quantity at this point
Send a message via AIM to jester_assault
Re: Unique ways of controlling your robot (driving)

For our Mecanum drive system, 357 uses a 3-axis joystick. The X axis and the Y axis are used for forward/backward/ and translation motions, while the Z axis is used for spin. In the past we used a 2 axis joystick and isolated translational movement to only occur when the drive held the trigger of the joystick.
__________________
who are we...ROYAL ASSAULT
  #14   Spotlight this post!  
Unread 07-04-2008, 12:59
matt.winkler's Avatar
matt.winkler matt.winkler is offline
I'm "OLD" according to Andy!
AKA: Matt Winkler
FRC #0171 (Extreme Engineering (Formerly Cheese Curd Hurd))
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 1998
Location: Platteville, WI
Posts: 11
matt.winkler is an unknown quantity at this point
Re: Unique ways of controlling your robot (driving)

Quote:
Originally Posted by Battering_Ram View Post
I have been driving two years (171) and we have had tank drive both years. I really like this because it isolates the two sides of bot. But I will admit that I want to try the halo style so i will email my programmer right away. In my opinion I believe the one joystick is cramming to much onto one contoller, I'd rather isolate and have more precision(imo). But variety is the spice of life so I think its great how everyone does something different.
I have been involved on team 171 since the 1998 build season and to my knowledge, we have always done two independent joysticks with skid steer/tank style control. We have always had 2 operators. One operator is in sole control of driving and the second operator is in control of nearly all motor functions of the robot. I know that this can be tougher for some teams, but if your operators are in tune with each other, this can prove to be very efficient. It allows each of the operators to focus on a specific area of the competition and it removes some delays that may happen with other control styles.

Please keep in mind that I am not intending to bash any single joystick control system or any other very innovative control systems. I am only stating how we have done our robots in the past and the reasons behind our choices.
  #15   Spotlight this post!  
Unread 06-04-2008, 23:31
usbcd36's Avatar
usbcd36 usbcd36 is offline
Registered User
AKA: "DOS"
FRC #2399 (The Fighting Unicorns)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Solon, OH
Posts: 151
usbcd36 is a jewel in the roughusbcd36 is a jewel in the roughusbcd36 is a jewel in the rough
Re: Unique ways of controlling your robot (driving)

Quote:
Originally Posted by lukevanoort View Post
We do it like one-stick but we split the x and y axis out onto different joysticks (kind of like Halo). This makes it really easy to drive dead straight (just let go of the turning joystick), gives a bit finer "feel" to the controls than one-stick, and is much more intuitive than tank drive. We have tried other methods, and some of our members prefer to drive tank-style; however, myself and last year's driver both found Halo-style to be the best compromise, so that is what we've used.
That's what we did this year too. A lot of the potential drivers hated the system, but they didn't show up to most of the driving practices, so I never changed it, and drove myself. The other nice thing about using this system was that I could use the Y-axis joystick with my left hand and grab it near the bottom (since it's a right-handed stick anyway), then use my left hand for the buttons and the desensitized X-axis (since we didn't need the power spin).
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
surefire ways to break you robot XXShadowXX General Forum 159 06-02-2009 19:03
Whats unique about your website? Trashed20 Website Design/Showcase 7 26-11-2002 13:50
Controlling a FIRST robot with a Lego RCX Controller? archiver 2001 5 24-06-2002 04:19
Favorite NEW unique aspect of a robot archiver 2001 1 24-06-2002 03:57
What's unique about your Regional? Digo Regional Competitions 11 14-04-2002 14:37


All times are GMT -5. The time now is 01:54.

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