Add todo.

This commit is contained in:
Anna Rose 2025-02-07 12:11:03 -05:00
parent 696b502ae8
commit f0f7aa9030

View File

@ -47,6 +47,7 @@ public class DoorHinge {
// Process the hinge's movement.
// It will return true when the panel has finished moving.
// TODO: Add a mechanism to determine when a door gets stuck or can't reach the target angle.
public bool Actuate() {
if (Math.Abs(Hinge.Angle - TargetAngle) < 0.1 && Hinge.Angle == LastAngle) {
Hinge.RotorLock = true;