|
|
@@ -19,10 +19,10 @@ extern "C"{ |
|
|
|
string pathSpatialCFG_visuell = "Projekte/OpenVibe_THN-p300-bci-main/p300-visual/cfg/p300-spatial-filter.cfg"; |
|
|
|
string PATH_DEFAULT_visuell = "Projekte/OpenVibe_THN-p300-bci-main/p300-visual/datasets"; |
|
|
|
|
|
|
|
string fileCopySpellingVisuell = "p300-visual-1-acquisition.xml"; |
|
|
|
string filefreeSpellingVisuell = "p300-visual-4-online.xml"; |
|
|
|
string fileXDawnTrainingVisuell = "p300-visual-2-train-xDAWN.xml"; |
|
|
|
string fileClassifierTrainingVisuell = "p300-visual-3-train-classifier.xml"; |
|
|
|
string fileCopySpellingVisuell = "p300-xdawn-1-acquisition.xml"; |
|
|
|
string filefreeSpellingVisuell = "p300-xdawn-4-online.xml"; |
|
|
|
string fileXDawnTrainingVisuell = "p300-xdawn-2-train-xDAWN.xml"; |
|
|
|
string fileClassifierTrainingVisuell = "p300-xdawn-3-train-classifier.xml"; |
|
|
|
|
|
|
|
//taktil |
|
|
|
//------------------------------------------------------------------------------------------------------------------------------------ |
|
|
@@ -70,7 +70,7 @@ extern "C"{ |
|
|
|
char* getCommandFreespellingVisuell() |
|
|
|
{ |
|
|
|
string s = ""; |
|
|
|
s = s.append(command).append(" ").append(PATH_OV).append(" ").append(config).append(" ").append(PATH_FILES_ConfigFile).append(" ").append( play).append(" ").append(PATH_FILES_Visual).append(filefreeSpellingVisuell).append(" ").append(nogui); |
|
|
|
s = s.append(command).append(" ").append(PATH_OV).append(" ").append( play).append(" ").append(PATH_FILES_Visual).append(filefreeSpellingVisuell).append(" ").append(nogui); |
|
|
|
char char_array[s.length()+1]; |
|
|
|
strcpy(char_array, s.c_str()); |
|
|
|
char* s_convert = char_array; |
|
|
@@ -90,7 +90,7 @@ extern "C"{ |
|
|
|
char* getCommandCopyspellingVisuell() |
|
|
|
{ |
|
|
|
string s = ""; |
|
|
|
s = s.append(command).append(" ").append(PATH_OV).append(" ").append(config).append(" ").append(PATH_FILES_ConfigFile).append(" ").append( play).append(" ").append(PATH_FILES_Visual).append(fileCopySpellingVisuell).append(" ").append(nogui); |
|
|
|
s = s.append(command).append(" ").append(PATH_OV).append(" ").append( play).append(" ").append(PATH_FILES_Visual).append(fileCopySpellingVisuell).append(" ").append(nogui); |
|
|
|
char char_array[s.length()+1]; |
|
|
|
strcpy(char_array, s.c_str()); |
|
|
|
char* s_convert = char_array; |
|
|
@@ -110,7 +110,7 @@ extern "C"{ |
|
|
|
char* getCommandXDawn_visuell() |
|
|
|
{ |
|
|
|
string s = ""; |
|
|
|
s = s.append(command).append(" ").append(PATH_OV).append(" ").append(config).append(" ").append(PATH_FILES_ConfigFile).append(" ").append( playFast).append(" ").append(PATH_FILES_Visual).append(fileXDawnTrainingVisuell).append(" ").append(nogui); |
|
|
|
s = s.append(command).append(" ").append(PATH_OV).append(" ").append( playFast).append(" ").append(PATH_FILES_Visual).append(fileXDawnTrainingVisuell).append(" ").append(nogui); |
|
|
|
char char_array[s.length()+1]; |
|
|
|
strcpy(char_array, s.c_str()); |
|
|
|
char* s_convert = char_array; |
|
|
@@ -120,7 +120,7 @@ extern "C"{ |
|
|
|
char* getCommandClassifier_visuell() |
|
|
|
{ |
|
|
|
string s = ""; |
|
|
|
s = s.append(command).append(" ").append(PATH_OV).append(" ").append(config).append(" ").append(PATH_FILES_ConfigFile).append(" ").append( playFast).append(" ").append(PATH_FILES_Visual).append(fileClassifierTrainingVisuell).append(" ").append(nogui); |
|
|
|
s = s.append(command).append(" ").append(PATH_OV).append(" ").append( playFast).append(" ").append(PATH_FILES_Visual).append(fileClassifierTrainingVisuell).append(" ").append(nogui); |
|
|
|
char char_array[s.length()+1]; |
|
|
|
strcpy(char_array, s.c_str()); |
|
|
|
char* s_convert = char_array; |
|
|
@@ -136,6 +136,7 @@ extern "C"{ |
|
|
|
char* s_convert = char_array; |
|
|
|
return s_convert; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
char* getCommandStartAquisitionServer() |
|
|
|
{ |