Go to Post I think AndyMark just sold out of rabbits feet. - BRAVESaj25bd8 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 17-02-2011, 15:59
omalleyj omalleyj is offline
Registered User
AKA: Jim O'Malley
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: New Jersey
Posts: 132
omalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to behold
Re: Holonomic Drive System Issues, Robot Drives Diagonally...

Quote:
Originally Posted by Ether View Post
Omni vehicle with 45 degree-mounted wheels goes faster in the forward direction than omega*R (R being wheel radius and omega being wheel angular velocity in rad/sec).

A chart comparing omni, mecanum, and standard wheels can be found here.

A force analysis of mec vs omni can be found here. A kinematic analysis can be done using a similar approach.

Ether, I have to go build a robot now, I'll take a look.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2011, 09:26
Omgsar's Avatar
Omgsar Omgsar is offline
Registered User
AKA: Evan Gray
FRC #2745 (S.A.R.)
Team Role: Programmer
 
Join Date: Apr 2009
Rookie Year: 2008
Location: San Antonio
Posts: 7
Omgsar is an unknown quantity at this point
Re: Holonomic Drive System Issues, Robot Drives Diagonally...

So, judging by the responses that I have seen so far, the consensus is that it is not a coding problem?
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2011, 13:09
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,544
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: Holonomic Drive System Issues, Robot Drives Diagonally...

I would say that it is not a problem with the code that you posted here.

It may be a problem with cRIO or the electronics. (Have you updated your cRIO image to the one that was released this week?)

Also you may want to try using mecanumDrive_Cartesian(giving x and y axis instead of magnitude and direction) instead of polar and see if that works better for you.

Have you tested on blocks and seen which wheels spin when you move each joystick axis? When you move the joysticks, do all four wheels ever spin? If you apply full power forward do your Jaguars light up in the way they are supposed to? (two red and two green most likely)

If you are still having this problem at Alamo(I hope you resolve it by than), I'll try and stop by your pit and see what we can do.
Reply With Quote
  #4   Spotlight this post!  
Unread 22-02-2011, 21:11
Andrew Schuetze's Avatar
Andrew Schuetze Andrew Schuetze is offline
499 Founder / Alamo FTC & FLL AP
no team
Team Role: Leadership
 
Join Date: Jan 2002
Rookie Year: 2001
Location: San Antonio, Texas
Posts: 689
Andrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond repute
Re: Holonomic Drive System Issues, Robot Drives Diagonally...

Thanks for all the suggestions and looking over the code. Current and most recent "fix" was to broaden the deadbands. It is now driving much more as expected. Possibly the deadband was too narrow and minor off-center stick movements where exagerated when translated into robot movement.

I'd still like to compare robot performance between the Discobots and this omnidrive robots and continue the evolution of our design process.
__________________
APS

Founder FRC 499
Parent alumni FRC 2745 & 4219
Co-Coach FTC 4549 & 6407
Alamo FTC Affiliate Partner
Alamo FLL Affiliate Partner
Reply With Quote
  #5   Spotlight this post!  
Unread 23-02-2011, 02:31
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,544
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: Holonomic Drive System Issues, Robot Drives Diagonally...

Yes, hopefully at some point we will be on the same alliance at Alamo. I think we will definitely give the other alliance some problems. They will be trying to figure out which way we are going and only we will know

See you guys in 8 days.
Reply With Quote
  #6   Spotlight this post!  
Unread 17-02-2011, 14:10
omalleyj omalleyj is offline
Registered User
AKA: Jim O'Malley
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: New Jersey
Posts: 132
omalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to behold
Re: Holonomic Drive System Issues, Robot Drives Diagonally...

Quote:
Originally Posted by Ether View Post
Joe said "If you mount them parallel to your frames edges,"

He meant mount each one parallel to its respective edge, like the attached image.

Ah! Oops!
My apologies for doubting you, Joe.
Thanks Ether
Reply With Quote
  #7   Spotlight this post!  
Unread 17-02-2011, 10:07
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,986
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: Holonomic Drive System Issues, Robot Drives Diagonally...

Quote:
Originally Posted by Omgsar View Post
We are using the Logitech Attack3 Joysticks, and yes I have tried to read most of the documentation that is already present on this forum. Specifically the posts by "Ether," those posts really helped... The problem exists in the fact that I don't really understand the calculations and diagrams presented in them.
Could you do the following very simple test and post the results? This would help greatly to diagnose the problem:
- put the robot up on blocks

- command pure forward motion and observe and record what each of the four wheels is doing

- do the same for reverse, strafe right, strafe left, rotate clockwise, and rotate counter-clockwise

And one more thing: you don't need to understand all the calculations and diagrams if that is not your area of interest. There are some posts and papers which just show how to program, for example:

http://www.chiefdelphi.com/media/papers/download/2906




Last edited by Ether : 17-02-2011 at 10:11.
Reply With Quote
Reply


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 09:39.

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