LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
CollectorRollers.h
1 #ifndef COLLECTOR_ROLLERS_H_
2 #define COLLECTOR_ROLLERS_H_
3 
4 #include "Component.h"
5 #include "../Config/Configurable.h"
6 #include "../ComponentData/CollectorRollersData.h"
7 #include "../Actuators/LRTTalon.h"
8 
12 class CollectorRollers : public Component, public Configurable
13 {
14 public:
17 
18  void OnEnabled();
19  void OnDisabled();
20 
21  void UpdateEnabled();
22  void UpdateDisabled();
23 
24  void Configure();
25 
26 private:
27  CollectorRollersData* m_rollersData;
28  LRTSpeedController* m_motor;
29  float m_forwardSpeed, m_reverseSpeed;
30 };
31 
32 #endif