Cleanup
This commit is contained in:
parent
4223961fe7
commit
543ddf79b4
@ -16,9 +16,6 @@ void ServoMotor::SetTargetAngle(float angle) {
|
||||
if (maxVelocity == 0.0F || hasTargetAngle == false) {
|
||||
SetAngle(angle);
|
||||
this->limitedTargetAngle = angle;
|
||||
} else if (angle != this->targetAngle) {
|
||||
// if the new target is the same, the limited angle is not overwritten
|
||||
// this->limitedTargetAngle = this->targetAngle;
|
||||
}
|
||||
|
||||
this->controlMode = ControlMode::Position;
|
||||
|
Loading…
x
Reference in New Issue
Block a user