11#include <units/length.h>
12#include <units/voltage.h>
Class for CANrange, a CAN based Time of Flight (ToF) sensor that measures the distance to the front o...
Definition CoreCANrange.hpp:728
Class to control the state of a simulated hardware::CANrange.
Definition CANrangeSimState.hpp:30
CANrangeSimState & operator=(CANrangeSimState &&)=default
CANrangeSimState(CANrangeSimState const &)=delete
CANrangeSimState(CANrangeSimState &&)=default
ctre::phoenix::StatusCode SetSupplyVoltage(units::voltage::volt_t volts)
Sets the simulated supply voltage of the CANrange.
ctre::phoenix::StatusCode SetDistance(units::length::meter_t meters)
Sets the simulated distance of the CANrange.
CANrangeSimState(hardware::core::CoreCANrange const &device)
Creates an object to control the state of the given hardware::CANrange.
CANrangeSimState & operator=(CANrangeSimState const &)=delete
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:27
Definition MotionMagicExpoTorqueCurrentFOC.hpp:18