Revision 1243, 0.8 kB
(checked in by smidl, 14 years ago)
|
Contrallable PMSM DS + PI control
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | # Matlab toolbox of functions from BDM |
---|
2 | |
---|
3 | cmake_minimum_required(VERSION 2.6) |
---|
4 | PROJECT(bdmtoolbox) |
---|
5 | |
---|
6 | # Link it to BDM |
---|
7 | SET(BDM_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../library") |
---|
8 | SET(CMAKE_MODULE_PATH "${BDM_SOURCE_DIR}/system") |
---|
9 | |
---|
10 | # Load BDM environment |
---|
11 | INCLUDE(SetBdmEnv) |
---|
12 | |
---|
13 | include_directories (${BDM_SOURCE_DIR}/bdm) |
---|
14 | link_directories (${BDM_SOURCE_DIR}/bdm) |
---|
15 | |
---|
16 | # no simulator needed... |
---|
17 | EXEC(testbidiff) |
---|
18 | |
---|
19 | |
---|
20 | ###STUFF with SIMULATOR |
---|
21 | |
---|
22 | ## Build simulator |
---|
23 | add_subdirectory (simulator_zdenek) |
---|
24 | add_subdirectory (simulator_zdenek/ekf_example) |
---|
25 | |
---|
26 | ## Use it |
---|
27 | include_directories (./simulator_zdenek) |
---|
28 | link_directories (./simulator_zdenek) |
---|
29 | link_directories (./simulator_zdenek/ekf_example) |
---|
30 | |
---|
31 | EXEC (pmsm_estim pmsmsim ekf_obj) |
---|
32 | MEX (pmsm_estim pmsmsim ekf_obj) |
---|
33 | EXEC (pmsm_ctrl pmsmsim ekf_obj) |
---|
34 | MEX (pmsm_ctrl pmsmsim ekf_obj) |
---|
35 | |
---|
36 | #EXEC (sim pmsmsim) |
---|
37 | #EXEC (sim_var pmsmsim) |
---|
38 | |
---|
39 | add_subdirectory (TR2245) |
---|