LRT14
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Turn.h
1
#ifndef TURN_H_
2
#define TURN_H_
3
4
#include "Automation.h"
5
#include "../../ComponentData/DrivetrainData.h"
6
10
class
Turn
:
public
Automation
11
{
12
public
:
13
Turn
(
double
angle,
double
maxSpeed = 1.0,
double
errorThreshold = 0.5);
14
15
bool
Start
();
16
bool
Run
();
17
bool
Abort
();
18
void
AllocateResources
();
19
20
private
:
21
DrivetrainData
* m_drivetrain;
22
23
double
m_angle;
24
double
m_maxSpeed;
25
double
m_errorThreshold;
26
};
27
28
#endif
Brain
Automation
Turn.h
Generated on Tue Feb 11 2014 00:29:32 for LRT14 by
1.8.3