|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
|||||
|
|||||
|
Re: Holonomic Drive System Issues, Robot Drives Diagonally...
Quote:
There are several research papers published on this (mostly for robocup). Quote:
|
|
#17
|
||||
|
||||
|
Re: Holonomic Drive System Issues, Robot Drives Diagonally...
Quote:
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. |
|
#18
|
|||
|
|||
|
Re: Holonomic Drive System Issues, Robot Drives Diagonally...
Quote:
|
|
#19
|
||||
|
||||
|
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?
![]() |
|
#20
|
|||||
|
|||||
|
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. |
|
#21
|
||||
|
||||
|
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. ![]() |
|
#22
|
|||||
|
|||||
|
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. |
|
#23
|
||||
|
||||
|
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 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.... |
|
#24
|
||||
|
||||
|
Re: Holonomic Drive System Issues, Robot Drives Diagonally...
Quote:
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|. |
|
#25
|
|||||
|
|||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|