Go to Post This is what I love about FIRST everyone helps and asks why later. - Kyle [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 14-05-2014, 18:04
Nate Laverdure's Avatar
Nate Laverdure Nate Laverdure is offline
Registered User
FRC #2363
Team Role: Coach
 
Join Date: Apr 2005
Rookie Year: 1999
Location: Newport News, VA
Posts: 831
Nate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond repute
Re: We built a 6-CIM Kiwi Drive. Criticisms please!

I'll have a hard time answering these but I'll give it a shot; my ability to converse intelligently about programming is very limited.
Quote:
Originally Posted by Ether View Post
1) what was your driver interface? e.g. did you just give the driver direct access to the 3 degrees of freedom (fwd/rev, strafe R/L, rotate), or did you put a layer on top of that to abstract it to a more intuitive level? one mode or several? etc
Just two modes:
Robot-centric control allowed the the driver to adjust the setpoint of the PID loops for the 3 DOFs you listed.
Field-centric control added a layer of abstraction: the translation DOFs became north/south and east/west.

My understanding is that teams attempt these kind of field-centric control schemes all the time, but the drift in FRC-grade gyros often makes them unusable after ~10 seconds. Our original intent was to counteract this by integrating the data from multiple gyros with robust "sensor fusion."
Quote:
Originally Posted by Ether View Post
2) Did you derive the inverse kinematics from first principles, or did you refer to available papers on this topic?
I made sure the literature was provided, but I'm fairly certain my programming student derived everything from scratch. I believe he also threw out a couple of the WPI libraries and rewrote them. The often-spotlighted Matt Kline quote comes to mind: "A good programmer can look at a library, decide he hates it, and code everything from scratch. An amazing programmer can look at a library, decide he hates it, but realize the time it will save him and learn to use it." I hope to work on this with him next year.
Quote:
Originally Posted by Ether View Post
3) Why was field-centric problematic? Were you having gyro drift problems, or did you encounter difficulties with the programming?
I believe even the KOP gyro was fairly stable. Two main problems stick out in my memory:
-- Issues with communicating with the IMUs via any of the available protocols. One of the IMUs had an on-board microprocessor that supposedly provided built-in sensor integration, but we were never able to get access to this predigested data. We lost ~2 weeks on this. We ended up duplicating this capability by building a Kalman filter that ran on the cRio, ready to recieve the raw input from multiple sensors. I don't quite remember the rest of the story, but in the end we were using only the KOP gyro.
-- Whatever this was. We lost another 1.5 weeks on this.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-05-2014, 18:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
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: We built a 6-CIM Kiwi Drive. Criticisms please!

Quote:
Originally Posted by Nate Laverdure View Post
the drift in FRC-grade gyros often makes them unusable after ~10 seconds.
Did you try all the suggested ways to mitigate this?

- make sure your robot is perfectly still when the gyro is being calibrated ("still" as in "not moving" and "not vibrating (e.g. compressor off)")

- make sure the gyro is at operating temperature before calibrating

- add a button for the driver to re-zero the gyro when the bot is pointing in the zero direction.

Quote:
I made sure the literature was provided, but I'm fairly certain my programming student derived everything from scratch.
Would he be interested in posting his equations for discussion on this forum? It's possible they were not exactly correct, and this could have affected your attempt to implement field-centric control.


Quote:
I believe he also threw out a couple of the WPI libraries and rewrote them.
I don't think the WPILib has any functions that would be usable for your 3-wheel asymmetric kiwi arrangement.


Reply With Quote
  #3   Spotlight this post!  
Unread 14-05-2014, 20:18
Nate Laverdure's Avatar
Nate Laverdure Nate Laverdure is offline
Registered User
FRC #2363
Team Role: Coach
 
Join Date: Apr 2005
Rookie Year: 1999
Location: Newport News, VA
Posts: 831
Nate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond repute
Re: We built a 6-CIM Kiwi Drive. Criticisms please!

Quote:
Originally Posted by Ether View Post
Did you try all the suggested ways to mitigate [gyro drift]?
I believe so. The "calibrate only when compressor is off" suggestion is an excellent one that I hadn't heard before. I understand that the quality of the KOP gyro varies considerably from batch to batch, and I think we got a good one.
Quote:
Originally Posted by Ether View Post
Would he be interested in posting his equations for discussion on this forum?
I will ask. He's going to be my intern this summer, so I can assign him this task as a special project
Quote:
Originally Posted by Ether View Post
I don't think the WPILib has any functions that would be usable for your 3-wheel asymmetric kiwi arrangement.
Excellent catch! We accounted for the asymmetry in the control design.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-05-2014, 20:29
cxcad cxcad is offline
Registered User
FRC #1683 (Techno Titans)
Team Role: Alumni
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Johns Creek
Posts: 132
cxcad will become famous soon enoughcxcad will become famous soon enough
Re: We built a 6-CIM Kiwi Drive. Criticisms please!

Why not build a tex-coast drive? From what I read and understand is that you do not need fancy machinery to build it. I believe 624 did it without CNC.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-05-2014, 19:19
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: We built a 6-CIM Kiwi Drive. Criticisms please!

Quote:
Originally Posted by cxcad View Post
Why not build a tex-coast drive?
Stop calling it that, it's unneeded and confuses people.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
Reply With Quote
  #6   Spotlight this post!  
Unread 14-05-2014, 20:38
Caleb Sykes's Avatar
Caleb Sykes Caleb Sykes is offline
Registered User
FRC #4536 (MinuteBots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: St. Paul, Minnesota
Posts: 1,053
Caleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond repute
Re: We built a 6-CIM Kiwi Drive. Criticisms please!

Quote:
Originally Posted by Nate Laverdure View Post
I believe so. The "calibrate only when compressor is off" suggestion is an excellent one that I hadn't heard before. I understand that the quality of the KOP gyro varies considerably from batch to batch, and I think we got a good one.

I will ask. He's going to be my intern this summer, so I can assign him this task as a special project

Excellent catch! We accounted for the asymmetry in the control design.
Would you mind giving the relative positions/orientations of the wheels, I am trying to determine your theoretical max velocity in any given direction. My guesses are (back center wheel at (0,0) and oriented east/west):
front left: position = (-16,-25)in oriented 22.5 degrees west of north
front right: position = (16,-25)in oriented 22.5 degrees east of north

EDIT: changed front and back to reflect Nate's response.

Last edited by Caleb Sykes : 14-05-2014 at 21:57.
Reply With Quote
  #7   Spotlight this post!  
Unread 14-05-2014, 21:25
Nate Laverdure's Avatar
Nate Laverdure Nate Laverdure is offline
Registered User
FRC #2363
Team Role: Coach
 
Join Date: Apr 2005
Rookie Year: 1999
Location: Newport News, VA
Posts: 831
Nate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond repute
Re: We built a 6-CIM Kiwi Drive. Criticisms please!

Quote:
Originally Posted by inkling16 View Post
Would you mind giving the relative positions/orientations of the wheels, I am trying to determine your theoretical max velocity in any given direction. My guesses are...
BOLD ITEMS ARE EDITED TO ADDRESS CONFUSION:
back middle: position = (0,0) oriented west
front right: position = (-15.9,-18.5)in oriented 30 degrees west of north
front left: position = (15.9,-18.5)in oriented 30 degrees east of north

There's 120 degrees between the directions of each neighboring wheel.

Last edited by Nate Laverdure : 14-05-2014 at 21:52.
Reply With Quote
  #8   Spotlight this post!  
Unread 14-05-2014, 21:47
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
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: We built a 6-CIM Kiwi Drive. Criticisms please!

