Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Holonomic Drive System Issues, Robot Drives Diagonally... (http://www.chiefdelphi.com/forums/showthread.php?t=92035)

AllenGregoryIV 17-02-2011 15:36

Re: Holonomic Drive System Issues, Robot Drives Diagonally...
 
Quote:

Originally Posted by omalleyj (Post 1025231)
I think you need explain that more clearly. The robot will go at its maximum speed in the direction any pair is going in for the omni@45 arrangement. And .7071 of that speed in the regular front-back side-side directions. The ratio is 1.4, but you give the impression that it will go faster than its wheels are turning, which is impossible in any direction.

I have found that Ether is better at explaining this than me. You can look at the gif that he attached on this page

There are several research papers published on this (mostly for robocup).
Quote:

Thus, the addition of angled omni-wheels can result in a net body velocity that is greater than the maximum radial velocity of the wheel (Ashmore and Barnes, pg. 7).
That paper goes on to say that by traveling with rotation and in an arch a holonomic robot can travel even faster. We have thought about creating a control scheme that takes advantage of this but it would be very difficult, in the context of a FIRST robot.

Ether 17-02-2011 15:41

Re: Holonomic Drive System Issues, Robot Drives Diagonally...
 
Quote:

Originally Posted by omalleyj (Post 1025231)
I think you need explain that more clearly. The robot will go at its maximum speed in the direction any pair is going in for the omni@45 arrangement. And .7071 of that speed in the regular front-back side-side directions. The ratio is 1.4, but you give the impression that it will go faster than its wheels are turning, which is impossible in any direction.

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.



omalleyj 17-02-2011 15:59

Re: Holonomic Drive System Issues, Robot Drives Diagonally...
 
Quote:

Originally Posted by Ether (Post 1025248)
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.

Omgsar 21-02-2011 09:26

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? ::rtm::

AllenGregoryIV 21-02-2011 13:09

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.

Andrew Schuetze 22-02-2011 21:11

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.:)

AllenGregoryIV 23-02-2011 02:31

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.

Andrew Schuetze 23-02-2011 12:43

Re: Holonomic Drive System Issues, Robot Drives Diagonally...
 
I keep envisioning a pivot move aka some great NFL running back that is heading down field and spins around a defender or your favorite NBA point guard for a driving layout:)

What would it take to program such a spin around either the front right or front left wheel:cool: We currently have drive/strafe and then zero degree spin coded to two joysticks. Maybe it is just driver control with drive input coming from one joystick and a spin componant coming from the other....

Ether 23-02-2011 13:35

Re: Holonomic Drive System Issues, Robot Drives Diagonally...
 
1 Attachment(s)
Quote:

Originally Posted by Andrew Schuetze (Post 1030009)
What would it take to program such a spin around either the front right or front left wheel

The math is not that hard. See attached image.

Calculate how fast you want to rotate. Call that omega. That's your rotation command. Multiply omega by |AC|. That's your translation magnitude. Theta is your translation direction angle. Translation velocity vector V is perpendicular to |AC|.



AllenGregoryIV 23-02-2011 14:37

Re: Holonomic Drive System Issues, Robot Drives Diagonally...
 
The way we do it is with driver practice. To be able to pivot you have to give the robot some rotation (in our set up the x axis of the drivers right hand) and move the robot in an arc which is to keep the y constant while moving the x from positive to negative (this happens on the left stick).

We were also trying to figure out if the driver could drive around the minibot pole while holding orientation to the pole. This is not easy in our current control scheme but possible you have to make a circle with left joystick and hold a constant rotational velocity with the right one.

This is all with field centric control. Without that the first move becomes much harder while the second is much easier.


All times are GMT -5. The time now is 10:58.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi