View Single Post
  #1   Spotlight this post!  
Unread 03-04-2012, 11:35
DavisC DavisC is offline
Registered User
FRC #0539 (Titans)
Team Role: College Student
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Virginia
Posts: 200
DavisC is just really niceDavisC is just really niceDavisC is just really niceDavisC is just really nice
Method of Programming Drive

So in my programming past, I have always used the method for programming the Drive motors like in the SimpleTemplate.out (below);
Code:
RobotDrive myRobot;
--
myRobot(1, 2)
But somewhere I saw some code that seemed to initialize the myRobot but then continued to initialize each motor individually. I believe it looked like this:
Code:
myRobot
{
     RearLeftMotor...
     RearRightMotor...
}
Now, when I run the SimpleTemplate.out method, I always get an error under the DS that says the Robot Drive is not running fast enough.

Thanks,
Davis
__________________
FRC Team 539
Student Member: 2010 Breakaway - 2014 Aerial Assist
Mentor: 2015 Recycle Rush - present
Reply With Quote