Quote:
Originally Posted by Ether
I'm trying to make sense out of the above. Did you add extra code to purposely zero-out the first joystick when the second one is giving a command (or vice versa)? If so, why did you think that was necessary?
|
I wasn't entirely sure how it would mix. I programmed it in the method that I first came up with, which consisted of converting the joystick inputs to a polar coordinate scale (rotated 45 degrees) and mapped each set of motors across from one another to either the X or Y coordinate of the point (respectively). This doesn't exactly lead to an easy blend with spinning as far as I can tell. While it's something I'll probably try to tackle later, it's not done YET.
Quote:
Originally Posted by Thxe
Also, I would STRONGLY recommend that you look into using a gyro to compensate for robot rotation. Basicly, when you push the movement stick forward, the robot knows how it is oriented and will always move away from you. Likewise, when you move the stick left, it will always go left relative to the control station. This takes just a few minutes to get used to, and is extremely natural after that. If you go with this it is very important to have a button that turns it off also because sometimes the gyro gets messed up.
|
I saw a system similar to that several years ago with swerve drive actually. We're tossing on a gyro for the camera anyway, so I don't see any reason we wouldn't at least attempt that system if you say your drivers were successful with it.
And thanks all for the responses, I've been thinking CD was down for a few days now when my Droid wouldn't access it XD.