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