Go to Post You will "generously donate" your game pieces into your opponent's goal. - johnr [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
  #31   Spotlight this post!  
Unread 27-03-2011, 13:59
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: The Hardest Drive System To Program:

Quote:
Originally Posted by Chris is me View Post
Programming a drive so that you CAN control all of its functions is easy.

Programming a swerve drive so that it's intuitive and easy to control those functions is not.
From your experience, how long does it take for the swerving wheels to actually orient itself to the right angle? What kind of motors are required to be able to rotate the wheels and not stress out the motors?
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #32   Spotlight this post!  
Unread 27-03-2011, 14:02
buildmaster5000 buildmaster5000 is offline
Trying to program the swerve drive
AKA: Alex
FRC #2421 (Rolling Thunder Robotics)
Team Role: Alumni
 
Join Date: May 2009
Rookie Year: 2009
Location: Northern Virginia
Posts: 207
buildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud of
Re: The Hardest Drive System To Program:

Quote:
Originally Posted by davidthefat View Post
From your experience, how long does it take for the swerving wheels to actually orient itself to the right angle? What kind of motors are required to be able to rotate the wheels and not stress out the motors?
Depending on the gear ratio and the distance required, about .5 second is a reasonable estimate. We used swerve and didnt use PID loops without a visible performance loss. Using window motors and the wildswerve pods, we probably averaged .25 seconds between posisitons using window motors. We also limited the wheel to only have a 180 degree range of rotation.
__________________
-Alex



2010 Washington DC Regional: Engineering Excellence Award

Last edited by buildmaster5000 : 27-03-2011 at 14:08. Reason: more details
  #33   Spotlight this post!  
Unread 27-03-2011, 14:04
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,621
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: The Hardest Drive System To Program:

Quote:
Originally Posted by davidthefat View Post
From your experience, how long does it take for the swerving wheels to actually orient itself to the right angle? What kind of motors are required to be able to rotate the wheels and not stress out the motors?
I haven't built a swerve out of "FRC parts", but this depends on your coefficient of friction and number of wheels. What motors and gearing you can use depends on how fast you want the pivots to be able to rotate and what tread material you use.

That said, with proper gearing I've heard of teams using anything from Window motors to the FP.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
  #34   Spotlight this post!  
Unread 27-03-2011, 14:16
Duncan Macdonald's Avatar
Duncan Macdonald Duncan Macdonald is offline
Globe Motor Fan Club
FRC #0610 (Crescent Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Vancouver, Canada
Posts: 190
Duncan Macdonald has a reputation beyond reputeDuncan Macdonald has a reputation beyond reputeDuncan Macdonald has a reputation beyond reputeDuncan Macdonald has a reputation beyond reputeDuncan Macdonald has a reputation beyond reputeDuncan Macdonald has a reputation beyond reputeDuncan Macdonald has a reputation beyond reputeDuncan Macdonald has a reputation beyond reputeDuncan Macdonald has a reputation beyond reputeDuncan Macdonald has a reputation beyond reputeDuncan Macdonald has a reputation beyond repute
Send a message via MSN to Duncan Macdonald
Re: The Hardest Drive System To Program:

Quote:
Originally Posted by davidthefat View Post
I just realized why more teams don't do swerve: it is hard to do the actually mechanical fabrication than it is to code it. I am not sure if my team is capable of producing such a drive system. Most of the mechanical guys are seniors and are graduating. My mentor will not let me learn any mechanical skills because he deems me as a too valuable of a programmer to be welding and stuff.

The most "advanced" drive we can fabricate will probably be a mecanum drive, possibly an omni drive.

But, if there are any teams that are willing to invite me to help program something more advanced, I will be glad to do it. I really have our doubts for next year. Chances are, we will go with our 6 wheel again (which I loath)
you could fund raise really hard and help your mechanical team out if you really want to build one.http://www.team221.com/order.php?cat=3

I wouldn't recommend doing something solely because it is hard. Most teams do a cost/time vs return analysis and decide that focusing on an effective manipulator and simple drive will result in a better final product. We did this and decided that in this game* a mecanum has some advantages when hanging tubes and we wanted to add it to our bag of tricks.

*Chose not to in '07 because we anticipated heavy defense
__________________
Queen's Applied Science '13, Applied Mathematics
  #35   Spotlight this post!  
Unread 27-03-2011, 19:04
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,188
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: The Hardest Drive System To Program:

Quote:
Originally Posted by Siri View Post
I'd say Unicorn drive is up there. There's so many modes available: tank (uncommon if snake works), full crab (all wheels pointed same direction), snake (front & back point opposite directions), center spin, arbitrary center spin, each potentially with x and y-orientation.

Quote:
Originally Posted by Ether View Post
You left out the most interesting one: full 3-degree-of-freedom control, like a mecanum or omni.
The full 3 degree of freedom mode makes all other modes, except for tank which is inferior anyways and should be left out, redundant. That is not to say that redundancy is bad, Being able to lock into a single mode can compensate for oversensitive controls.
__________________
  #36   Spotlight this post!  
Unread 27-03-2011, 20:55
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
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: The Hardest Drive System To Program:

