Go to Post Start simple and build up. - Mark McLeod [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 01-06-2015, 12:33 PM
sgosiaco sgosiaco is offline
Registered User
FRC #5107
 
Join Date: Dec 2014
Location: Upland, CA
Posts: 4
sgosiaco is an unknown quantity at this point
Quote:
Originally Posted by thinker&planner View Post
Being the driver, and liking tank style, I requested that we control (not drive) our robot with tank-style controls. We used an Xbox controller and had the left-y control the left side forward/backwards and the right-y for the right side. The strafing was controlled by the triggers, which were analog on the controller that we used. If we do it again, I would use two joysticks in a tank formation and modify the triggers to be analog (or use the x-axis of one of them for strafing).

The trick was averaging in the strafing at the same time, which our amazing programmer had a true "Eureka!" moment when she figured it out. Her method provides a more "natural" way (if you naturally like tank-style controls) for mecanum the full mobility of mecanum still retained.

I'll try to find the algorithm and put it here soon.
If you could possibly post the code for that, that would be fantastic. I've been looking for a tank drive solution for mecanums and have yet to find code for a setup like it.
  #17   Spotlight this post!  
Unread 01-06-2015, 01:51 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,997
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: Which controler for driving mecanum?

Quote:
Originally Posted by sgosiaco View Post
If you could possibly post the code for that, that would be fantastic. I've been looking for a tank drive solution for mecanums and have yet to find code for a setup like it.
Take a look at post#13 in this thread.

http://www.chiefdelphi.com/forums/sh...4&postcount=13

Ask for further explanation if needed.


  #18   Spotlight this post!  
Unread 01-06-2015, 03:40 PM
sgosiaco sgosiaco is offline
Registered User
FRC #5107
 
Join Date: Dec 2014
Location: Upland, CA
Posts: 4
sgosiaco is an unknown quantity at this point
Quote:
Originally Posted by Ether View Post
Take a look at post#13 in this thread.

http://www.chiefdelphi.com/forums/sh...4&postcount=13

Ask for further explanation if needed.


Ah didn't notice that earlier. Thanks for the help! I post again if I need more help.
  #19   Spotlight this post!  
Unread 01-06-2015, 04:21 PM
chrisfl chrisfl is offline
Registered User
FRC #1991 (Dragons)
Team Role: Leadership
 
Join Date: Dec 2013
Rookie Year: 2006
Location: Connecticut
Posts: 87
chrisfl is a name known to allchrisfl is a name known to allchrisfl is a name known to allchrisfl is a name known to allchrisfl is a name known to allchrisfl is a name known to all
Re: Which controler for driving mecanum?

Our team has used an xbox controller for all of our functions with one driver since at least 2011. 3 of the years we used mecanum and we would have the left joystick/gamepad control forward-back and side-side sliding motion. We then would use the 2 triggers to control an angular turn around the center of our chassis. This was REALLY easy to use and I was able to drive like a pro my first time with the robot on the ground.
  #20   Spotlight this post!  
Unread 01-18-2015, 07:28 AM
matthewdenny's Avatar
matthewdenny matthewdenny is offline
Registered User
FRC #6054 (Dukes)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 306
matthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant future
Which controler for driving mecanum?

We use 2 joysticks. One for each side of the robot like tank drive. However we use the sum of x axis as the strafe. To rotate you just have a difference in y axis.

We also have an option to divide both axis inputs from the joysticks by 2 to give more careful fine control when pressing the triggers.

Last edited by matthewdenny : 01-18-2015 at 07:38 AM.
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 05:24 AM.

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