View Single Post
  #8   Spotlight this post!  
Unread 30-01-2014, 21:44
Joey1939's Avatar
Joey1939 Joey1939 is offline
Registered User
AKA: Joey Holliday
FRC #1939 (Kuhnigits)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Kansas City, Missouri
Posts: 142
Joey1939 has a spectacular aura aboutJoey1939 has a spectacular aura aboutJoey1939 has a spectacular aura about
Re: robot turns to the left?

Are you inverting any of the motors? In a normal wheel setup, going forward is different for the wheels on each side.

When you turn left, the left wheels are going backward and the right wheels are going forward. So I would assume that because that is happening when you drive forward, you need to invert the left wheels.

In java this is as simple as:

RobotDrive.setInvertedMotor(RobotDrive.m_frontLeft Motor , true);
RobotDrive.setInvertedMotor(RobotDrive.m_rearLeftM otor , true);

Last edited by Joey1939 : 30-01-2014 at 21:47.