Go to Post Remember, FIRST is merely a means to an end - the end result being that we completely change the world for the better. - RogerR [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 22-04-2008, 22:26
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,113
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: "mouse encoders"

Quote:
Originally Posted by martschr View Post
...we put encoders on omni wheels to accomplish the same task. One encoder for x axis and one for the y axis.
Our 2005 Triple Play robot had three miniature omniwheel "follower" encoders. There was one in front and one in back to measure sideways motion and turning, and one in the middle to measure forward motion. It worked great on carpet. On vinyl or tile or concrete, not so great.
  #17   Spotlight this post!  
Unread 22-04-2008, 22:36
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,080
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: "mouse encoders"

How did you measure rotation with them? Ive been looking at a similar concept but couldnt come up with a way to do it without a ton of floating point math/look up tables.
__________________




.
  #18   Spotlight this post!  
Unread 22-04-2008, 22:58
martschr martschr is offline
Registered User
FRC #2461 (Metal Skins)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Oklahoma City
Posts: 17
martschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of light
Re: "mouse encoders"

I will have to find out exactly, but I think we went with using circumference of the wheels times number of rotations. We used the x and y separately. we measured how far forward we went to change sections in the code. Ex: after x many feet forward we would then execute our turn. Then we measured how far over we went to know what lane we were in. In our hybrid we gave it the signal of what lane the ball was in and the rest relied on the encoders and gyro. If needed I'm sure there is a way of using the x and y together in this same setup, but i don't know the math needed to do it. I will talk to one of our mentors, and try to find a better answer for you.
__________________
FRC Team #16 Baxter Bomb Squad Alumni
FRC Team #2461 Meatal Skins Mentor
  #19   Spotlight this post!  
Unread 22-04-2008, 23:24
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: "mouse encoders"

Quote:
Originally Posted by martschr View Post
I will have to find out exactly, but I think we went with using circumference of the wheels times number of rotations. We used the x and y separately. we measured how far forward we went to change sections in the code. Ex: after x many feet forward we would then execute our turn. Then we measured how far over we went to know what lane we were in. In our hybrid we gave it the signal of what lane the ball was in and the rest relied on the encoders and gyro. If needed I'm sure there is a way of using the x and y together in this same setup, but i don't know the math needed to do it. I will talk to one of our mentors, and try to find a better answer for you.
I would be interested in what you guys did for your omni-wheel encoders, I had thought of playing with that.

We used drive wheel encoders and a gyro. It would constantly be calculating our x/y position on the field using trig. Then we used a way point routines to tell the bot to go to a new x/y so we could quickly change where we would want the bot to do also if the bot got hit it could adjust.

It worked well but I feel we had too much gyro problems and too much slippage of the wheels the encoders were connected to. So a different way to track position would be great.
__________________
Doug Leppard
  #20   Spotlight this post!  
Unread 23-04-2008, 00:38
yoyodyne yoyodyne is offline
Registered User
AKA: Greg Smith
FRC #0116 (Epsilon Delta)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Reston, VA
Posts: 61
yoyodyne is a splendid one to beholdyoyodyne is a splendid one to beholdyoyodyne is a splendid one to beholdyoyodyne is a splendid one to beholdyoyodyne is a splendid one to beholdyoyodyne is a splendid one to beholdyoyodyne is a splendid one to behold
Re: "mouse encoders"

Quote:
Originally Posted by Doug Leppard View Post
I would be interested in what you guys did for your omni-wheel encoders, I had thought of playing with that.
We experimented with using two of the new large VeX omni wheels mounted at right angles to one another. Each of the wheels directly drove a 64 count per revolution greyhill shaft encoder. The Y (front/back) wheel was close to the center of the robot and the X wheel was mounted just inside the back chassis member. The following is an excerpt from the "test report" that is attached. - This report also includes ultrasonic and gyro data. The gyro data in this report was with a 150degree/second 2006 KOP gyro (illegal for 2008) - we ended up using the 2008 KOP gyro for our first regional (VCU) and then the AD 300 degree/sec gyro for NY and Nationals... Oh this is an mecanum system using the 6" AM wheels. We figured we could not tell with the gyro and drive wheel shaft encoders what direction the robot was really moving without the odometry wheels. When all was said and done we used the ultrasonic range to the center wall to control strafe to keep/move the robot to the right lane. I have data sets from our matches with some interesting/puzzling ultrasonic data, not sure how enlightining it would be for others but most of the time the ultrasonic sensor worked well other times it just plain gave us bad data and it is not at all clear if the problem was an intermittent sensor failure or interference.

Oh yeah, I have a bunch of optical parts the controls hardware guys ordered in the basement - it will be a summer project. I haven't had the time to do a sanity check on the design or optics but I think that it will not keep up as well. I think this is the design reference http://home.roadrunner.com/~maccody/...ouse_hack.html With the old controller we would have had to use a microcontroller to do the USB to serial conversion but if this works it might interface more easily to the cRIO?


Hope this data is helpful,

Greg

This is the result of the odometry wheels for the linear run. The measured distance for this run was 22’8” whereas the predicted Y distance from the Y odometry wheel was 22’7.44” – almost perfect. The measured X displacement however was 11.5” but the predicted X displacement from the odometry wheel was only 1.68” showing that the wheels do not provide accurate displacement information when the direction of motion is almost parallel with their axel. I think this makes sense given the roller pattern on the wheels.
Attached Files
File Type: pdf some_data_2_23_08_revA.pdf (162.5 KB, 73 views)
  #21   Spotlight this post!  
Unread 23-04-2008, 18:59
martschr martschr is offline
Registered User
FRC #2461 (Metal Skins)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Oklahoma City
Posts: 17
martschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of light
Re: "mouse encoders"

Quote:
Originally Posted by Doug Leppard View Post
I would be interested in what you guys did for your omni-wheel encoders, I had thought of playing with that.

We used drive wheel encoders and a gyro. It would constantly be calculating our x/y position on the field using trig. Then we used a way point routines to tell the bot to go to a new x/y so we could quickly change where we would want the bot to do also if the bot got hit it could adjust.

It worked well but I feel we had too much gyro problems and too much slippage of the wheels the encoders were connected to. So a different way to track position would be great.
If you look at the picture David Brinza put in the thread earlier you can get a good idea of our setup. Basically there were two omniwheels connected by a shaft that was attached to one encoder. This was used as to determine distance of forward motion. In the back of that is one omniwheel perpendicular to the other two, and attached directly to a encoder. This was to give us info on how far over we moved. If we moved diagonally it would register both distances to give us our position (10 feet forward and 5 feet to the right). The biggest problem we had was mounting it, however this would have been easier if we haden't been a flopbot.
__________________
FRC Team #16 Baxter Bomb Squad Alumni
FRC Team #2461 Meatal Skins Mentor
  #22   Spotlight this post!  
Unread 23-04-2008, 20:09
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: "mouse encoders"

Quote:
Originally Posted by martschr View Post
If you look at the picture David Brinza put in the thread earlier you can get a good idea of our setup. Basically there were two omniwheels connected by a shaft that was attached to one encoder. This was used as to determine distance of forward motion. In the back of that is one omniwheel perpendicular to the other two, and attached directly to a encoder. This was to give us info on how far over we moved. If we moved diagonally it would register both distances to give us our position (10 feet forward and 5 feet to the right). The biggest problem we had was mounting it, however this would have been easier if we haden't been a flopbot.
I saw the picture, big question did it work well, how much loss was there. Ours worked well but it started to having a lot of loss once a half lap was done, so you could not have lots of accruacy that you could depend on.
__________________
Doug Leppard
  #23   Spotlight this post!  
Unread 23-04-2008, 20:47
Chief Pride's Avatar
Chief Pride Chief Pride is offline
<3
AKA: James Kiefer
no team
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Kalamazoo, MI
Posts: 653
Chief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond reputeChief Pride has a reputation beyond repute
Re: "mouse encoders"

as far as i know, the Razer Lachesis is the fastest mouse, i have one, and ive tested it and have not been able to max out its speed
  #24   Spotlight this post!  
Unread 23-04-2008, 21:21
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: "mouse encoders"

Quote:
Originally Posted by Chief Pride View Post
as far as i know, the Razer Lachesis is the fastest mouse, i have one, and ive tested it and have not been able to max out its speed
Looks impressive, hard to believe it could do 10fps. How would you interface to it? Any specs on the connection and how to connect to it via various ports or even using usb with non-window machines.
__________________
Doug Leppard
  #25   Spotlight this post!  
Unread 23-04-2008, 22:20
martschr martschr is offline
Registered User
FRC #2461 (Metal Skins)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Oklahoma City
Posts: 17
martschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of lightmartschr is a glorious beacon of light
Re: "mouse encoders"

The encoders were accurate everywhere except for turns. As you can imagine the two wheels being connected caused a bit of fight around a turn. The encoders do work well going strait though. It would be possible to make alterations to make it work better going around turns, such as having all three wheels on separate encoders where none of the wheels are tied together. The outside wheel would have a greater distance traveled than the inside wheel, but if you consider that into your math then it should work fine. We did not have a need to measure our distance while going around the turn. We used our gyro to make the turn. Our main purpose with the encoders were to know what lane we were in, and to have an assigned distance to travel forward before moving on to the next section of the code. Because of this we did not have a need to further develop the "mouse" to measure through a turn, but it could be done.
__________________
FRC Team #16 Baxter Bomb Squad Alumni
FRC Team #2461 Meatal Skins Mentor
  #26   Spotlight this post!  
Unread 24-04-2008, 09:28
EricVicenti EricVicenti is offline
Registered User
FRC #0008 (Paly Robotics)
Team Role: Alumni
 
Join Date: Nov 2007
Rookie Year: 2006
Location: Palo Alto Robotics
Posts: 91
EricVicenti has a spectacular aura aboutEricVicenti has a spectacular aura aboutEricVicenti has a spectacular aura about
Re: "mouse encoders"

Quote:
Originally Posted by Chief Pride View Post
as far as i know, the Razer Lachesis is the fastest mouse, i have one, and ive tested it and have not been able to max out its speed
Well it says it can do 100 inches per second max, which is 8.3 feet per second. This year, our robot reached 15fps.
__________________
  #27   Spotlight this post!  
Unread 24-04-2008, 09:36
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: "mouse encoders"

Quote:
Originally Posted by EricVicenti View Post
Well it says it can do 100 inches per second max, which is 8.3 feet per second. This year, our robot reached 15fps.
I doubt many teams went 15fps in autonomous, but ours and others went faster than 8fps, thus this would not be a good option.
__________________
Doug Leppard
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Championship Event - Where the "Random" Match Sorting Really "Shines" Travis Hoffman Championship Event 57 19-04-2007 08:06
New NEMO White Papers! "Creating a Killer Packet" and "25 Ways to Sponsor" Jessica Boucher Team Organization 0 10-08-2005 10:55
"Thunderbirds" Vs. "Team America" Which one will rule the box office? Elgin Clock Chit-Chat 3 07-09-2004 19:53
Conflict between "Initialize_Tracker()" and "pwm13 & pwm15"? Kevin? gnormhurst Programming 3 22-02-2004 02:55
how tall is the ramp when in "up" and "balanced" position??? archiver 2001 1 24-06-2002 00:54


All times are GMT -5. The time now is 01:48.

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