Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Holonomic Mecanum Drive (http://www.chiefdelphi.com/forums/showthread.php?t=92179)

nealpatel 18-02-2011 10:42

Holonomic Mecanum Drive
 
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

Ether 18-02-2011 12:11

Re: Holonomic Mecanum Drive
 
Quote:

Originally Posted by nealpatel (Post 1025859)
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?




All times are GMT -5. The time now is 22:18.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi