Go to Post Given a choice between giving a man a fish and teaching him to fish, you always want to teach them to fish. But sometimes that involves showing him how to put the worm on the hook first. - dlavery [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-07-2011, 15:09
staplemonx's Avatar
staplemonx staplemonx is offline
The Idea Guy
AKA: JJ Biel-Goebel
FRC #1389 (The Body Electric)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Washington DC
Posts: 248
staplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond repute
Has anyone ever used a Computer Mouse to locate themselves on the field

I have worked on an inertia navigation system for aircraft (http://en.wikipedia.org/wiki/Inertial_navigation_system) and was thinking of how to do something similar on the cheap. Last year I was able to see how different teams located themselves on the field for autonomous systems. Some worked well and others, eh...

So I am curious if anyone has ever tried using one or more laser computer mice to replicate an INS system. As long as my tolerance is over 12 inches in the x and y it should work great. In fact if I put two or three on their and was really picky about my starting position I bet it could hold a tolerance of less than a few inches. It’s cheap, the drivers exist and it does not rely on any external references.

Any thoughts?
__________________
crazy engineer
www.jjbiel-goebel.com
helping team 1389
http://team1389.com/
  #2   Spotlight this post!  
Unread 31-07-2011, 15:29
rahilm's Avatar
rahilm rahilm is offline
Registered User
AKA: Rahil Mehta
FRC #0668 (The Apes of Wrath)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2007
Location: San Jose, CA
Posts: 116
rahilm has a spectacular aura aboutrahilm has a spectacular aura about
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

I know team 972 tried this before they merged with our team in 2008. IIRC, they used just a mechanical mouse, where they had the ball running against the ground. I don't think they had all too much success, but it looked fairly promising. I think with laser mice, you will run into a similar problem of having to have it very close to the ground. This could have been a problem for the last two years (bumps + lip by goal for Breakaway, and lip by poles for Logomotion).
__________________
Team 668 - Apes of Wrath - 2008-2011
Team 668 - Apes of Wrath - 2011-Present (Mentor)
  #3   Spotlight this post!  
Unread 31-07-2011, 15:31
staplemonx's Avatar
staplemonx staplemonx is offline
The Idea Guy
AKA: JJ Biel-Goebel
FRC #1389 (The Body Electric)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Washington DC
Posts: 248
staplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond repute
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

Quote:
Originally Posted by rahilm View Post
This could have been a problem for the last two years (bumps + lip by goal for Breakaway, and lip by poles for Logomotion).
That makes sense.

Good to know though.

Thanks
__________________
crazy engineer
www.jjbiel-goebel.com
helping team 1389
http://team1389.com/
  #4   Spotlight this post!  
Unread 31-07-2011, 15:34
EricH's Avatar
EricH EricH is online now
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,681
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

A few teams used a follower-wheel system in 2009, using unpowered omni wheels attached to encoders or something similar.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #5   Spotlight this post!  
Unread 31-07-2011, 17:02
Colin P's Avatar
Colin P Colin P is offline
MTU Robotic Systems Enterprise
AKA: Colin Putters
FRC #0857 (Da Yooper Troopers 3771, Unbolted Puppeteers 4363)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Michigan
Posts: 154
Colin P is a splendid one to beholdColin P is a splendid one to beholdColin P is a splendid one to beholdColin P is a splendid one to beholdColin P is a splendid one to beholdColin P is a splendid one to behold
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

Quote:
Originally Posted by EricH View Post
A few teams used a follower-wheel system in 2009, using unpowered omni wheels attached to encoders or something similar.
I know some of these were used for traction control. They would compare the rotation on their powered wheel encoders to the rotation in the unpowered wheel to see if they were actually moving as fast as they thought they were (if at all).
I know team 51 had some kind of location on their drivers station in 2010. I'm not sure why they used it, but it worked pretty well.
  #6   Spotlight this post!  
Unread 31-07-2011, 16:14
lemiant's Avatar
lemiant lemiant is offline
the Dreamer
AKA: Alex
FRC #4334 (Alberta Tech Alliance)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Calgary, AB, Canada
Posts: 562
lemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond repute
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

This has been my pet project for a while. As long as your robot pivots around a single point and doesnt strafe, then a follower wheel and a high accuracy gyro should be able to integrate for position. Alternatively if you can find a high speed trackball (over 15fps, which I have so far been unable to do), you could use that and strafing wouldn't be an issue.

If you are really interested in using a laser mouse, i would suggest looking up the razor gaming mouse (as it is the only one that i know is fast enough), then milling it a plastic mount with rounded edges to get over bumps, and spiring tensioning the mount against the ground.
  #7   Spotlight this post!  
Unread 31-07-2011, 16:30
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,976
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

(Laser mice don't actually use lasers. And in 2011 "lasers" were not allowed. FWIW.)

Anyway, if this were combined with some distance sensors (I'm thinking ultrasonic) you should be able to recalibrate your position from time to time, when conditions are 'right'. Add odometry and a 2-axis accelerometer and you might be onto something...
__________________

I am N2IRZ - What's your callsign?
  #8   Spotlight this post!  
Unread 31-07-2011, 17:00
lemiant's Avatar
lemiant lemiant is offline
the Dreamer
AKA: Alex
FRC #4334 (Alberta Tech Alliance)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Calgary, AB, Canada
Posts: 562
lemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond repute
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

Quote:
Originally Posted by DonRotolo View Post
(Laser mice don't actually use lasers. And in 2011 "lasers" were not allowed. FWIW.)

Anyway, if this were combined with some distance sensors (I'm thinking ultrasonic) you should be able to recalibrate your position from time to time, when conditions are 'right'. Add odometry and a 2-axis accelerometer and you might be onto something...
Why so many sensors? Im especially interested in the accelerometers, how would you use them? An accelerometer is pretty much useless for tracking given our restrictions (as I'm sure the asker knows), since you needs an impressively accurate attitude value in order to filter out gravity.

EDIT: would laser mice be allowed in the 2011 rules?
  #9   Spotlight this post!  
Unread 31-07-2011, 17:18
EricH's Avatar
EricH EricH is online now
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,681
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

Quote:
Originally Posted by lemiant View Post
Why so many sensors? Im especially interested in the accelerometers, how would you use them? An accelerometer is pretty much useless for tracking given our restrictions (as I'm sure the asker knows), since you needs an impressively accurate attitude value in order to filter out gravity.

EDIT: would laser mice be allowed in the 2011 rules?
<R02-D> prohibits any device with an exposed laser. I highly doubt that you could argue that the mouse's optics are not exposed.

BTW, a number of teams use accelerometers without any problems. Gravity is either accounted for or ignored, but the accelerometers are reasonable in cost and complexity.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #10   Spotlight this post!  
Unread 31-07-2011, 17:46
rahilm's Avatar
rahilm rahilm is offline
Registered User
AKA: Rahil Mehta
FRC #0668 (The Apes of Wrath)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2007
Location: San Jose, CA
Posts: 116
rahilm has a spectacular aura aboutrahilm has a spectacular aura about
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

Quote:
Originally Posted by EricH View Post
<R02-D> prohibits any device with an exposed laser. I highly doubt that you could argue that the mouse's optics are not exposed.

BTW, a number of teams use accelerometers without any problems. Gravity is either accounted for or ignored, but the accelerometers are reasonable in cost and complexity.
Using accelerometers to yield position though would be fairly inaccurate. Integrating once to get velocity shouldn't be too bad, but the second integration won't be too accurate, especially considering that you're going to be 1 processor cycle behind (time wise) on position.

Edit: This is what I mean by being 1 processor cycle behind. To integrate, you basically have to use Reimann sums in this case. For best accuracy, you'd want trapezoidal sums, so for 1 position value, you need 2 velocity values, so 3 acceleration values. This means you'd have to integrate acceleration for 2 cycles to get the two velocity values required for a single position value, putting you 1 cycle behind realtime.
__________________
Team 668 - Apes of Wrath - 2008-2011
Team 668 - Apes of Wrath - 2011-Present (Mentor)

Last edited by rahilm : 31-07-2011 at 17:53.
  #11   Spotlight this post!  
Unread 31-07-2011, 20:37
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
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: Has anyone ever used a Computer Mouse to locate themselves on the field

Quote:
Originally Posted by rahilm View Post
...you're going to be 1 processor cycle behind (time wise) on position.

Edit: This is what I mean by being 1 processor cycle behind. To integrate, you basically have to use Reimann sums in this case. For best accuracy, you'd want trapezoidal sums, so for 1 position value, you need 2 velocity values, so 3 acceleration values. This means you'd have to integrate acceleration for 2 cycles to get the two velocity values required for a single position value, putting you 1 cycle behind realtime.

Assuming that X0 and V0 are given, and assuming that the update period dt is short enough that the acceleration is accurately approximated as a linear function of time, then the position is given by:

X1 = X0 + dt*V0 + dt2*(a1 + 2*a0)/6

X2 = X1 + dt*V1 + dt2*(a2 + 2*a1)/6

.
.
.


Xn = Xn-1 + dt*Vn-1 + dt2*(an + 2*an-1)/6



  #12   Spotlight this post!  
Unread 31-07-2011, 20:47
ratdude747's Avatar
ratdude747 ratdude747 is offline
Official Scorekeeper
AKA: Larry Bolan
no team
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Madison, IN
Posts: 1,061
ratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond repute
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

my former team (1747) once considered trying the optical mouse routine in 2009. however, getting a mouse to track on the regolith while not touching the floor was next to impossible... and the need for it wasn't there in 2010. I was on a different team in 2011 and the idea was never mentioned

If one can get the robot and the mouse to communicate effectively, the rest is code, calibration, and some vectors. good luck on the project!
__________________
Dean's List Semi-finalist 2010
1747 Harrison Boiler Robotics 2008-2010, 2783 Engineers of Tomorrow 2011, Event Volunteer 2012-current

DISCLAIMER: Any opinions/comments posted are solely my personal opinion and does not reflect the views/opinions of FIRST, IndianaFIRST, or any other organization.
  #13   Spotlight this post!  
Unread 31-07-2011, 23:19
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: Has anyone ever used a Computer Mouse to locate themselves on the field

Quote:
Originally Posted by Tristan Lall View Post
The laser rules have been a bit of a mess in the past, but the general trend has been to prohibit them if exposed. ("Exposed" is ambiguous—exposed to what, when, and on purpose?)
It's clear to me that "exposed laser" means that the laser light itself can escape the assembly in which it is generated. A "laser ring gyro" which uses a sealed optical path would be permitted (as long as it satisfied all other rules, of course).

Quote:
Originally Posted by EricVanWyk View Post
Optical Mice would not be legal by last years rules.
Which rule would rule them out?

Quote:
Originally Posted by EricVanWyk View Post
We did some visual odometry using a pair of optical mice (chips) and different lenses a while back. We were only able to get it to work at fixed focal lengths - each length requiring a different lens. We were unable to get it to work with variable lengths, but I have to admit that optics isn't my strong suit.
The TechnoKats experiments with a "telephoto mouse" system showed early promise. We eventually found that the distance from sensor to carpet was a critical parameter, and a few millimeters of variation in height ruined the calibration between measured mouse motion and actual distance traveled. An FRC robot bounces enough while driving to make accurate odometry impractical.
  #14   Spotlight this post!  
Unread 31-07-2011, 23:31
lemiant's Avatar
lemiant lemiant is offline
the Dreamer
AKA: Alex
FRC #4334 (Alberta Tech Alliance)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Calgary, AB, Canada
Posts: 562
lemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond repute
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

I think that if you placed a high speed mouse in a plastic mount with rounded sides to ride over obstacles and then pressed it against the floor with compression springs you might be able to make this work.

I have posted a CAD illustrating this (http://www.chiefdelphi.com/media/papers/2576?), and I tried to post some pictures, but for some reason they aren't showing up.
  #15   Spotlight this post!  
Unread 01-08-2011, 01:18
FRC4ME FRC4ME is offline
Registered User
FRC #0339
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Fredericksburg, VA
Posts: 324
FRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant futureFRC4ME has a brilliant future
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

In 2009 (Lunacy), 339 contacted a company that manufactured the optical sensors used in mice. They said they do not recommend their products for absolute motion tracking applications.

That doesn't mean a dedicated team couldn't get it to work, though.
__________________
Go directly to queue. Do not pass pit.
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 21:12.

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