Made limited target angle public (tmp for testing..)
This commit is contained in:
parent
51ef92d308
commit
5c5bf39bd3
@ -1 +1 @@
|
|||||||
Subproject commit a646e936ee878af6954e43a66a7b66b0b208fcf9
|
Subproject commit 09e25a8a218690157ba46ca5f7ccd5f33eab1c07
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user