11#include <wpi/units/current.hpp>
12#include <wpi/units/dimensionless.hpp>
13#include <wpi/units/temperature.hpp>
14#include <wpi/units/voltage.hpp>
Class for CTR Electronics' CANdle® branded device, a device that controls LEDs over the CAN bus.
Definition CoreCANdle.hpp:839
CANdleSimState & operator=(CANdleSimState &&)=default
ctre::phoenix::StatusCode GetLastStatusCode() const
Gets the last status code generated by a simulation function.
CANdleSimState(CANdleSimState const &)=delete
ctre::phoenix::StatusCode SetDeviceTemp(wpi::units::celsius_t temperature)
Sets the simulated temperature of the CANdle.
CANdleSimState(CANdleSimState &&)=default
CANdleSimState(hardware::core::CoreCANdle const &device)
Creates an object to control the state of the given hardware::CANdle.
ctre::phoenix::StatusCode SetSupplyVoltage(wpi::units::volt_t volts)
Sets the simulated supply voltage of the CANdle.
wpi::units::scalar_t GetVBatModulation() const
Gets the simulated VBat modulated output of the CANdle.
CANdleSimState & operator=(CANdleSimState const &)=delete
ctre::phoenix::StatusCode SetFiveVRailVoltage(wpi::units::volt_t volts)
Sets the simulated 5V rail voltage of the CANdle.
ctre::phoenix::StatusCode SetOutputCurrent(wpi::units::ampere_t amps)
Sets the simulated output current of the CANdle.
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:28
Definition ExternalFeedbackConfigs.hpp:17
Definition ExternalFeedbackConfigs.hpp:17
Definition CANdiSimState.hpp:27
Definition ExternalFeedbackConfigs.hpp:16
Definition motor_constants.h:14