View Single Post
  #3   Spotlight this post!  
Unread 09-02-2011, 22:51
dboisvert dboisvert is offline
Registered User
AKA: Dan Boisvert
FRC #2405 (Divided by Zero)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Michigan
Posts: 57
dboisvert is an unknown quantity at this point
Re: Mecanum Drifting

We are using Victors

Code:
RobotDrive *m_robotDrive;
m_robotDrive = new RobotDrive(1, 2, 3, 4);
we inverted the right hand side motors in the code by doing this

Code:
m_robotDrive->SetInvertedMotor(RobotDrive::kFrontRightMotor, true);
m_robotDrive->SetInvertedMotor(RobotDrive::kRearRightMotor, true);
Reply With Quote