Go to Post My rule of thumb is that any team who's won four World Championships can count their chickens whenever they want. :p - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-01-2011, 15:05
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Has anyone gotten weird results from the mecanum drive?

I was working of porting the labview code to java before the kickoff.
At first, the movement was working fine
Code:
RobotDrive mecanumWheels = new RobotDrive(1,2,3,4);
Joystick joystick = new Joystick(1);
mecanumWheels.holonomicDrive(joystick.getMagnitude(), joystick.getDirectionDegrees(), joystick.getTwist());
However, after the reimage and update of java code,
Code:
RobotDrive mecanumWheels = new RobotDrive(1,2,3,4);
Joystick joystick = new Joystick(1);
mecanumWheels.mecanumDrive_Polar(joystick.getMagnitude(), joystick.getDirectionDegrees(), joystick.getTwist());
the bot doesn't strafe. Instead, the bot just goes forward, backward, and spins.
Is it a problem on my end, or on FRC's end?
__________________

Last edited by kinganu123 : 16-01-2011 at 20:28.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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