29#ifndef FRC_REVLIB_SRC_MAIN_NATIVE_INCLUDE_REV_SIM_SERVOHUBSIMFAULTMANAGER_H_
30#define FRC_REVLIB_SRC_MAIN_NATIVE_INCLUDE_REV_SIM_SERVOHUBSIMFAULTMANAGER_H_
34#include <hal/SimDevice.h>
94 void SetupSimDevice();
96 hal::SimBoolean m_regulatorPGoodFault;
97 hal::SimBoolean m_firmwareFault;
98 hal::SimBoolean m_hardwareFault;
99 hal::SimBoolean m_lowBatteryFault;
101 hal::SimBoolean m_regulatorPGoodStickyFault;
102 hal::SimBoolean m_firmwareStickyFault;
103 hal::SimBoolean m_hardwareStickyFault;
104 hal::SimBoolean m_lowBatteryStickyFault;
106 hal::SimBoolean m_brownoutWarning;
107 hal::SimBoolean m_canWarning;
108 hal::SimBoolean m_canBusOffWarning;
109 hal::SimBoolean m_hasResetWarning;
110 hal::SimBoolean m_channel0OvercurrentWarning;
111 hal::SimBoolean m_channel1OvercurrentWarning;
112 hal::SimBoolean m_channel2OvercurrentWarning;
113 hal::SimBoolean m_channel3OvercurrentWarning;
114 hal::SimBoolean m_channel4OvercurrentWarning;
115 hal::SimBoolean m_channel5OvercurrentWarning;
117 hal::SimBoolean m_brownoutStickyWarning;
118 hal::SimBoolean m_canStickyWarning;
119 hal::SimBoolean m_canBusOffStickyWarning;
120 hal::SimBoolean m_hasResetStickyWarning;
121 hal::SimBoolean m_channel0OvercurrentStickyWarning;
122 hal::SimBoolean m_channel1OvercurrentStickyWarning;
123 hal::SimBoolean m_channel2OvercurrentStickyWarning;
124 hal::SimBoolean m_channel3OvercurrentStickyWarning;
125 hal::SimBoolean m_channel4OvercurrentStickyWarning;
126 hal::SimBoolean m_channel5OvercurrentStickyWarning;
129 std::string simDeviceName;
Definition: ServoHub.h:43
Definition: ServoHubSimFaultManager.h:40
void SetWarnings(const ServoHub::Warnings &warnings)
Definition: ServoHubSimFaultManager.cpp:116
void SetFaults(const ServoHub::Faults &faults)
Definition: ServoHubSimFaultManager.cpp:102
void SetStickyWarnings(const ServoHub::Warnings &warnings)
Definition: ServoHubSimFaultManager.cpp:129
void SetStickyFaults(const ServoHub::Faults &faults)
Definition: ServoHubSimFaultManager.cpp:109
ServoHubSimFaultManager()=delete
Definition: ServoChannelConfig.h:34
Definition: ServoHub.h:141
Definition: ServoHub.h:170