Changeset 654 for applications/pmsm/pmsm.h
- Timestamp:
- 10/12/09 19:38:57 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/pmsm.h
r384 r654 2 2 #define PMSM_H 3 3 4 #include < stat/functions.h>5 #include " user_info.h"4 #include <math/functions.h> 5 #include "base/user_info.h" 6 6 7 7 /*! \defgroup PMSM … … 98 98 void from_setting( const Setting &root ) 99 99 { 100 UI::SettingResolver params_exp(root["params"]); 101 const Setting& params=params_exp.result; 102 103 set_parameters ( params["Rs"], params["Ls"], 125e-6, params["Fmag"], \ 100 101 const SettingResolver& params_b=root["params"]; 102 const Setting& params=params_b.result; 103 104 set_parameters ( params["Rs"], params["Ls"], 125e-6, params["Fmag"], \ 104 105 params["kp"], params["p"], params["J"], 0.0); 105 106 /* set_parameters ( root["params"]["Rs"], root["params"]["Ls"], 125e-6, root["params"]["Fmag"], \107 root["params"]["kp"], root["params"]["p"], root["params"]["J"], 0.0 );*/108 106 }; 109 107