Go to Post "You know you're a robotics kid when you sit on Chief Delphi and hit refresh over and over again waiting for new pictures and videos of other teams" - pwnageNick [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 22-04-2014, 20:36
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: The Perfect swerve

In 2013 looked at high end gaming mice. With swerve and the chassis orientation decoupled, there are 2 solutions of the x and y counts coming from the mouse. On competition carpet and no changes to the optics we found the accuracy to be less than needed. The optic flow algorithm is not tuned for this use. With a usb port on the roborio in 2015, A usb camera highly filtered and a more robust optic flow algorithm may yield better results. A gyro at minimum would need to be fused with the optic flow. This is all for field centric control. There are 2 paths 2 look at. Sensing from the robot reference frame (gyro accelerometer fusion). Adding a world reference frame with a magnetometer or some other sensor to reference out side the robot frame of reference. GPS is out. Constellation navigation has grabbed my curiosity. It's hard. In 2013 we could have reset the gyro every time we went up against the feeder station wall to correct for drift. This year we considered IMU field centric control not doable because of the constant impacts and never having time for a reset. The last thing our drivers need this year is for the field centric control to suddenly shift several degrees while being smash defended and trying to roll out. With our low designs the last several years a magnetometer location and calibration issues ruled out that solution. Fortunately for the future of swerve field centric a couple of companies have released affordable IMUs based on gyro, accelerometer and magnetometer sensors coupled with highly tuned extended state kalman filters that should handle the rough First environment. The key is constant hard and soft iron calibrations on the magnetometer sensor. I'm hoping to make this an off season project if I can get some programming students on board. I think soon a plug and play Field centric IMU solution will be available for FIRST.
  #2   Spotlight this post!  
Unread 22-04-2014, 20:47
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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 Perfect swerve

Quote:
Originally Posted by Gdeaver View Post
there are 2 solutions of the x and y counts coming from the mouse
It's not clear what you mean by 2 solutions. With a single mouse, an XY displacement could correspond to a multitude of possible robot motions.

With 2 mice, you could in theory derive all three degrees of freedom of the robot motion, if the XY readings are accurate.


  #3   Spotlight this post!  
Unread 22-04-2014, 21:01
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: The Perfect swerve

It seems to me like follower wheels shouldn't be out of the question when monitoring position, especially when used with other forms of sensory. Here is how you calculate the speeds, and this is a thread all about how to utilize and manage that information (both thanks to Ether).
  #4   Spotlight this post!  
Unread 22-04-2014, 21:23
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: The Perfect swerve

There have been several college papers written about this subject and the ones that had some success used 2 mice and a gyro. There are some crowd sourced devices on the market based on these. They work kind of on small robots and smooth surfaces going slow. Haven't seen anybody that has found a mouse solution that would work in the First environment.
  #5   Spotlight this post!  
Unread 22-04-2014, 21:25
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: The Perfect swerve

The problem with First is high G impacts.
  #6   Spotlight this post!  
Unread 23-04-2014, 00:33
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: The Perfect swerve

Quote:
Originally Posted by Gdeaver View Post
A usb camera highly filtered and a more robust optic flow algorithm may yield better results
Without specialized hardware and/or a lot of custom optimization, I'm doubtful that you'll be able to run an optical flow algorithm much faster than 15 Hz at any decent resolution. At that framerate with a robot traveling 12 ft/s, you'll see displacements of 10 inches/frame. Getting an unobstructed view of that much carpet beneath your robot seems like it would be a challenge, assuming you can even reliably track displacements that large using the texture of the carpet.
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
  #7   Spotlight this post!  
Unread 23-04-2014, 00:50
s_forbes's Avatar
s_forbes s_forbes is online now
anonymous internet person
FRC #0842 (Falcon Robotics)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Phoenix, AZ
Posts: 1,143
s_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond reputes_forbes has a reputation beyond repute
Re: The Perfect swerve

Quote:
Originally Posted by RyanCahoon View Post
Without specialized hardware and/or a lot of custom optimization, I'm doubtful that you'll be able to run an optical flow algorithm much faster than 15 Hz at any decent resolution. At that framerate with a robot traveling 12 ft/s, you'll see displacements of 10 inches/frame. Getting an unobstructed view of that much carpet beneath your robot seems like it would be a challenge, assuming you can even reliably track displacements that large using the texture of the carpet.
As an alternative method: what's the average height of a ceiling at a typical venue? The truss structures I've seen in most gymnasiums might impact an optical flow approach, but it may work better than the carpet.
  #8   Spotlight this post!  
Unread 23-04-2014, 01:45
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: The Perfect swerve

Quote:
Originally Posted by s_forbes View Post
As an alternative method: what's the average height of a ceiling at a typical venue? The truss structures I've seen in most gymnasiums might impact an optical flow approach, but it may work better than the carpet.
Astral navigation :D I really wanted to use this approach to verify the gyro readings when in view of landmarks on the ceiling, and use the gyro for orientation when the landmarks are obscured (by the truss / balls flying overhead), but we never got around to getting a camera for it (not even a stereo camera - just an Axis). If anyone ever makes any progress on this, I would love to know about it. I've only ever seen one real-world thing that boasts their use of it, and those are StarGazer localization cameras, which need specific landmarks (so this particular method of astral navigation isn't suited to be used on the playing field)

Last edited by ekapalka : 23-04-2014 at 01:53.
  #9   Spotlight this post!  
Unread 23-04-2014, 07:02
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: The Perfect swerve

What I was thinking of is to use the lights as constellations. You don't need color or features, just a filtered matrix of 1 and zero's.
  #10   Spotlight this post!  
Unread 24-04-2014, 01:09
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: The Perfect swerve

Quote:
Originally Posted by Gdeaver View Post
What I was thinking of is to use the lights as constellations. You don't need color or features, just a filtered matrix of 1 and zero's.
Integrating this with gyro readings using a Kalman filter would be a fun project.

I've thought before (it may have been mentioned before on CD) about trying to track field position based off of the driver station lights: look for 3 red/blue lights with predefined spacing between them.
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
  #11   Spotlight this post!  
Unread 24-04-2014, 08:13
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: The Perfect swerve

This year several teams have developed swerve that works very well. Right now I think the biggest problem now is not the physical swerve but the human interface and the driver. Giving the driver an extra degree of freedom really loads up the drivers brain when they are in a match and performing in a match. We over come the the human problem part of the system by going to as many off season events as we can to train our drivers. Going forward with swerve improvements needs to focus on the human part of the equation. Rock solid field centric control would be one path. A swerve simulator was posted on CD. It's primitive. A real good simulator that captures the physics of swerve could be used to help train drivers. That's what the military does. Right now I believe that a reliable IMU based on inexpensive MEMs sensors is almost there. This summer I think we will look at the IMU' and algorithms that just came to market to see if they will work.
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 02:00.

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