25 #include "PositionSensor.hpp"
29 using namespace units;
36 return DeviceBase::DeviceType::POSITION_SENSOR;
42 "setActualPosition operation not supported on " +
uid());
DeviceId uid() const
Get the address of device.
Exception thrown by MotionController in case of issues with command.
DeviceType type() const override
Get device type.
PositionSensor(const std::string &address)
Construct a new POSITION Device at given location on given platform.
virtual std::future< void > setActualPosition(const units::value_t &value) const
Set the current position value.
DeviceType
List of possible device types supported.
main motion-lib namespace