Class to control the state of a simulated hardware::CANdi.
More...
#include <ctre/phoenix6/sim/CANdiSimState.hpp>
Class to control the state of a simulated hardware::CANdi.
◆ CANdiSimState() [1/3]
Creates an object to control the state of the given hardware::CANdi.
Note the recommended method of accessing simulation features is to use hardware::CANdi::GetSimState.
- Parameters
-
device | Device to which this simulation state is attached |
◆ CANdiSimState() [2/3]
ctre::phoenix6::sim::CANdiSimState::CANdiSimState |
( |
CANdiSimState const & | | ) |
|
|
delete |
◆ CANdiSimState() [3/3]
ctre::phoenix6::sim::CANdiSimState::CANdiSimState |
( |
CANdiSimState && | | ) |
|
|
default |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SetSupplyVoltage()
Sets the simulated supply voltage of the CANdi.
The minimum allowed supply voltage is 4 V - values below this will be promoted to 4 V.
- Parameters
-
volts | The supply voltage in Volts |
- Returns
- Status code
The documentation for this class was generated from the following file: