Go to Post I'm a programmer by training and inclination, so my mechanical ideas are sometimes rather, um, loosely constrained by physical reality. - Alan Anderson [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
  #16   Spotlight this post!  
Unread 22-04-2014, 20:17
Tyler2517's Avatar
Tyler2517 Tyler2517 is offline
ShortOnes
AKA: Tyler Gibb
FRC #2517 (Evergreen Robotics)
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Vancouver, WA
Posts: 203
Tyler2517 has a spectacular aura aboutTyler2517 has a spectacular aura aboutTyler2517 has a spectacular aura about
Re: The Perfect swerve

Yeah you would need 2 mice to have the rotation control. As far as i know my mouse can track on the fields carpet extremely well. I wonder if they would loss calibration over time.
  #17   Spotlight this post!  
Unread 22-04-2014, 20:23
theawesome1730's Avatar
theawesome1730 theawesome1730 is offline
Registered User
FRC #1730 (Team Driven)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Lee's Summit, MO
Posts: 317
theawesome1730 will become famous soon enough
Re: The Perfect swerve

Quote:
Originally Posted by Ether View Post
Field-centric is about robot angular orientation. How are you planning to measure robot angular orientation with a single mouse? Won't you need two?


I was thinking the same thing. I suppose a team could create a device using a laser and receiver from a gaming mouse and something like a scroll wheel mounted sideways and controlled by the thumb with the purpose of changing angle relative to the field. The programming would be complex but the results could be good.
__________________



2015 GKC Engineering Inspiration
2015 Colorado Winners
  #18   Spotlight this post!  
Unread 22-04-2014, 20:34
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,126
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 Tyler2517 View Post
Yeah you would need 2 mice to have the rotation control. As far as i know my mouse can track on the fields carpet extremely well. I wonder if they would loss calibration over time.
I wonder what their dynamic response capability is. Like if you take a hit.


  #19   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,371
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.
  #20   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,126
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.


  #21   Spotlight this post!  
Unread 22-04-2014, 20:54
Dunngeon Dunngeon is offline
Pumped
AKA: Ryan
FRC #0973 (Greybots)
Team Role: College Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Cal Poly San Luis Obispo
Posts: 299
Dunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond repute
Re: The Perfect swerve

Quote:
Originally Posted by Ether View Post
Field-centric is about robot angular orientation. How are you planning to measure robot angular orientation with a single mouse? Won't you need two?


You would, in order to get the data needed
__________________
(2015-?): 973
(2012-2015): 955
  #22   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).
  #23   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,371
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.
  #24   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,371
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.
  #25   Spotlight this post!  
Unread 22-04-2014, 22:27
T^2 T^2 is offline
Registered User
FRC #5499
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Berkeley
Posts: 219
T^2 has a reputation beyond reputeT^2 has a reputation beyond reputeT^2 has a reputation beyond reputeT^2 has a reputation beyond reputeT^2 has a reputation beyond reputeT^2 has a reputation beyond reputeT^2 has a reputation beyond reputeT^2 has a reputation beyond reputeT^2 has a reputation beyond reputeT^2 has a reputation beyond reputeT^2 has a reputation beyond repute
Re: The Perfect swerve

Quote:
Originally Posted by Dunngeon View Post
You would, in order to get the data needed
Some mice, such as the Razer Taipan, use both a laser and an optical sensor. Theoretically you could use the combination to detect rotation.
  #26   Spotlight this post!  
Unread 22-04-2014, 23:15
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,126
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 T^2 View Post
Some mice, such as the Razer Taipan, use both a laser and an optical sensor. Theoretically you could use the combination to detect rotation.
How ?


  #27   Spotlight this post!  
Unread 22-04-2014, 23:50
cadandcookies's Avatar
cadandcookies cadandcookies is offline
Director of Programs, GOFIRST
AKA: Nick Aarestad
FTC #9205 (The Iron Maidens)
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Minnesnowta
Posts: 1,563
cadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond reputecadandcookies has a reputation beyond repute
Re: The Perfect swerve

Quote:
Originally Posted by Ether View Post
How ?


I would assume that the idea is that if there are two sensors, there's a displacement between them and that could somehow be used to derive an angle. However since the two sensors don't have a fixed reference point I don't really see how this would actually be able to work (though it's also possible that I'm completely out of my depth here, which is actually the most likely scenario).
__________________

Never assume the motives of others are, to them, less noble than yours are to you. - John Perry Barlow
tumblr | twitter
'Snow Problem CAD Files: 2015 2016
MN FTC Field Manager, FTA, CSA, Emcee
FLL Maybe NXT Year (09-10) -> FRC 2220 (11-14) -> FTC 9205(14-?)/FRC 2667 (15-16)
VEXU UMN (2015-??)
Volunteer since 2011
2013 RCA Winner (North Star Regional) (2220)
2016 Connect Award Winner (North Super Regional and World Championship) (9205)
  #28   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
  #29   Spotlight this post!  
Unread 23-04-2014, 00:50
s_forbes's Avatar
s_forbes s_forbes is offline
anonymous internet person
FRC #0842 (Falcon Robotics)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Phoenix, AZ
Posts: 1,159
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.
  #30   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.
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 13:53.

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