Go to Post 15 thread derailment points - EmileH [more]
Home
Go Back   Chief Delphi > FIRST > Robot Showcase
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 28-02-2010, 22:25
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: 1058's Field Oriented Drive

Quote:
Originally Posted by CraigHickman View Post
Wow. Your team should be incredibly proud, as that is one of the smartest drive systems I have seen in FIRST. Seriously good work.

Out of curiosity, what sensors did you throw on there? I'm guessing gyro and compass, possibly accelerometer, but I'd be curious to see how they interact, and what controls what.
The amazing thing is you really only need a gyro to do something like (beats me how you program an omni wheel drive using this implementation, never have done it or thought about).

If you know what angle you have to be (gyro angle) and the angle you want to be (controller) then you know your angle error. Your robot's turning speed should be based on that error.

But obviously it takes a lot of fine tuning to get something like what PVCMike's team has done work well. It may look pretty in the video, but our team did something similar in last years competition. The wheels of our crab drive would face the direction we pointed our joystick, and another joystick would control the direction our robot was facing. Unfortunately, it was a bit sloppy and the trailer made driving the thing horrific.
__________________
KwarQs 2423

2008 Boston Regional Rookie Allstars

http://whsrobot.blogspot.com/
  #17   Spotlight this post!  
Unread 01-03-2010, 02:04
jspatz1's Avatar
jspatz1 jspatz1 is offline
Registered User
AKA: Jeff
FRC #1986 (Team Titanium)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Lee's Summit, MO
Posts: 835
jspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond reputejspatz1 has a reputation beyond repute
Send a message via AIM to jspatz1
Re: 1058's Field Oriented Drive

We have accomplished this same field oriented steering with our swerve drive this year, and it does indeed provide some advantage with this game. Drivers tend to do well the first time they touch the stick. Its so easy even a mentor can drive it! Nice to see someone else has done it too. Great minds think alike!
__________________
  #18   Spotlight this post!  
Unread 01-03-2010, 02:12
Unsung FIRST Hero
JVN JVN is offline
@JohnVNeun
AKA: John Vielkind-Neun
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 2000
Location: Greenville, Tx
Posts: 3,159
JVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond reputeJVN has a reputation beyond repute
Re: 1058's Field Oriented Drive

Very, VERY cool. In order to make a holonomic drive useful, you need to make sure the driver can utilize it. This usually means it needs to be intuitive for the driver to use. Your implementation is absolutely fantastic.

Our team opted to make the system mechanically intuitive, whereas you solved it with some GREAT software (this is where my coworkers would mock me for always opting for mechanical complexity instead of a "line of code").

Are you using a gyro for orientation? Does it still function after going over the bump? What are you bolting on top?

-John
__________________
In the interest of full disclosure: I work for VEX Robotics a subsidiary of Innovation First International (IFI) Crown Supplier & Proud Supporter of FIRST
  #19   Spotlight this post!  
Unread 01-03-2010, 07:51
ICntIHaveRbtics's Avatar
ICntIHaveRbtics ICntIHaveRbtics is offline
VirginiaFIRST
FRC #1058 (the PVC Pirates)
Team Role: Alumni
 
Join Date: Nov 2008
Rookie Year: 2003
Location: Richmond, VA
Posts: 56
ICntIHaveRbtics is on a distinguished road
Re: 1058's Field Oriented Drive

Hey I just found this thread too! Thanks Mike!

Just putting it out there, as Brendan (BEEKMAN) said, they spent hours of time both at team meetings at at home working on this. Hours. They may have actually surpassed my amount of "FIRST dedicated time" (people who know me know that's like 75% of the hours I'm awake daily) to do this. So I just wanted to put a little more emphasis on that crazy dedication they had.

&& the frame that it's on right now isn't the frame we used. We transferred the electronics over to a new basic KOP frame and (of course) we have some PVC on top to keep balls from getting stuck on top.

Can't wait for GSR!
__________________

