Changeset 108 for pmsm

Show
Ignore:
Timestamp:
05/12/08 17:56:55 (16 years ago)
Author:
smidl
Message:

Fixes for compilation on Win32 platform

Location:
pmsm
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pmsm/sim_var.cpp

    r105 r108  
    1414#include <stat/libFN.h> 
    1515#include <estim/libKF.h> 
    16 #include <estim/libPF.h> 
     16//#include <estim/libPF.h> 
     17#include <math/chmat.h> 
    1718 
    1819#include "pmsm.h" 
  • pmsm/simulator_zdenek/simulator.cpp

    r59 r108  
    1717#include "regulace.h" 
    1818#include "simulator.h" 
     19 
    1920 
    2021#define REZIM_REGULACE  1       // 0...reg. momentu, 1...reg.rychlosti, 2... Isqw=sqrt(Imax^2-Id^2) - max. moment 
  • pmsm/simulator_zdenek/simulator.h

    r59 r108  
    1111*/ 
    1212 
     13// resi problem s M_PI ve VC8 
     14#ifndef M_PI 
     15#define M_PI        3.14159265358979323846 
     16#endif 
     17 
    1318 
    1419extern void pmsmsim_set_parameters(double Rs0, double Ls0, double Fmag0, double Bf0, double p0, double kp0, double J0, double Uc0, double DT0, double dt0);