Made limited target angle public (tmp for testing..)

This commit is contained in:
Pascal Serrarens 2024-09-12 15:31:01 +02:00
parent 51ef92d308
commit 5c5bf39bd3
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit a646e936ee878af6954e43a66a7b66b0b208fcf9 Subproject commit 09e25a8a218690157ba46ca5f7ccd5f33eab1c07

View File

@ -29,6 +29,8 @@ class ServoMotor : public Thing {
virtual void Update(unsigned long currentTimeMs) override; virtual void Update(unsigned long currentTimeMs) override;
Angle16 limitedTargetAngle = 0.0F;
protected: protected:
bool hasTargetAngle = false; bool hasTargetAngle = false;
Angle16 targetAngle = 0.0F; Angle16 targetAngle = 0.0F;
@ -37,7 +39,6 @@ class ServoMotor : public Thing {
float maxVelocity = 0.0F; float maxVelocity = 0.0F;
float targetVelocity = 0.0F; float targetVelocity = 0.0F;
Angle16 limitedTargetAngle = 0.0F;
float lastUpdateTimeMs = 0.0F; float lastUpdateTimeMs = 0.0F;