6#include <units/angle.h>
7#include <units/length.h>
9#include <units/velocity.h>
13class AngularPositionController;
125 using ConversionUnit =
126 units::compound_unit<units::meters, units::inverse<units::radians>>;
127 using ConversionUnit_t = units::unit_t<ConversionUnit>;
140std::unique_ptr<AngularPositionController>
141asAngular(std::unique_ptr<LinearPositionController> linearController,
142 LinearPositionController::ConversionUnit_t conversion);
Definition LinearPositionController.h:19
virtual units::meters_per_second_t getVelocity() const =0
virtual void setPower(double power)=0
virtual void setEncoderPosition(units::meter_t position=0_m)=0
virtual units::meter_t getMinPosition() const =0
virtual units::meter_t getError() const
Definition LinearPositionController.h:111
virtual void setPosition(units::meter_t position)=0
virtual bool atTarget() const
Definition LinearPositionController.h:121
virtual units::meter_t getTargetPosition() const =0
virtual units::meter_t getTolerance() const =0
virtual units::meter_t getMaxPosition() const =0
virtual units::meter_t getPosition() const =0
virtual double getPower() const =0
the master namespace of librmb
Definition LogitechGamepad.h:9
std::unique_ptr< AngularPositionController > asAngular(std::unique_ptr< LinearPositionController > linearController, LinearPositionController::ConversionUnit_t conversion)