|
2 powered, steerable wheels
Posted by Peter VanWylen.
Student on team #107, Team ROBOTICS, from Holland Christian High School and Metal Flow Corp..
Posted on 11/10/2000 8:42 PM MST
In Reply to: 4x4 software differential posted by James on 11/4/2000 1:27 PM MST:
Okay, we did something like this last year. I don't have the code handy, but this is what we did. First, we found that 4 wheel drive is excessive, expecially when you are trying to steer two of them. We made the steering wheels powered, and the other two fixed, but unpowered. You will probably want to put the steerable wheels in the rear of the robot -- this makes sense if you have ever seen a hi-lo / forklift operate. When lining up to pick something up, you want the power steering, and the drive power to be in the back.
The program was relatively simple:
leftmotor = p1_y
rightmotor = p1_y
then you need a simple feedback loop between potentiometer and motor to get the wheels to turn in response to the p1_x, and then return to center when you let go of the joystick. Also, you could try breaking the steering and speed control into two seperate joysticks -- this worked nicely, and made it easier to drive.
This really did work well, and I would recommend this drive mainly because it is *very* easy to drive *fast*, and straight, and to line up for picking things up. Then you just need to make a manual override that when you push the trigger button, it would go into regular two joystick drive, one left, one right, as is usually typical.
Hope you find this helpful and non-cryptic.
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
|