Quote:
Originally Posted by PAR_WIG1350 View Post
The full 3 degree of freedom mode makes all other modes, except for tank which is inferior anyways and should be left out, redundant. That is not to say that redundancy is bad, Being able to lock into a single mode can compensate for oversensitive controls.
Interestingly, all the other modes are subsets of the 3-degree-of-freedom mode. So once you have the 3-degree-off-freedom programmed, you can get the other modes just* by converting the driver interface commands to the equivalent 3 degree commands. For example, the conversion for Ackermann steering is shown here.



* "just" software. I hate that phrase. Don't you?
  #37   Spotlight this post!  
Unread 27-03-2011, 21:46
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: The Hardest Drive System To Program:

Quote:
Originally Posted by PAR_WIG1350 View Post
The full 3 degree of freedom mode makes all other modes, except for tank which is inferior anyways and should be left out, redundant. That is not to say that redundancy is bad, Being able to lock into a single mode can compensate for oversensitive controls.
Tank drive is inferior? That's a pretty interesting statement to make considering the number of Einstein teams who have run tank vs. any other system.

On what do you base tank's perceived inferiority?
  #38   Spotlight this post!  
Unread 27-03-2011, 22:45
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: The Hardest Drive System To Program:

Now, for the people that said swerve drive is hard to drive with, can you explain why? I see no reason why it would be hard to drive at all. IMHO it would be harder to maneuver a 6 wheel drive than a swerve
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #39   Spotlight this post!  
Unread 27-03-2011, 23:15
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: The Hardest Drive System To Program:

Probably this one
I can't figure out which combination of outputs make it move, let alone reach its top speed of 154 fps or Warp 9 (I am not really sure).

Seriously, I think a Field-Centric 3 degrees of freedom drive is the toughest I've seen in FIRST.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"
  #40   Spotlight this post!  
Unread 27-03-2011, 23:16
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,621
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: The Hardest Drive System To Program:

Quote:
Originally Posted by davidthefat View Post
Now, for the people that said swerve drive is hard to drive with, can you explain why? I see no reason why it would be hard to drive at all. IMHO it would be harder to maneuver a 6 wheel drive than a swerve
All I can say is build one and try it.

I agreed - until I picked up the Revolution demobot at IRI and tried to make it drive around without ramming into anyone. Wow it is hard.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
  #41   Spotlight this post!  
Unread 27-03-2011, 23:19
Josh Fox Josh Fox is offline
Registered User
AKA: Foxy
FRC #0027 (Team RUSH)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Michigan
Posts: 389
Josh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud of
Re: The Hardest Drive System To Program:

I think that all depends on how you program it and how much practice a driver has.

After 4 years of driving Team RUSH's robots, I'd like to consider myself to be a fairly competent chassis driver. That being said, I only had experience practicing and operating with 6wd. I only had one real chance to drive a swerve-based chassis. It was programmed with one stick controlling rotation and the other translation, and it was a completely different beast than standard 6wd. That being said, with more practice it's possible I would've been able to do just as much with swerve as a 6wd robot, but I wasn't since I hadn't practiced with it.
__________________
Team RUSH Alumnus and Mentor, Mechanical Engineer
  #42   Spotlight this post!  
Unread 27-03-2011, 23:22
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: The Hardest Drive System To Program:

How I interpreted the controls was that the joystick was to move around the field and the shoulder buttons were for zero point turning. The gyros (double redundancy) would orient it self relative to the driver, so when ever the driver presses down, it will come toward the driver.

That sounds a lot easier than how you described it.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #43   Spotlight this post!  
Unread 27-03-2011, 23:30
Josh Fox Josh Fox is offline
Registered User
AKA: Foxy
FRC #0027 (Team RUSH)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Michigan
Posts: 389
Josh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud of
Re: The Hardest Drive System To Program:

That definitely sounds like an interesting control method, and I've never heard it done that way.

That being said, I feel like having a set speed that the robot rotated at might not be the most efficient way of doing things.

I'm not sure though and I could be wrong, I'm not very experienced with the programming/control of swerve drives.
__________________
Team RUSH Alumnus and Mentor, Mechanical Engineer
  #44   Spotlight this post!  
Unread 27-03-2011, 23:37
Garret's Avatar
Garret Garret is offline
Standing on the Shoulders of Giants
AKA: Garret Smalley
FRC #0691 (Hart District Robotics)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2008
Location: Goleta, CA (UCSB)
Posts: 203
Garret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond reputeGarret has a reputation beyond repute
Re: The Hardest Drive System To Program:

Is swerve supposed to be more difficult than Mecanum to drive?

I don't see how it could be that difficult from the drivers perspective. We have a mecanum robot, and our driver did fine even though he had to deal with reversed controls for our first matches and was controlling all the robots functions. After that was fixed we didn't have any difficulty driving. I am trying to figure out what you mean by difficult. is there something that swerve has that makes it more difficult than mecanum.

Also our driver had no real prior practice with mecanum.
__________________
7 Years of FRC
"You students are at the top of the mountain, at the pinnacle of success, and what is it that you do?
You become the future guides to help others climb the mountain."
  #45   Spotlight this post!  
Unread 27-03-2011, 23:59
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,112
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: The Hardest Drive System To Program:

Quote:
Originally Posted by Siri View Post
The other possibility that comes to mind is Nonadrive. It's incredible, but I have no idea how complicated the programming is. (148, are you here?)
I don't know how 148 actually did it, but the way I'd program it is almost ridiculously simple. For all practical purposes, the joystick axes drive motors directly, with a single pushbutton controlling a drop wheel.
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:16.

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