Algorithm 1: Power assistance with user’s posture (v = ZO) |
Input variables: , , , v
While = PS or PL If = (L ⋁ M) ⋀ = S, then controller output = slower or reversal else controller output = forward While = ZO If ( = (L ⋁ M) ⋀ = S) ⋁ ( = L ⋀ = M), then controller output = slow reversal else if ( = (L ⋁ M) ⋀ = L) ⋁ ( = M ⋀ = M), then controller output = forward slowly else stay the same While = NS or NL If ( = M) ⋀ ( = L ⋁ M), then controller output = slower than general else controller output = reverse (fast or slow) End |