|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#31
|
||||
|
||||
|
Re: fine control of robot with mecanum wheels
Quote:
~ |
|
#32
|
|||
|
|||
|
Re: fine control of robot with mecanum wheels
I'll echo Jared341 on all points. We don't have so much experience with the holonomic platform as they do, but our experience matches exactly with respect to what has to be considered, and our solution ended up remarkably similar.
We understood the importance of keeping uniform load on all wheels at all times and chose the simplest way to do that: use three wheels and keep the CG in the middle. Low-tech, and very effective. Unless all your drivetrains are perfectly linear the thing won't drive straight, since the motors are almost always running different speeds, and hence at different spots on the input vs speed curve.. In principle, it should be possible to get linearity with individual feedback loops on each wheel, but we weren't able to make that work. It helped, but it wasn't sufficient. Possible or not, it isn't easy. We ended up taking it out entirely for other reasons. Gyro-based correction, in the other hand, is simple. Our feedback code looks almost exactly like the posted snippet. For driver control, rotation feedback isn't terribly important except when trying to go straight,, since the driver can't distinguish, for instance, between rotating 47 degrees per second and rotating 52 d/s. But there's a big difference between driving straight and drifting 5 d/s. |
|
#33
|
|||||
|
|||||
|
Re: fine control of robot with mecanum wheels
Quote:
There is no reason why you couldn't use the gyro to control your turns, but in general, 0 degrees per second is by far the most important turn rate setpoint. As buchanan pointed out, 47 deg/s and 52 deg/s doesn't make a lot of difference to a driver, but 0 deg/s and 5 deg/s does. |
|
#34
|
||||
|
||||
|
Re: fine control of robot with mecanum wheels
Team 241 has 8" mecanum, direct drive toughboxes,
voltage control CAN interface ---- We are considering adding and tuning a speed control based on encoders that are already mounted. ---- There have been many factors that we have found seem to affect "the lack of fine control of robot movements..." + consistent CIM free run speed - (some CIMs are outliers) + consistent gearbox efficiency - + consistency of mecanum roller turn resistance- keeping these even have been a constant maintenance task for our mechanics + the designed lack of roundness in the 8" mecanums - at very low power, this non-linearity is noticeable. + weight distribution - get 4 scales one for each wheel. + suspension to keep all wheels firmly on the ground (we added this early based on academic research- so we really don't know how important it is to this game/surface... Are some teams with mecanums but without suspensions satisfied with the handling for the Breakaway arena?) and probably most important- +++ giving the driver enough practice time to truly have a chance of learning to predict the behavior of the robot based on the commands sent to it. we locked in on using a single driver almost exclusively due to the lack of enough practice time available. Our original optimistic plans were to have speed control (not voltage control) completed at least two week before the robot had to ship so the drivers would have substantial time to learn the machine. We have portions of a second bot but we did not get to a cloned drivetrain (no mecanums, only 2 CIMs on it). The teams with fields to practice on and have cloned second bots to practice with are strongly advantaged both in getting the control right and more importantly, in training the drivers to play the game well and making the most of the control that they have. I am bit amazed on how well some drivers have done with so little driving practice especially with new mecanum drive systems. IMO, the most important control system to tune is the one between the drivers ears... ![]() |
|
#35
|
|||
|
|||
|
Re: fine control of robot with mecanum wheels
Can you adjust each motor's signal based on the ratio of normal forces? That is, if you know the percentages of robot weight borne by each of the corners, can you compensate for that by varying the command to each? This might also be useful for bump-climbing when the weight distribution on even a perfectly centered CG 'bot gets totally skewed.
|
|
#36
|
||||
|
||||
|
Re: fine control of robot with mecanum wheels
http://www.chiefdelphi.com/forums/sh...94&postcount=1
We were able to improve driveability to an acceptable level by going back to tank drive (to take advantage of our driver's previous tank-drive experience) and using one joystick's X-axis (not used for standard tank drive) for strafe. We developed an algorithm to encode the 3 joystick commands (leftY rightY rightX) into commands for forward/reverse, turn, and strafe, which could be tuned independently (see link above). With a bit of tuning, it behaves just like the familiar tank drive, except it has the ability to strafe by using the joystick X-axis when necessary. ~ |
|
#37
|
|||||
|
|||||
|
Re: fine control of robot with mecanum wheels
Quote:
|
|
#38
|
||||
|
||||
|
Re: fine control of robot with mecanum wheels
Quote:
If a lightly loaded wheel is being given a command higher than the friction provided by the normal force on that wheel can support, and the wheel starts slipping, then what are your options? If you reduce the command to that wheel without reducing commands to the other wheels you will mess up the behavior of the bot (we're talking about a mecanum bot here). If you don't do anything, and let the one wheel slip, that will also mess up the behavior of the bot. Bottom line: you must have enough normal force on each wheel at all times in order for mecanum behavior not to be affected. That's why suspensions are used on mecanum bots: to distribute the normal load on each wheel more evenly. ~ |
|
#39
|
|||
|
|||
|
Re: fine control of robot with mecanum wheels
As I said before, 868 is using mecanum wheels with no wheel feedback.
We are using 6" wheels. We've also geared our robot down significantly, I doubt our max speed is faster than 6 feet per second. This is probably why our robot is so controlled. Sorry I couldn't help much; best of luck at your competitions. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| jaguar speed control of mecanum wheels | Ether | Motors | 7 | 05-02-2010 13:02 |
| Spinning the Robot with Mecanum Wheels | Teammax | Technical Discussion | 21 | 02-02-2010 18:14 |
| Help with mecanum wheels | CyDrive | Programming | 7 | 10-02-2008 16:16 |
| Assistance with Mecanum Wheels | CollmandosGrl | General Forum | 8 | 14-01-2008 17:42 |
| Teams With Mecanum Wheels | Foss@Team176 | Technical Discussion | 15 | 06-10-2005 09:38 |