Thanks
The team members of FRC Team 2220 would like to give a big thanks to all of the Sponsors, Mentors and Parents that make having this team possible.
Thank you!
Team Login
| Drive.h |
|
|
|
| Written by TarinB |
| Saturday, February 13 2010 16:39 |
|
#ifndef BTDRIVE_H_ #define BTDRIVE_H_
#include <iostream.h> #include "math.h"
#include "WPILib.h" #include "AxisCamera.h" #include "TrackAPI.h" #include "VisionAPI.h"
#include "ControlBoard.h" #include "BTRobot.h"
class BTDrive : public RobotDrive { public:
BTDrive(ControlBoard*); float targetLeftSpeed; float targetRightSpeed;
bool DoDrive(int, bool);
private: ControlBoard* myControlBoard;
static const int ALTERNATE_MODE = 3;
float currentLeftSpeed; float currentRightSpeed; float deltaLeftSpeed; float deltaRightSpeed; float actualLeftSpeed; float actualRightSpeed; double next_time;
};
#endif
|










