Changeset 61
- Timestamp:
- 04/06/08 20:12:25 (17 years ago)
- Location:
- simulator_zdenek/ekf_example
- Files:
-
- 2 added
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
simulator_zdenek/ekf_example/CMakeLists.txt
r53 r61 1 1 add_executable (simulace fixed.cpp matrix.cpp pmsm_mod.cpp pwm.cpp regulace.cpp ekf.cpp simul.cpp ) 2 3 add_library (ekf_obj ekf_obj.cpp fixed.cpp matrix.cpp) -
simulator_zdenek/ekf_example/matrix.cpp
r50 r61 395 395 396 396 det=((long)*matrix**(matrix+3)-(long)*(matrix+1)**(matrix+2))>>15; 397 if (det==0) det=1; 397 398 398 399 *result++=(((long)*(matrix+3))<<15)/det;