USFirst.org
follow us on twitter
like us on facebookMNFTC.org
Bookmark and Share

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 Create PDF Send to Printer Email this Article
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

 

 

 

 

 

 

 

 

 

 

 
Lockheed Martin
Valid XHTML 1.0 Transitional Valid CSS!
Blanda
Blanda
Copyright © 2012 Eagan Robotics. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.