26 public wpi::SendableHelper<CANdle>
36 hal::SimDevice m_simCANdle;
37 hal::SimDouble m_simSupplyVoltage;
38 hal::SimDouble m_simFiveVRail;
39 hal::SimDouble m_simOutputCurrent;
40 hal::SimDouble m_simTemperature;
41 hal::SimDouble m_simVBatModulation;
43 int32_t m_simPeriodicUid{-1};
44 std::vector<int32_t> m_simValueChangedUids;
46 static void OnValueChanged(
const char *name,
void *param, HAL_SimValueHandle handle,
47 HAL_Bool readonly,
const struct HAL_Value *value);
48 static void OnPeriodic(
void *param);
65 CANdle(
int deviceId, std::string canbus =
"");
73 CANdle{deviceId,
std::string{canbus.GetName()}}