Now you can download a copy of these docs so you can use them offline! Download now
AnalogPotentiometer.h
1 #ifndef _ANALOG_POTENTIOMETER_H
2 #define _ANALOG_POTENTIOMETER_H
3 
4 #include "Interfaces/Potentiometer.h"
5 #include "LiveWindow/LiveWindowSendable.h"
6 #include "AnalogChannel.h"
7 
17 private:
18  int m_module, m_channel;
19  double m_scale, m_offset;
20  AnalogChannel *m_analog_channel;
21  void InitPot(int slot, int channel, double scale, double offset);
22  ITable *m_table;
23 public:
24  AnalogPotentiometer(int slot, int channel, double scale, double offset);
25  AnalogPotentiometer(int channel, double scale, double offset);
26  AnalogPotentiometer(int channel, double scale);
27  AnalogPotentiometer(int channel);
28  double Get();
29  double PIDGet();
30  std::string GetSmartDashboardType();
31  void InitTable(ITable *subtable);
32  void UpdateTable();
33  ITable * GetTable();
34  void StartLiveWindowMode();
35  void StopLiveWindowMode();
36 };
37 
38 #endif
Definition: ITable.h:26
std::string GetSmartDashboardType()
void InitTable(ITable *subtable)
AnalogPotentiometer(int slot, int channel, double scale, double offset)

Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by doxygen 1.8.6