|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#31
|
|||
|
|||
|
Re: Holonomic + gyro/PID
Quote:
|
|
#32
|
||||
|
||||
|
Re: Holonomic + gyro/PID
Quote:
So, as the robot is heading toward the target, it simultaneously rotates until its yaw angle is aligned with the heading angle. *i.e. 4 independently controlled wheels Last edited by Ether : 21-12-2010 at 21:47. |
|
#33
|
|||
|
|||
|
Re: Holonomic + gyro/PID
Quote:
Yes, by simply doing the normal field controls, and adding the turning code (increase one side's speed, decrease another's) you have a beautiful turning and driving bot. Its important to remember, that in mechanum, each wheel operates individually, and can put its vectors in any of the 45 degree directions at a time. Oh, and when using the trigger in an open area, it acts like a car the way it drives...no matter what direction it is driving in, the bot it facing frontwards! Last edited by BEEKMAN : 22-12-2010 at 06:36. |
|
#34
|
|||||
|
|||||
|
Re: Holonomic + gyro/PID
We used AnyMark swerves and had about 330deg of rotation before we would get wire wind-up and pull the connectors apart. So we calculated a "keepout" zone based on whether the wheels were commanded forward or reverse. If your current steering request put you in the keepout zone, then flip the wheel and reverse the wheel direction. We used a -180 < 0 < 180 compass for the steering calculations.
Hurdle #1 was getting the angle bookkeeping right. However, this could produce a "shopping cart" shuck in the steering, as we tried to also use a field-centric stick, and the driver commanded forward and reverse near the keepout. I finally concluded that you need to track the last pass steering command and bookkeep a 180deg reverse direction +/- a ...say...10deg band. If your current steering request put you in that band, then what you really wanted to do was reverse wheel direction. Then you could compare this new commanded steering angle and wheel direction to your keepout. I never got to try this. After the Florida Regional, we reverted to robot-oriented sticks and finished the season with them. |
|
#35
|
||||
|
||||
|
Re: Holonomic + gyro/PID
Quote:
|
|
#36
|
|||||
|
|||||
|
Re: Holonomic + gyro/PID
...changing directions a bit...heh...
A field-oriented driving scheme requires that a yaw rate sensor and a steering motor pot or encoder become primary sensors. I've given fault detection and accomodation lip-service over the years, but have never really implemented anything other than a switch that gives the driver tank or skid steering if the sensor feedback goes to heck in a hand-basket. I wonder if any teams out there have had the opportunity to advance FDA at all? Thanks, Eric Last edited by EricS-Team180 : 22-12-2010 at 10:22. |
|
#37
|
||||
|
||||
|
Re: Holonomic + gyro/PID
Quote:
We positioned the potentiometers such that the discontinuity was facing toward the rear of the robot as was mentioned by the team member from 3123. The pots we were using had a 20 degree dead band, so, to address the issue of having unlimited mechanical rotations possible but only about 340 degrees of sensing range we implemented the "wheel flip power change" also mentioned by the astutely informed member of 3123. However, prior to competing in the World Championships that year, out team decided to make a switch to MA3 magnetic absolute encoders. As the driver that year, I can tell you that there was a noticeable change in performance and handling. In addition, I can also say with much certainty that had we been playing on a carpet field, the method we used with the potentiometers would not have yielded any positive success. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Holonomic issues | dwodrich | NI LabVIEW | 11 | 02-02-2010 21:19 |
| Holonomic Programming??? | sknkmeistermatt | Programming | 2 | 12-02-2008 15:47 |
| Gyro PID User drive - How we did it | adamdb | Programming | 17 | 26-02-2007 20:16 |
| Holonomic... | Greg Perkins | Technical Discussion | 2 | 02-02-2005 11:59 |
| holonomic drives | Max Lobovsky | Technical Discussion | 5 | 10-03-2004 21:31 |