Quote:
Originally Posted by Geek 2.0
We already have a gyro for facing direction, but a gyro does not help with travel direction, correct? I might be wrong about this...
|
Again, it depends on what you mean by "travel direction".
You could use the gyro to rotate the vehicle to point to and hold a particular direction, and then issue a robot-centric "straight forward" command.
Quote:
|
It's for driving in Teleop. Our robot doesn't drive all that straight when strafing, and I was hoping to correct with the accelerometer.
|
That's a different problem statement from what you said earlier ("40 degrees to the left of straight").
When you say "Our robot doesn't drive all that straight when strafing" do you mean
a) It drives in a straight line, but not perfectly perpendicular to the robot's fore/aft axis, or
b) It rotates as it strafes, and travels along a curved path, or
c) something else?
The problem solution depends on the problem.