11#include <wpi/hal/SimDevice.hpp>
17#if defined(_WIN32) || defined(_WIN64)
19#pragma warning(disable : 4250)
35 wpi::hal::SimDevice m_simCANdle;
36 wpi::hal::SimDouble m_simSupplyVoltage;
37 wpi::hal::SimDouble m_simFiveVRail;
38 wpi::hal::SimDouble m_simOutputCurrent;
39 wpi::hal::SimDouble m_simTemperature;
40 wpi::hal::SimDouble m_simVBatModulation;
42 int32_t m_simPeriodicUid{-1};
43 std::vector<int32_t> m_simValueChangedUids;
45 static void OnValueChanged(
46 const char *name,
void *param, HAL_SimValueHandle handle,
47 HAL_Bool readonly,
const struct HAL_Value *value
49 static void OnPeriodic(
void *param);
86#if defined(_WIN32) || defined(_WIN64)
Class for getting information about an available CAN bus.
Definition CANBus.hpp:19
ctre::phoenix::StatusCode ClearAllAnimations()
Clears all animations on the CANdle.
static CANdle None()
Constructs a stubbed-out CANdle, where all status signals, controls, configs, etc.
Definition CANdle.hpp:72
CANdle(int deviceId, CANBus canbus)
Constructs a new CANdle object.
static constexpr int kAnimSlotCount
The number of animation slots.
Definition CANdle.hpp:53
Class for CTR Electronics' CANdle® branded device, a device that controls LEDs over the CAN bus.
Definition CoreCANdle.hpp:839
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:28
Definition ExternalFeedbackConfigs.hpp:17
Definition ExternalFeedbackConfigs.hpp:16
Definition motor_constants.h:14