29#ifndef FRC_REVLIB_SRC_MAIN_NATIVE_INCLUDE_REV_SERVOHUBSIM_H_
30#define FRC_REVLIB_SRC_MAIN_NATIVE_INCLUDE_REV_SERVOHUBSIM_H_
140 hal::SimDouble m_deviceVoltage;
141 hal::SimDouble m_deviceCurrent;
142 hal::SimDouble m_servoVoltage;
143 hal::SimInt m_bankPulsePeriods[2];
146 std::string m_deviceName;
147 std::unique_ptr<bool> m_enable;
Definition: ServoHub.h:43
Bank
Definition: ServoHub.h:235
Definition: ServoHubSimFaultManager.h:40
Definition: ServoHubSim.h:41
double GetServoVoltage() const
Definition: ServoHubSim.cpp:65
void disable()
Definition: ServoHubSim.cpp:81
ServoHubSim(ServoHub *servoHub)
Definition: ServoHubSim.cpp:41
void SetDeviceCurrent(double current)
Definition: ServoHubSim.cpp:61
void SetBankPulsePeriod(ServoHub::Bank bank, int pulsePeriod_us)
Definition: ServoHubSim.cpp:74
int GetBankPulsePeriod(ServoHub::Bank bank) const
Definition: ServoHubSim.cpp:70
double GetDeviceCurrent() const
Definition: ServoHubSim.cpp:59
void enable()
Definition: ServoHubSim.cpp:79
void SetServoVoltage(double voltage)
Definition: ServoHubSim.cpp:66
double GetDeviceVoltage() const
Definition: ServoHubSim.cpp:53
ServoHubSimFaultManager GetFaultManager()
Definition: ServoHubSim.cpp:85
void useDriverStationEnable()
Definition: ServoHubSim.cpp:83
void SetDeviceVoltage(double voltage)
Definition: ServoHubSim.cpp:55
Definition: ServoChannelConfig.h:34