VirginiaFIRST Social Media and Alumni Coordinator
Former FIRSTPlace Administrative Assistant @ FIRST HQ
Virginia Commonwealth University
School of the Arts Class of 2013 - BFA Graphic Design & Certificate in Product Innovation
[2004-2006]: FLL student [2006-2010]: FRC 1058 / FIRST HQ [2010+]: VirginiaFIRST
2010 Granite State Regional Winners with teams 1073 and 1519
  #20   Spotlight this post!  
Unread 01-03-2010, 11:31
Dale's Avatar
Dale Dale is offline
Head Coach & Mentor
AKA: Dale Yocum
FRC #1540 (Flaming Chickens)
Team Role: Coach
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Portland, OR
Posts: 501
Dale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud of
Re: 1058's Field Oriented Drive

One of the biggest problems to overcome with this kind of system is gyro drift. The more turns and bumps a robot encounters the more the gyro and the code tends to drift in its understanding of where "North" (not magnetic north, just a consistent orientation) is. Noise on the analog line will also add to this...there's always noise.

When we tried doing this a few years back, with the old IFI system, we could only get good results for the first 20 seconds or so before the errors accumulated so badly as to cause the system to need recalibration. Have you noticed that to be a problem with the cRIO and it's better A/Ds? Is there a way for the driver to reset the definition of "North" if the gyros loose their way?
__________________
2016 PNW Championship Chairman's; 2016 Winner Oregon City District, 2015 PNW Championship Chairman's; 2015 PNW District Engineering Inspiration; 2015 PNW District Finalist; 2014 PNW Championship Chairman's; 2014 Championship Innovation in Controls; 2013 Chairman's (Oregon); 2013 Finalist (OKC); 2012 Winner (OKC); 2012 Chairman's (OKC); 2012 Woody Flowers (Oregon); 2011 Volunteer of the Year (Oregon); 2011 Finalist & Captain (San Diego); 2011 Innovation in Control (San Diego); 2010 & 2007 Chairman's (Oregon); 2010 Regional Champions (Colorado); 2010 Innovation in Control (Colorado); 2009 & 2008 Engineering Inspiration (Oregon); 2008 Regional Champions (Oregon); 2007 Regional Finalist (Oregon); 2005 Rookie Inspiration (PNW)
  #21   Spotlight this post!  
Unread 01-03-2010, 14:08
PVCMike PVCMike is offline
Registered User
AKA: Mike Jr.
FRC #1058 (PVC Pirates)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Londonderry NH
Posts: 65
PVCMike has a spectacular aura aboutPVCMike has a spectacular aura aboutPVCMike has a spectacular aura about
Re: 1058's Field Oriented Drive

Quote:
Originally Posted by Dale View Post
One of the biggest problems to overcome with this kind of system is gyro drift. The more turns and bumps a robot encounters the more the gyro and the code tends to drift in its understanding of where "North" (not magnetic north, just a consistent orientation) is. Noise on the analog line will also add to this...there's always noise.

When we tried doing this a few years back, with the old IFI system, we could only get good results for the first 20 seconds or so before the errors accumulated so badly as to cause the system to need recalibration. Have you noticed that to be a problem with the cRIO and it's better A/Ds? Is there a way for the driver to reset the definition of "North" if the gyros loose their way?
From what I understand through testing Brendan and Brian also discovered that through out the 2 minutes and especially going over the bump the robot would lose its calibration. To solve this they have used some additional sensors (other than the gyro) to automatically re-calibrate the gyro every so often on its own. They have also programmed in a button on the joystick so you can position the robot and click the button to recalibrate which seems to work well too. Feel free to come by our pit at GSR (Team 1058 the PVC Pirates) and ask for Brian or Brendan and they'll be able to tell you all about it!
__________________
Coming up on year 15 with the PVC Pirates!: www.team1058.com
https://www.thebluealliance.com/team/1058
  #22   Spotlight this post!  
Unread 01-03-2010, 14:36
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: 1058's Field Oriented Drive

Quote:
Originally Posted by Dale View Post
One of the biggest problems to overcome with this kind of system is gyro drift. The more turns and bumps a robot encounters the more the gyro and the code tends to drift in its understanding of where "North" (not magnetic north, just a consistent orientation) is. Noise on the analog line will also add to this...there's always noise.

When we tried doing this a few years back, with the old IFI system, we could only get good results for the first 20 seconds or so before the errors accumulated so badly as to cause the system to need recalibration. Have you noticed that to be a problem with the cRIO and it's better A/Ds? Is there a way for the driver to reset the definition of "North" if the gyros loose their way?
The combination of the 12-bit ADC on the cRIO (versus 10-bit on the older IFI system) and the faster polling rate make gyros much less susceptible to noise.

Quote:
Originally Posted by PVCMike View Post
From what I understand through testing Brendan and Brian also discovered that through out the 2 minutes and especially going over the bump the robot would lose its calibration. To solve this they have used some additional sensors (other than the gyro) to automatically re-calibrate the gyro every so often on its own. They have also programmed in a button on the joystick so you can position the robot and click the button to recalibrate which seems to work well too. Feel free to come by our pit at GSR (Team 1058 the PVC Pirates) and ask for Brian or Brendan and they'll be able to tell you all about it!
What the degree/second rating of your gyro chip? If it's already a 300 deg/sec, you could measure the drift over time. Sometimes the noise is biased in one direction, and you can offset this just by adding/subtracting a coefficient at your software at regular intervals.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
  #23   Spotlight this post!  
Unread 01-03-2010, 17:01
Nadav Zingerman Nadav Zingerman is offline
Registered User
FRC #2230
Team Role: Programmer
 
Join Date: Jul 2009
Rookie Year: 2009
Location: Israel
Posts: 90
Nadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to behold
Re: 1058's Field Oriented Drive

Isn't this just the functionality provided by the "Meccanum - Cartesian" block in WPILib (in LabVIEW) with a PID controlling the rotation input?
  #24   Spotlight this post!  
Unread 01-03-2010, 17:13
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: 1058's Field Oriented Drive

Quote:
Originally Posted by Nadav Zingerman View Post
Isn't this just the functionality provided by the "Meccanum - Cartesian" block in WPILib (in LabVIEW) with a PID controlling the rotation input?
No, the system in the video implements field oriented control. This means that when the driver pushes the joystick straight away from them, the robot moves away from the driver, regardless of it's current orientation.

The WPILib Mecanum functions are robot-centric. Pushing away from the driver on the joystick will drive the robot "forward" which may be towards the driver, away from the driver, left-to-right, right-to-left or any direction in between.


EDIT: As we're not using holonomic drive this year, I only took a brief look at the new Mecanum Cartesian VI. Looks like I missed the Gyro Angle input terminal up on top. The system discussed in this thread appears to be a more robust implementation of the same concept.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)

Last edited by Vikesrock : 01-03-2010 at 20:47.
  #25   Spotlight this post!  
Unread 01-03-2010, 17:57
indubitably's Avatar
indubitably indubitably is offline
Registered User
AKA: Ryan Guinn
FRC #2338 (Gear It Forward), FRC #1732 (Hilltoppers)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Oswego, IL
Posts: 172
indubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond repute
Re: 1058's Field Oriented Drive

Quote:
Originally Posted by Nadav Zingerman View Post
Isn't this just the functionality provided by the "Meccanum - Cartesian" block in WPILib (in LabVIEW) with a PID controlling the rotation input?
Yes actually it is the same.
Our team did driver centric/field oriented drive code also. we had it done very early and I was surprised when i updated week five and saw the code just laying there.

Oh well it was a great learning experience and allows us to fine tune it much easier.

I thought everyone that did mecanum would have used that but judging by the posts on this thread i guess not.
__________________
FRC 1732 (Hilltoppers): Mentor
FRC 2338 (Gear It Forward): Mentor/Alumnus
FRC 4096 (CTRL-Z): Mentor


Last edited by indubitably : 01-03-2010 at 18:00.
  #26   Spotlight this post!  
Unread 01-03-2010, 19:23
EgROS's Avatar
EgROS EgROS is offline
Registered User
AKA: Eric Gros
FRC #0624 (Cryptonite Robotics)
Team Role: Alumni
 
Join Date: Mar 2009
Rookie Year: 2007
Location: Katy, Tx.
Posts: 38
EgROS is an unknown quantity at this point
Re: 1058's Field Oriented Drive

Wow! That is really impressive!!!!

My team is doing a field centric controll scheme but it is nothing like this. This is really amazing!
__________________
TEAM 624 - CRyptonite Robotics
  #27   Spotlight this post!  
Unread 01-03-2010, 20:17
BEEKMAN BEEKMAN is offline
Registered User
AKA: Brendan McLeod
FRC #0190 (Gompei and the Herd)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Londonderry, NH
Posts: 138
BEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to behold
Re: 1058's Field Oriented Drive

Quote:
Originally Posted by Nadav Zingerman View Post
Isn't this just the functionality provided by the "Meccanum - Cartesian" block in WPILib (in LabVIEW) with a PID controlling the rotation input?
Not really, for one, the WPICode (if you actually read their code, is labled as "experimental" and for programmers like us, we found the bugs quite easily).....so our system is 100% fool proof, will work every time, all the time. The gyro will never walk, making it a seamless system...and a lot of fun
  #28   Spotlight this post!  
Unread 01-03-2010, 21:08
Cyberphil's Avatar
Cyberphil Cyberphil is offline
That Guy
AKA: Phil
FRC #0103 (Cybersonics)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Kintersville
Posts: 754
Cyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud of
Send a message via AIM to Cyberphil
Re: 1058's Field Oriented Drive

that is SICK!!!!!!!!!! Awesome Programming!!! Amazing job guys!
  #29   Spotlight this post!  
Unread 01-03-2010, 21:25
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: 1058's Field Oriented Drive

Very cool. I was able to drive 190's 2005 robot, which implemented the same type of control scheme. I found it was extremely easy to just pick it up and start doing some really complex maneuvers within about 15 seconds of driving it. If yours is anything like theirs, you will be driving circles around all the other bots at GSR.

To echo some of the previous questions... what type of additional sensors did you use to re-zero the gyro? I can imagine some range finders picking up the wall, but that's noisy at best. It just seems like a chore to have the driver re-zero the drive base a few times per match.

Last edited by Tom Bottiglieri : 01-03-2010 at 21:28.
  #30   Spotlight this post!  
Unread 02-03-2010, 01:04
CraigHickman
 
Posts: n/a
Re: 1058's Field Oriented Drive

Quote:
Originally Posted by BEEKMAN View Post
Not really, for one, the WPICode (if you actually read their code, is labled as "experimental" and for programmers like us, we found the bugs quite easily).....so our system is 100% fool proof, will work every time, all the time. The gyro will never walk, making it a seamless system...and a lot of fun
Now you've really spiked my interest! Do you mind sharing your method for keeping the gyro from walking? Are you re-zeroing with some kind of sensor off of the arena wall, or do you have a compass as well to aid the gyro in keeping a clean reading?
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
paper: Drive Train Field Calculations JesseK Extra Discussion 1 29-10-2009 16:34
Field-Oriented Mecanum Drive ZZII 527 Programming 6 15-01-2008 16:56
Holonomic drive train and field-based control dmlawrence Technical Discussion 20 18-11-2007 22:17
Field oriented holonomic code? chaoticprout Programming 4 24-01-2007 23:09
Science Oriented Book Recommendations Kristina Math and Science 9 19-04-2003 02:22


All times are GMT -5. The time now is 10:21.

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