Changeset 42 for tests/pmsm.h

Show
Ignore:
Timestamp:
03/19/08 15:33:43 (16 years ago)
Author:
smidl
Message:

testy se simulatorem

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tests/pmsm.h

    r33 r42  
    3333                xk ( 2 ) = omm + kp*p*p * Ypm/J*dt* ( ibm * cos ( thm )-iam * sin ( thm ) ) - p/J*dt*Mz; 
    3434                //th 
    35                 xk ( 3 ) = rem(thm + omm*dt,2*pi); 
     35                xk ( 3 ) = rem(thm + omm*dt,pi); //or 2*pi? 
    3636                return xk; 
    3737        }