Go to Post At least try to make sure other teams are aware of you. Don't be obnoxious, but don't be a wall flower either. - Joe Johnson [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 30-01-2011, 01:03
TD912 TD912 is offline
Registered User
AKA: Chris Leung
FRC #1989 (Viking Robotics)
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Vernon, NJ
Posts: 156
TD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud of
Mecanum control scheme?

We had a bit of an argument over what would be an efficient way to control a mecanum bot. I have realized many teams attempt compete with mecanum bots, but don't always take full advantage of their maneuverability.

Let's be clear: Please do not turn this into another mecanum vs. 6wd discussion, this is about controlling mecanum bots easily and efficiently.

I suggested a 2 joystick approach. This could either be 2 Logitech Attack joysticks, or a PS2-like gamepad.
The left joystick would move forward, backwards, and strafe, while the right joystick would control rotation.
I feel like this would give the maximum amount of control. It is somewhat similar to a first-person-shooter video game. However, a concern has been brought up about 2 joysticks being too complicated and unnecessary.


Another suggestion was to use only 1 joystick and have a "mecanum mode" switch, where the robot would drive like a 'regular' bot until a button is pressed. Enabling the button would then allow it to temporarily strafe, until the button is released.
This eliminates the need for 2 joysticks, but limits the movement of the robot to either strafing or rotating; it can never do both at once.
I feel this defeats the purpose of having a mecanum drive, as it is being looked at as a 'regular' drive with optional strafing ability.


Then there is also the option of getting a 3-axis joystick, but all of us seem to dislike that idea.

What do you guys think? Or do you have any other suggestions?
__________________
Zip-ties, hot glue, and duct tape.

2008 New York City Regional Champions - (41/555/1989)
2009 Brunswick Eruption 8 Finalists - (1989/56/1807)
2010 PARC XIII Champions - (25/341/1989)

Over The Bump

Last edited by TD912 : 30-01-2011 at 16:50.
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2011, 01:09
BigJ BigJ is online now
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 947
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: Mecanum control scheme suggestions?

We use the first scheme mentioned, a translation stick and a rotation stick.

You want to be able to translate and rotate simultaneously to "orbit" things.
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2011, 01:26
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mecanum control scheme suggestions?

Quote:
Originally Posted by TD912 View Post
What do you guys think? Or do you have any other suggestions?
There are a few different suggestions for driver interface here.




Last edited by Ether : 30-01-2011 at 01:31.
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2011, 17:23
TD912 TD912 is offline
Registered User
AKA: Chris Leung
FRC #1989 (Viking Robotics)
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Vernon, NJ
Posts: 156
TD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud of
Re: Mecanum control scheme suggestions?

Quote:
Originally Posted by BigJ View Post
We use the first scheme mentioned, a translation stick and a rotation stick.

You want to be able to translate and rotate simultaneously to "orbit" things.
Is "orbiting" like pivoting around a point? Similar to this video at 0:29?

The person who was suggesting the second control layout says we shouldn't ever have a need to rotate & strafe simultaneously.

However, I believe having 2 joysticks is worth the slight increase in complexity, as it allows for greater maneuverability (which is why we chose mecanum in the first place!)
__________________
Zip-ties, hot glue, and duct tape.

2008 New York City Regional Champions - (41/555/1989)
2009 Brunswick Eruption 8 Finalists - (1989/56/1807)
2010 PARC XIII Champions - (25/341/1989)

Over The Bump
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2011, 17:44
BigJ BigJ is online now
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 947
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: Mecanum control scheme suggestions?

Quote:
Originally Posted by TD912 View Post
Is "orbiting" like pivoting around a point? Similar to this video at 0:29?
Yeah, that's exactly what I meant, I should have described it more.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2011, 08:59
Dad1279 Dad1279 is offline
Registered User
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: NJ
Posts: 511
Dad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud of
Re: Mecanum control scheme?

Quote:
Originally Posted by TD912 View Post
.....Then there is also the option of getting a 3-axis joystick, but all of us seem to dislike that idea........
Why? We used the Logitech 3d last year, liked it.
Reply With Quote
  #7   Spotlight this post!  
Unread 03-02-2011, 13:52
couvillion couvillion is offline
Registered User
FRC #1818
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: shreveport LA
Posts: 53
couvillion is an unknown quantity at this point
Re: Mecanum control scheme suggestions?

I haven't found a rule against it yet so I am planning to use the first joystick to control translation, and the take apart a second joystick to create a dial that controls facing.
Reply With Quote
  #8   Spotlight this post!  
Unread 03-02-2011, 13:57
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mecanum control scheme suggestions?

Quote:
Originally Posted by couvillion View Post
take apart a second joystick to create a dial that controls facing.
How are you going to process the output from this dial? e.g. Are you going to extract the angle and use that to create a setpoint for a closed-loop control with gyro angle as the process variable... or something else?


Reply With Quote
  #9   Spotlight this post!  
Unread 03-02-2011, 14:43
couvillion couvillion is offline
Registered User
FRC #1818
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: shreveport LA
Posts: 53
couvillion is an unknown quantity at this point
Re: Mecanum control scheme suggestions?

That is the basic plan. I think some of that is already supported in LabView Mecanum VI. A knob perhaps with stops for face goal, face feeding station seems to be the appropriate level of abstraction for this game.

Certainly a self centering joystick can't control facing and the driver doesn't need to worry about about turning speed he needs to worry about facing so giving him a control of rotation speed simply is making him do the control loop stuff in his head.
Reply With Quote
  #10   Spotlight this post!  
Unread 03-02-2011, 15:04
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mecanum control scheme suggestions?

Quote:
Originally Posted by couvillion View Post
I think some of that is already supported in LabView Mecanum VI. A knob perhaps with stops for face goal, face feeding station seems to be the appropriate level of abstraction for this game.
The functionality you seek is not part of the library support. The library support for holonomic is limited to using the gyro for field-centric control, not for angular-position seeking and holding.



Reply With Quote
  #11   Spotlight this post!  
Unread 03-02-2011, 15:39
couvillion couvillion is offline
Registered User
FRC #1818
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: shreveport LA
Posts: 53
couvillion is an unknown quantity at this point
Re: Mecanum control scheme suggestions?

Been thinking about PID controllers for a while now. Hope I get it right.
Reply With Quote
  #12   Spotlight this post!  
Unread 03-02-2011, 15:58
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mecanum control scheme suggestions?

Quote:
Originally Posted by couvillion View Post
Been thinking about PID controllers for a while now. Hope I get it right.

This may help.


Reply With Quote
  #13   Spotlight this post!  
Unread 04-02-2011, 18:30
fhsroboticsteam fhsroboticsteam is offline
Registered User
FRC #3414
 
Join Date: Jan 2011
Location: Farmington Hills
Posts: 5
fhsroboticsteam is an unknown quantity at this point
Re: Mecanum control scheme suggestions?

This would be the inexpensive route that our team took

Buy a used original Xbox controller on ebay or craigslist (very cheap), or request a donation from a team member.

Chop the end and solder it to a male end of a usb cable. (yes the original xbox controllers are usb)

Download the drivers
http://www.redcl0ud.com/xbcd.html

In labview the axes from the controller will come out as follows
Axis 1: Left thumbstick X
Axis 2: Left thumbstick Y
Axis 4: Right thumbstick X
Axis 5: Right thumbstick Y

you will also get an extra 12 buttons along with your 4 axises

We used Axis 1 and 2 to go forward, backward, left and right
and axis 4 to rotate.

Hope this helped.
Reply With Quote
  #14   Spotlight this post!  
Unread 05-02-2011, 16:42
TD912 TD912 is offline
Registered User
AKA: Chris Leung
FRC #1989 (Viking Robotics)
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Vernon, NJ
Posts: 156
TD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud of
Re: Mecanum control scheme suggestions?

Yeah, we're likely going to go with a USB gamepad, similar to this one:
http://www.newegg.com/Product/Produc...-042-_-Product

There's also two models from Logitech that are similar (or the same?) to the one used in FTC, and they're only around $10-25:
http://www.amazon.com/gp/product/B00...ce-full-site=1
http://www.amazon.com/gp/product/B00...ce-full-site=1
__________________
Zip-ties, hot glue, and duct tape.

2008 New York City Regional Champions - (41/555/1989)
2009 Brunswick Eruption 8 Finalists - (1989/56/1807)
2010 PARC XIII Champions - (25/341/1989)

Over The Bump
Reply With Quote
Reply


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 11:55.

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