View Single Post
  #4   Spotlight this post!  
Unread 08-02-2009, 09:08
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: myRobot.TankDrive errors

that is all, if we have a simple program, myRobot = new RobotDrive(1,2) stick = new Joystick(1), and watchdog diabled, the Teleop looks like this
Code:
while(IsOperatorControl())
{
if (stick->GetTrigger())
 myRobot->TankDrive(0.3,0.3);
else
 myRobot->TankDrive(-0.3,-0.3);
}
this is only prevalent at speeds of -.45 to .45
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote