6#include <units/angle.h>
7#include <units/angular_velocity.h>
8#include <units/length.h>
13class LinearPositionController;
118 using ConversionUnit =
119 units::compound_unit<units::meters, units::inverse<units::radians>>;
120 using ConversionUnit_t = units::unit_t<ConversionUnit>;
133std::unique_ptr<LinearPositionController>
134asLinear(std::unique_ptr<AngularPositionController> angularController,
135 AngularPositionController::ConversionUnit_t conversion);
Definition AngularPositionController.h:19
virtual units::radian_t getTolerance() const =0
virtual units::radian_t getPosition() const =0
virtual units::radian_t getMaxPosition() const =0
virtual bool atTarget() const
Definition AngularPositionController.h:114
virtual void setEncoderPosition(units::radian_t position=0_rad)=0
virtual units::radians_per_second_t getVelocity() const =0
virtual units::radian_t getTargetPosition() const =0
virtual void setPosition(units::radian_t position)=0
virtual double getPower() const =0
virtual units::radian_t getError() const
Definition AngularPositionController.h:104
virtual units::radian_t getMinPosition() const =0
virtual void setPower(double power)=0
the master namespace of librmb
Definition LogitechGamepad.h:9
std::unique_ptr< LinearPositionController > asLinear(std::unique_ptr< AngularPositionController > angularController, AngularPositionController::ConversionUnit_t conversion)