31 public wpi::SendableHelper<CANdle>
41 hal::SimDevice m_simCANdle;
42 hal::SimDouble m_simSupplyVoltage;
43 hal::SimDouble m_simFiveVRail;
44 hal::SimDouble m_simOutputCurrent;
45 hal::SimDouble m_simTemperature;
46 hal::SimDouble m_simVBatModulation;
48 int32_t m_simPeriodicUid{-1};
49 std::vector<int32_t> m_simValueChangedUids;
51 static void OnValueChanged(
52 const char *name,
void *param, HAL_SimValueHandle handle,
53 HAL_Bool readonly,
const struct HAL_Value *value
55 static void OnPeriodic(
void *param);
83 "Constructing devices with a CAN bus string is deprecated for removal "
84 "in the 2027 season. Construct devices using a CANBus instance instead."
86 CANdle(
int deviceId, std::string canbus);