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);
XRPServo.
Definition XRPServo.h:26
XRPServo(int deviceNum)
Constructs an XRPServo.
double GetPosition() const
Get the servo position.
units::radian_t GetAngle() const
Get the servo angle.
void SetAngle(units::radian_t angle)
Set the servo angle.
void SetPosition(double position)
Set the servo position.
A move-only C++ wrapper around a HAL simulator device handle.
Definition SimDevice.h:645
C++ wrapper around a HAL simulator double value handle.
Definition SimDevice.h:536