LRT13  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
WinchPawlData.h
1 #ifndef WINCH_PAWL_DATA_H_
2 #define WINCH_PAWL_DATA_H_
3 
4 #include "ComponentData.h"
5 
6 namespace data
7 {
8  namespace climber
9  {
10  class WinchPawlData
11  {
12  public:
13  WinchPawlData();
14 
15  void setDutyCycle(float f);
16  float getDutyCycle();
17 
18  void updateMotorCurrent(double d); // this should ONLY be used by the winch pawl component
19  double getMotorCurrent();
20 
21  bool isWinchPawlTimedOut();
22  void setWinchPawlTimedOut(bool b); // this should ONLY be used by the winch pawl component
23 
24  private:
25  float m_dutyCycle;
26  double m_current;
27 
28  bool m_isWinchPawlTimedOut;
29  };
30  }
31 }
32 #endif