|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Mechanum Wheels?
I disagree with this statement. WPI has a complete library for mecanum wheels. My old team used them last year for the first time and had them programmed on the drivetrain the day we received the shipment from AndyMark.
|
|
#2
|
|||
|
|||
|
Re: Mechanum Wheels?
Quote:
This is just what I've been told by our programmers, I'm not a master of code myself, however my trustful programmers are. |
|
#3
|
||||
|
||||
|
Re: Mechanum Wheels?
Quote:
|
|
#4
|
|||
|
|||
|
Re: Mechanum Wheels?
Quote:
I'll ask them at our next meeting, though. Now I'm interested, too. ![]() |
|
#5
|
|||
|
|||
|
Re: Mechanum Wheels?
Quote:
Code:
void RobotDrive::MecanumDrive_Polar(float magnitude, float direction, float rotation)
{
// Normalized for full power along the Cartesian axes.
magnitude = Limit(magnitude) * sqrt(2.0);
// The rollers are at 45 degree angles.
double dirInRad = (direction + 45.0) * 3.14159 / 180.0;
double cosD = cos(dirInRad);
double sinD = sin(dirInRad);
double wheelSpeeds[kMaxNumberOfMotors];
wheelSpeeds[kFrontLeftMotor] = sinD * magnitude + rotation;
wheelSpeeds[kFrontRightMotor] = cosD * magnitude - rotation;
wheelSpeeds[kRearLeftMotor] = cosD * magnitude + rotation;
wheelSpeeds[kRearRightMotor] = sinD * magnitude - rotation;
Normalize(wheelSpeeds);
m_frontLeftMotor->Set(wheelSpeeds[kFrontLeftMotor] * m_invertedMotors[kFrontLeftMotor]);
m_frontRightMotor->Set(wheelSpeeds[kFrontRightMotor] * m_invertedMotors[kFrontRightMotor]);
m_rearLeftMotor->Set(wheelSpeeds[kRearLeftMotor] * m_invertedMotors[kRearLeftMotor]);
m_rearRightMotor->Set(wheelSpeeds[kRearRightMotor] * m_invertedMotors[kRearRightMotor]);
}
|
|
#6
|
|||
|
|||
|
Re: Mechanum Wheels?
Quote:
|
|
#7
|
|||
|
|||
|
Re: Mechanum Wheels?
Quote:
It's like saying even though the motor controller is already set to 100%, the code can be improved to set it to 110% via "better controls". That doesn't happen. |
|
#8
|
|||
|
|||
|
Re: Mechanum Wheels?
Quote:
That's that, let's not derail this thread further. |
|
#9
|
||||
|
||||
|
Re: Mechanum Wheels?
My team has done quite a bit of experimentation with mecanum wheels this season, since we were initially doubtful of their effectiveness in certain critical areas, like traversing the barrier and climbing the bridge. Unfortunately, until we get some videos and pictures up (hopefully this weekend!) you'll have to trust me that our inadequately-described mechanisms actually work.
Surprisingly, the mecanum roller material grips better on plastic than on plywood. I suspect that fine sawdust is the culprit here, as our test of taping a sheet of plastic to one half of the bridge and then driving up resulted in the robot turning away from the side with the plastic, demonstrating higher traction on that side. We would be able to ascend while strafing, but our bridge has a significant lip that makes it very difficult to go from the ground to the bridge while sideways. No problems with turning sideways partway up and balancing that way, though! We devised a system of raised powered traction wheels to pull the robot onto the barrier and provide a better point of contact to the mecanum wheels. Our prototype long chassis has no problems climbing over the barrier, even from a stop very close to the barrier without a high-speed run-up. The mecanum rollers function exactly as they should, in that the force vectors cancel due to the wheel orientation and no disadvantageous rolling occurs. We use mecanum wheels because the extra range of motion is highly useful in offensive play. The ability to strafe has been particularly helpful when lining up on the bridge and will likely be very useful when the robot is sideways while trying to balance three robots. From a control perspective, we use flight simulator joysticks with a twist axis, a setup which has proved highly intuitive and easy to explain to 6th-graders during our school's open house. In short, while mecanum wheels are certainly not perfect for everything, they have none of the negative traits frequently attributed to them, namely low traction, and we expect to use them to great advantage this season. |
|
#10
|
|||
|
|||
|
Re: Mechanum Wheels?
Quote:
just stop... they aren't that hard to use and if you gave them a chance you would see that. now can you stop posting all of your opinions on something you clearly don't understand because it could mess up peoples decisions on what wheels to use. |
|
#11
|
|||
|
|||
|
Re: Mechanum Wheels?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|