Quote:
Originally Posted by nealpatel
Hello, we are having problems using the RobotDrive method (mecanumDrive_Cartesian). Our motors work fine otherwise but when we try to use mecanumDrive_Cartesian and go forward, it goes in any random direction and then keep going in any direction. Yes, our gyroscope works too.
I don't see anything wrong unless we're missing something? Any help would be appreciated.
This is how we are using it btw-- robotdrive.mecanumDrive_Cartesian(joystick1.getX() , joystick1.getY(), joystick1.getZ(), gyro.getAngle());
Thanks in advance.
Neal
Team 1777
|
When you push the joystick straight forward, the robot will move in whatever direction it was pointing when the robot was powered up. That's what the gyro does.
Is this what you are observing?