12#include "wpi/units/angle.hpp"
55 [[deprecated(
"Use SetAngle() instead")]]
64 [[deprecated(
"Use GetAngle() instead")]]
71 std::string m_deviceName;
73 static std::map<int, std::string> s_simDeviceMap;
74 static std::set<int> s_registeredDevices;
76 static void CheckDeviceAllocation(
int deviceNum);
A move-only C++ wrapper around a HAL simulator device handle.
Definition SimDevice.hpp:278
C++ wrapper around a HAL simulator double value handle.
Definition SimDevice.hpp:169
XRPServo(int deviceNum)
Constructs an XRPServo.
wpi::units::radian_t GetAngle() const
Get the servo angle.
void SetAngle(wpi::units::radian_t angle)
Set the servo angle.
double GetPosition() const
Get the servo position.
void SetPosition(double position)
Set the servo position.
Definition XRPOnBoardIO.hpp:13