Quote:
Originally Posted by Nate Laverdure View Post
The wide-set front wheels ensured that a very small amount of weight was cantilevered outside of the supported triangle.
Quote:
Originally Posted by Nate Laverdure View Post
back left: position = (-15.9,-18.5)in oriented 30 degrees west of north
back right: position = (15.9,-18.5)in oriented 30 degrees east of north
To facilitate dialog and minimize confusion, are the wide-set wheels front or back?



Reply With Quote
  #9   Spotlight this post!  
Unread 14-05-2014, 21:49
Nate Laverdure's Avatar
Nate Laverdure Nate Laverdure is offline
Registered User
FRC #2363
Team Role: Coach
 
Join Date: Apr 2005
Rookie Year: 1999
Location: Newport News, VA
Posts: 831
Nate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond repute
Re: We built a 6-CIM Kiwi Drive. Criticisms please!

Quote:
Originally Posted by Ether View Post
To facilitate dialog and minimize confusion, are the wide-set wheels front or back?
C'mon Ether. You know an omnidirectional robot has no front or back.
Reply With Quote
  #10   Spotlight this post!  
Unread 14-05-2014, 22:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
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: We built a 6-CIM Kiwi Drive. Criticisms please!

[edit]OBE. I see you edited your prior post[/edit]



Last edited by Ether : 14-05-2014 at 22:10.
Reply With Quote
  #11   Spotlight this post!  
Unread 14-05-2014, 22:45
Kingland093 Kingland093 is offline
Registered User
FRC #4215 (Trinity Tritons)
Team Role: Alumni
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Minnesota
Posts: 107
Kingland093 will become famous soon enough
Re: We built a 6-CIM Kiwi Drive. Criticisms please!

The drivetrain looks good!

I would recommend having lots of driver training. My team had a similar issue as you guys in which we lost a lot of time early on in the build season and had very little time for driver training (about 2 hours total) and that killed us at our regional. To me, it's not as much what you're driving but how you drive it.

Hope this helps
__________________
McGill University Mechanical Engineering Class of 2020
FRC 4215: Trinity Tritons 2013-2016 (Programmer, Strategy, Driver)


2015 MRI Winner (with 3130, 2052, and 2531)
2015 MN State Championship Winner (with 2512 & 3130)
2015 Double DECC'er Winner (with 3130 & 525)
2015 Northern Lights Winner (with 3130 & 525)
Reply With Quote
  #12   Spotlight this post!  
Unread 14-05-2014, 21:51
Caleb Sykes's Avatar
Caleb Sykes Caleb Sykes is offline
Registered User
FRC #4536 (MinuteBots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: St. Paul, Minnesota
Posts: 1,053
Caleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond repute
Re: We built a 6-CIM Kiwi Drive. Criticisms please!

Quote:
Originally Posted by Nate Laverdure View Post
Close.
Well, in one direction at least.

Okay, I was thinking that the back wheels were at 22.5 degrees because the 80-20 mounting plates on the back end and on the 45 degree piece looked similar. That makes for a much simpler problem.

This makes me curious though, has anyone ever done a kiwi drive with the wheels not all oriented at 120 degree angles relative to each other?
Reply With Quote
  #13   Spotlight this post!  
Unread 14-05-2014, 21:57
Nate Laverdure's Avatar
Nate Laverdure Nate Laverdure is offline
Registered User
FRC #2363
Team Role: Coach
 
Join Date: Apr 2005
Rookie Year: 1999
Location: Newport News, VA
Posts: 831
Nate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond repute
Re: We built a 6-CIM Kiwi Drive. Criticisms please!

Quote:
Originally Posted by inkling16 View Post
Okay, I was thinking that the back wheels were at 22.5 degrees because the 80-20 mounting plates on the back end and on the 45 degree piece looked similar. That makes for a much simpler problem.
One's a 60-deg plate and the other is a 75-deg plate. In the "rolling chassis" photo the bright white gusset plates are 3D-printed for rapid assembly, and they were replaced later with waterjetted aluminum.
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 10:15.

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