Go to Post When twenty people tell you your hair is on fire, you don't need to look into a mirror to find out they're right. - IndySam [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
  #16   Spotlight this post!  
Unread 31-07-2011, 18:43
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 DonRotolo View Post
(Laser mice don't actually use lasers. FWIW.)
Very cool to know http://computer.howstuffworks.com/mouse4.htm
__________________
crazy engineer
www.jjbiel-goebel.com
helping team 1389
http://team1389.com/
  #17   Spotlight this post!  
Unread 31-07-2011, 19:05
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

Optical Mice would not be legal by last years rules.

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.

You can buy optical mice chipsets on their own, which has the benefit of allowing you to pull the actual image out - this will help you focus.
  #18   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: 8,034
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



  #19   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,063
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.
  #20   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.
  #21   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.
  #22   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.
  #23   Spotlight this post!  
Unread 01-08-2011, 01:36
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

Quote:
Originally Posted by Alan Anderson View Post
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).
I agree with respect to ring laser gyros—in fact, those are specifically permitted per the 2011 rules.

The definition question depends on the conditions under which the laser is "exposed". Couldn't you argue that because the robot is designed to point the laser at the floor from within a shielded enclosure, that the combination of floor and robot serve to completely enclose the laser? Does the presence of an obvious failure mode (overturning the robot) negate this argument? (And what if the robot compensates for this by shuttering the laser as this failure is detected?) And given that <R02> is a safety rule, is exposure defined in terms of exposure to the surroundings in general, to humans, or to the laser-sensitive parts of humans (eyes, for ordinary lasers)? Furthermore, given that lasers are (almost completely) collimated, if the start and end points of a laser are not directly in any plausible line of sight (e.g. a laser beam across an opening in the robot), is that considered exposed? And what about reflected (i.e. substantially less collimated) light from a laser? Does that figure into exposure? Finally, there's the pedantic question of whether the rule is referring to a laser (the device), the aperture of a laser device, a beam of laser light, or some combination of those, when it talks about exposure.

It's not that your interpretation is unreasonable—quite the opposite. It's just that there are a number of other interpretations that might plausibly have been intended.
  #24   Spotlight this post!  
Unread 01-08-2011, 07:51
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
Couldn't you argue that because the robot is designed to point the laser at the floor from within a shielded enclosure, that the combination of floor and robot serve to completely enclose the laser?
I reject that argument. The laser in that application is designed to shine on something outside the robot (e.g. the floor). Only an exposed laser could do that. As you point out, if the floor isn't where it's supposed to be, the light escapes.

Quote:
And given that <R02> is a safety rule, is exposure defined in terms of exposure to the surroundings in general, to humans, or to the laser-sensitive parts of humans (eyes, for ordinary lasers)?
Without further detail in the rule, it has to be interpreted as the most general possibility. While one could reasonably assume that eyes won't be underneath or inside a robot during a match, a reflective surface could be anywhere.

Quote:
Finally, there's the pedantic question of whether the rule is referring to a laser (the device), the aperture of a laser device, a beam of laser light, or some combination of those, when it talks about exposure.
I think the only reasonable answer to that question is the thing which makes a laser distinct from any other component: the laser light itself.

An easy relaxation to the "no lasers" rule would be to permit the equivalent of a cheap laser pointer by limiting the power of any emitted beam to a safe level (i.e. Class 1).
  #25   Spotlight this post!  
Unread 01-08-2011, 10:48
Garrett.d.w's Avatar
Garrett.d.w Garrett.d.w is offline
Build Lead
FRC #2733 (The Pigmice)
Team Role: Alumni
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Portland
Posts: 318
Garrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to behold
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

I am pretty sure that this was mentioned before, but because it is continuously mentioned in this thread I would like to restate it. What most people refer to as a "Laser" mouse, is really just a camera pointed down at a flat surface that tracks the movement of the unit. The red light that you see coming out of the mouse ("laser") is an LED that illuminates the surface for easier tracking. There are a few true laser mice out there that replace the LED with a laser and use a slightly different type of camera, however, these are few and far between (I can only think of 3 or 4 models).

Because most "laser" mice don't actually contain a laser, just a camera and a red LED, I am pretty sure that they are legal as long as they abide by the rules governing custom circuits.
__________________
"A mind once stretched by a thought will never regain it's original dimensions."

Optimists think the glass is half full.
Pessimists think the glass is half empty.
Engineers realize it's twice as big as it needs to be.
  #26   Spotlight this post!  
Unread 01-08-2011, 11:48
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Has anyone ever used a Computer Mouse to locate themselves on the field

Quote:
Originally Posted by Alan Anderson View Post
Which rule would rule them out?
Quote:
Originally Posted by Garrett.d.w View Post
The red light that you see coming out of the mouse ("laser") is an LED that illuminates the surface for easier tracking. There are a few true laser mice out there that replace the LED with a laser and use a slightly different type of camera, however, these are few and far between (I can only think of 3 or 4 models).
My apologies - the models I have worked with had actual lasers.
  #27   Spotlight this post!  
Unread 02-08-2011, 14:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
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 Ether View Post
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
I forgot to post the computation for Vn:

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



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 05: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