6namespace RoboidContol {
26 virtual void Update(
float currentTimeMs);
Definition ServoMotor.h:8
virtual float GetTargetAngle()
Definition ServoMotor.cpp:28
ControlMode controlMode
Definition ServoMotor.h:16
float maxVelocity
Definition ServoMotor.h:32
virtual float GetTargetVelocity()
Definition ServoMotor.cpp:43
float limitedTargetAngle
Definition ServoMotor.h:35
virtual void SetTargetVelocity(float velocity)
Definition ServoMotor.cpp:34
float minAngle
Definition ServoMotor.h:12
float lastUpdateTimeMs
Definition ServoMotor.h:37
virtual void SetMaximumVelocity(float maxVelocity)
Definition ServoMotor.cpp:30
virtual void SetTargetAngle(float angle)
Definition ServoMotor.cpp:12
float targetAngle
Definition ServoMotor.h:30
float maxAngle
Definition ServoMotor.h:13
virtual void Update(float currentTimeMs)
Definition ServoMotor.cpp:45
virtual void SetAngle(float angle)=0
ServoMotor()
Definition ServoMotor.cpp:5
bool hasTargetAngle
Definition ServoMotor.h:29
float targetVelocity
Definition ServoMotor.h:34
ControlMode
Definition ServoMotor.h:15
@ Velocity
Definition ServoMotor.h:15
@ Position
Definition ServoMotor.h:15
Definition AbsoluteEncoder.h:6
Definition AbsoluteEncoder.h:5