Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Trajectory Drive for both swerve and mecanum drive (http://www.chiefdelphi.com/forums/showthread.php?t=153343)

RaphaelMetz 09-01-2017 20:21

Trajectory Drive for both swerve and mecanum drive
 
Hello,

My team is finalizing whether or not we will use a swerve or mecanum drive. I have been researching how one would code to follow a set of parameterized positions -- a trajectory with each drive train, and would really appreciate some guidance.

If you have any comments, questions, or suggestions, I would love to hear them!

Happy building!

Cothron Theiss 09-01-2017 20:29

Re: Trajectory Drive for both swerve and mecanum drive
 
Have you built, programmed and driven a Swerve in the past several off-seasons with your team? If the answer's no, then you should NOT attempt a Swerve drive for your first time in the build season. This is not a slight against your team's capabilities. This is just an observation that Swerve is one of the most difficult things to pull off in FRC, and it requires several years of designs and iterations and reiterations to get Swerve to the point where it's actually beneficial.

Also, in my not-so-humble opinion, mecanum is a waste of time. But that's for your team to decide.

RaphaelMetz 09-01-2017 20:49

Re: Trajectory Drive for both swerve and mecanum drive
 
Okay, will definitely keep in mind, thank you for your input.

Poseidon5817 09-01-2017 21:39

Re: Trajectory Drive for both swerve and mecanum drive
 
Quote:

Originally Posted by RaphaelMetz (Post 1628267)
Okay, will definitely keep in mind, thank you for your input.

If you do decide to jump on the swerve train feel free to PM me if you have any questions regarding the math behind how a swerve base moves.

RaphaelMetz 09-01-2017 21:47

Re: Trajectory Drive for both swerve and mecanum drive
 
Thank you, I will definitely take advantage of your offer

Fletch1373 09-01-2017 22:04

Re: Trajectory Drive for both swerve and mecanum drive
 
Quote:

Originally Posted by Cothron Theiss (Post 1628256)
Also, in my not-so-humble opinion, mecanum is a waste of time. But that's for your team to decide.

Out of curiosity, why do you consider mecanum to be a waste of time?

samthesnake 09-01-2017 22:48

Re: Trajectory Drive for both swerve and mecanum drive
 
It's so hard to play against defense when you are limited to a mecanum drive. When a team pushes you, you can not side shift over like you can with swerve. Name an Einstein robot that used mecanums in a defense heavy game, because I can't think of one. The majority of Einstein robots (90+ percent) in defense heavy games are swerve or some kind of tank drive like West Coast Drive. Also, if you are a low resource team, you will not be picked to play defense if you have a mecanum drive if there are teams available with better swerve or tank systems. That's just my opinion, though.

J_B_Wood 09-01-2017 22:56

Re: Trajectory Drive for both swerve and mecanum drive
 
Quote:

Originally Posted by samthesnake (Post 1628346)
It's so hard to play against defense when you are limited to a mecanum drive. When a team pushes you, you can not side shift over like you can with swerve. Name an Einstein robot that used mecanums in a defense heavy game, because I can't think of one. The majority of Einstein robots (90+ percent) in defense heavy games are swerve or some kind of tank drive like West Coast Drive. Also, if you are a low resource team, you will not be picked to play defense if you have a mecanum drive if there are teams available with better swerve or tank systems. That's just my opinion, though.

Hey, another member from 1389 here. The idea would be to use the versadrop modules (http://www.vexrobotics.com/vexpro/all/217-4824.html) to switch between mecanum (for lateral alignment with boiler/airship) and tank drive for getting around defense and traversing the field.

Poseidon5817 09-01-2017 23:04

Re: Trajectory Drive for both swerve and mecanum drive
 
I could have sworn faust1706 made a post about this a while back, but I was unable to find it.

Alternatively, you can check out this thread, which may be what you're looking for.

Cothron Theiss 10-01-2017 02:13

Re: Trajectory Drive for both swerve and mecanum drive
 
Quote:

Originally Posted by Fletch1373 (Post 1628312)
Out of curiosity, why do you consider mecanum to be a waste of time?

This thread has a lot of arguments and examples showing why teams should use drop center tank drives over mecanum or H-drive or Butterfly or Octocanum or Butterslide or what have you. If you're still interested, you can shoot me a PM. I don't want to derail this thread.

ollien 10-01-2017 03:53

Re: Trajectory Drive for both swerve and mecanum drive
 
Quote:

Originally Posted by Cothron Theiss (Post 1628404)
This thread has a lot of arguments and examples showing why teams should use drop center tank drives over mecanum or H-drive or Butterfly or Octocanum or Butterslide or what have you. If you're still interested, you can shoot me a PM. I don't want to derail this thread.

Did you intend to link to a thread? There's no link.

Jpatterson1710 10-01-2017 05:32

Re: Trajectory Drive for both swerve and mecanum drive
 
Quote:

Originally Posted by ollien (Post 1628410)
Did you intend to link to a thread? There's no link.

I believe he was referring to this thread:
https://www.chiefdelphi.com/forums/s...d.php?t=153231

Foster 10-01-2017 05:45

Re: Trajectory Drive for both swerve and mecanum drive
 
Quote:

Originally Posted by RaphaelMetz (Post 1628253)
Hello,

My team is finalizing whether or not we will use a swerve or mecanum drive. I have been researching how one would code to follow a set of parameterized positions -- a trajectory with each drive train, and would really appreciate some guidance.

If you have any comments, questions, or suggestions, I would love to hear them!

Happy building!

Reach out to Sab-bot-age Team 1640. They have run swerve for years in labview and Java. There is a ton of info on their site http://team1640.com

Swerve isn't for the faint of heart, but the results are pretty amazing.

MARS_James 10-01-2017 07:26

Re: Trajectory Drive for both swerve and mecanum drive
 
I am not a programmer and never claimed to be one but i have previously been on a team that used mecanums for several years and one thing you are going to want is a gyro to help your robot know where it is. Mecanums have a tendency to not drive perfectly straight and for a game with this much precision that slight drift in auto could mean 60 points

Cothron Theiss 10-01-2017 15:42

Re: Trajectory Drive for both swerve and mecanum drive
 
Quote:

Originally Posted by ollien (Post 1628410)
Did you intend to link to a thread? There's no link.

Quote:

Originally Posted by Jpatterson1710 (Post 1628415)
I believe he was referring to this thread:
https://www.chiefdelphi.com/forums/s...d.php?t=153231

Woops, I totally missed that. I meant to go back and hyperlink but never did. And yes, that thread is the one I was referring to. Thank you.

This is what I get for posting at 2 in the morning.


All times are GMT -5. The time now is 23:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi