Go to Post Finally, a Team Update that we can all agree to! - artdutra04 [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 04-01-2009, 15: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: New wheels / floor and encoders for position.

The hard part of using the mouse is interfacing to it. The new controller doesn't have any USB inputs on the Robot side, so you would either have to add a microcontroller or learn the PS/2 standard.

Alternatively, you can poke directly into the chip inside the mouse. There is no guarantee that this is a standard protocol - each vendor can use their own. This is the route we chose.
  #2   Spotlight this post!  
Unread 04-01-2009, 17:32
Jeff Pahl's Avatar
Jeff Pahl Jeff Pahl is offline
likes to look at shiny things...
FRC #5148 (New Berlin Blitz)
Team Role: Engineer
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Waukesha, WI
Posts: 344
Jeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond repute
Re: New wheels / floor and encoders for position.

The kit also came with a nice accelerometer. If the wheel speed does not match the expected value from the accelerometer, then .....

I think the encoders are going to be very useful this year.

And my gut feeling is that anything touching the floor other than the approved wheels is going to not pass inspection.
__________________
Team 5148 - 2014 Wisconsin Regional Rookie All-Stars!!

Mentor: 1379: 2004-2008 / 2530: 2008-2013 / 2861: 2009 / 5148: 2014-??
Lead Robot Inspector: 10,000 Lakes '09 - '11 / Lake Superior '11-'12 / Northern Lights '13, '15 - '16 / Championship '09 - '12, '14 - '15
Attending/Inspecting 2017: TBD, Wisconsin, STL Championship

"Sometimes the questions are complicated and the answers are simple" -Dr. Seuss
  #3   Spotlight this post!  
Unread 04-01-2009, 18:23
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: New wheels / floor and encoders for position.

Quote:
Originally Posted by EricVanWyk View Post
Alternatively, you can poke directly into the chip inside the mouse. There is no guarantee that this is a standard protocol - each vendor can use their own. This is the route we chose.
Back in 2004 when we worked with Technokats to rework an optical mouse to detect robot movement, we interfaced directly into the chip in the optical mouse and bit-banged the protocol. It was pretty easy with the IFI RC. At that time, there was only 1 manufacturer of the optical interface chips (probably due to patents etc). Not sure if that has changed since then.
  #4   Spotlight this post!  
Unread 04-01-2009, 18:48
chmp09 chmp09 is offline
Registered User
AKA: Marc Pulte
FRC #1702 (Robocubs)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Troy, Michigan
Posts: 25
chmp09 is a jewel in the roughchmp09 is a jewel in the roughchmp09 is a jewel in the rough
Re: New wheels / floor and encoders for position.

You could use a combination of encoders and an accelerometer to create a traction control system. Traction control works by transferring power to the wheel(s) that is not slipping (ex. if you're driving a car and one of your powered wheels is on ice and the other is on pavement). This wont work when all your drive wheels are on the same surface.

Preventing your driver from spinning out the wheels is the best that you can do (this will provide rolling friction rather than sliding friction). Anti-lock braking wouldn't be a bad idea either.

As far as telling where you are at, a system using an accelerometer and gyro should do the job.
  #5   Spotlight this post!  
Unread 04-01-2009, 19:27
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: New wheels / floor and encoders for position.

Using the accelerometer and gyro for traction control are a bit more difficult that people have been saying without a pretty decent bit of math.

The accelerometer gives linear acceleration.

The gyro can give angular acceleration.

You will need to combine the two mathmatically and integrate to get the expected wheel speed.

Most quadrature encoders that are reasonably expensive are 256 counts a turn (or thereabouts).

When you start to compare the wheel speeds to the expected speeds, the error introduced by the integration of the acceleration and the inaccuracies due to the counts / turn calculation of wheel speed create a very non-trivial problem to keep your wheels from slipping all the time.

Most people I know who have traction control turn it off in the snow. Many times you NEED to floor it, and the traction control simply won't let you. Plus, you can't accelerate at all.

This isn't ice - it's simply low friction. Desensitized joysticks and careful drivers will likely be a better idea than traction control for 'most' teams.
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
4 encoders + mecanum wheels programing Smoking_Gun Programming 4 18-01-2007 23:43
Friction coefficients for Omni wheels and Mecanum wheels from AndyMark Andy Baker Technical Discussion 11 16-12-2006 19:40
Testing and Cause of Failure for Encoders and Hall Effect sensors ChrisH Electrical 28 19-09-2005 01:07
I think its time for some new wheels Matt Reiland Rules/Strategy 1 24-03-2002 19:02


All times are GMT -5. The time now is 05:46.

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