11#include <wpi/units/length.hpp>
12#include <wpi/units/voltage.hpp>
Class for CANrange, a CAN based Time of Flight (ToF) sensor that measures the distance to the front o...
Definition CoreCANrange.hpp:734
CANrangeSimState & operator=(CANrangeSimState &&)=default
CANrangeSimState(CANrangeSimState const &)=delete
CANrangeSimState(CANrangeSimState &&)=default
CANrangeSimState(hardware::core::CoreCANrange const &device)
Creates an object to control the state of the given hardware::CANrange.
ctre::phoenix::StatusCode SetDistance(wpi::units::meter_t meters)
Sets the simulated distance of the CANrange.
CANrangeSimState & operator=(CANrangeSimState const &)=delete
ctre::phoenix::StatusCode SetSupplyVoltage(wpi::units::volt_t volts)
Sets the simulated supply voltage of the CANrange.
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