Go to Post We need to celebrate great things because good enough isn't inspiring. - Andrew Schreiber [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
  #1   Spotlight this post!  
Unread 12-06-2005, 04:17 PM
fred's Avatar
fred fred is offline
More Grizzle
None #0341 (Daisy)
Team Role: Programmer
 
Join Date: Jan 2003
Location: Ambler
Posts: 132
fred is on a distinguished road
Omnidrive Programming

Our team is thinking about using an omnidrive this year. No one on our programming team has really done this before, so if anyone has any quick pointers or suggestions or advice, it'd be greatly appreciated.

Thanks in advance.
__________________
"The distance between genius and insanity is measured only by success."

-Anonymous
  #2   Spotlight this post!  
Unread 12-06-2005, 04:34 PM
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: Omnidrive Programming

Which type of omnidrive? That term could refer to an omniwheel design, mecanum design, or crab-steering design (in addition to some other, unlikely things...).
  #3   Spotlight this post!  
Unread 12-06-2005, 04:48 PM
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: Omnidrive Programming

Aren't you about a month early for making such decisions?

Anyway, the way I'd go about it is to do it in two steps. First, turn operator inputs into a conceptual trio of values: forward/backward velocity, left/right velocity, and rotation rate. The way you do that depends on what OI controls you use. Then, compute the individual motor speeds from the intermediate values. That conversion depends on what kind of wheels you use and how they're mounted.
  #4   Spotlight this post!  
Unread 12-06-2005, 05:17 PM
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Omnidrive Programming

Mount the four wheels so that the axles are all perpendicular. Label them North, South, East, and West clockwise. The following formulas will drive the wheels, where x, y, and r are in the range -127 to 127.

x = (signed int)p1_x - 127;
y = (signed int)p1_y - 127;
r = (signed int)p2_x - 127;

North = x - r;
South = -x - r;
East = -y - r;
West = y - r;

A joystick connected to port 1 will control forward/backward and strafe left/right. The joystick on port 2 will control the rotation clockwise/anti-clockwise.
  #5   Spotlight this post!  
Unread 12-06-2005, 09:21 PM
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: Omnidrive Programming

This previous post may be useful to you:

Holonomic Wheel Math

...and if you search, you will find others as well

Eric
__________________

Don't PANIC!
S. P. A. M.
  #6   Spotlight this post!  
Unread 02-05-2006, 11:45 AM
CronosPrime1 CronosPrime1 is offline
Registered User
FRC #0321
 
Join Date: Jan 2006
Location: Hyperspace
Posts: 53
CronosPrime1 is an unknown quantity at this point
Re: Omnidrive Programming

Well, I don't know about an actual omni-drive that uses omni-wheels (since an omni-wheel can only be powered in one direction of motion but move in two it gets confusing I suppose), but my team was designing a ball drive - a drive that has a ball at each corner that can move in two directions (left/right or up/down). Code can be found in this thread:

http://www.chiefdelphi.com/forums/sh...ad.php?t=43301
__________________
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
Programming Vex w/ MPLab dababyjebus FIRST Tech Challenge 27 04-25-2008 09:11 AM
Programming - Getting Started Mark McLeod Programming 80 04-16-2008 11:37 PM
VEX programming Gene F Programming 14 08-08-2006 10:21 PM
Organizing a programming team. scitobor 617 Programming 7 01-28-2005 07:18 PM
Robot Programming Education phrontist Programming 11 05-03-2004 07:32 AM


All times are GMT -5. The time now is 06:28 AM.

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