|
|
|
|
|
|
|
|
string pathSpatialCFG_visuell = "Projekte/OpenVibe_THN-p300-bci-main/p300-visual/cfg/p300-spatial-filter.cfg"; |
|
|
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 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 |
|
|
//taktil |
|
|
//------------------------------------------------------------------------------------------------------------------------------------ |
|
|
//------------------------------------------------------------------------------------------------------------------------------------ |
|
|
|
|
|
|
|
|
char* getCommandFreespellingVisuell() |
|
|
char* getCommandFreespellingVisuell() |
|
|
{ |
|
|
{ |
|
|
string s = ""; |
|
|
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]; |
|
|
char char_array[s.length()+1]; |
|
|
strcpy(char_array, s.c_str()); |
|
|
strcpy(char_array, s.c_str()); |
|
|
char* s_convert = char_array; |
|
|
char* s_convert = char_array; |
|
|
|
|
|
|
|
|
char* getCommandCopyspellingVisuell() |
|
|
char* getCommandCopyspellingVisuell() |
|
|
{ |
|
|
{ |
|
|
string s = ""; |
|
|
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]; |
|
|
char char_array[s.length()+1]; |
|
|
strcpy(char_array, s.c_str()); |
|
|
strcpy(char_array, s.c_str()); |
|
|
char* s_convert = char_array; |
|
|
char* s_convert = char_array; |
|
|
|
|
|
|
|
|
char* getCommandXDawn_visuell() |
|
|
char* getCommandXDawn_visuell() |
|
|
{ |
|
|
{ |
|
|
string s = ""; |
|
|
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]; |
|
|
char char_array[s.length()+1]; |
|
|
strcpy(char_array, s.c_str()); |
|
|
strcpy(char_array, s.c_str()); |
|
|
char* s_convert = char_array; |
|
|
char* s_convert = char_array; |
|
|
|
|
|
|
|
|
char* getCommandClassifier_visuell() |
|
|
char* getCommandClassifier_visuell() |
|
|
{ |
|
|
{ |
|
|
string s = ""; |
|
|
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]; |
|
|
char char_array[s.length()+1]; |
|
|
strcpy(char_array, s.c_str()); |
|
|
strcpy(char_array, s.c_str()); |
|
|
char* s_convert = char_array; |
|
|
char* s_convert = char_array; |
|
|
|
|
|
|
|
|
char* s_convert = char_array; |
|
|
char* s_convert = char_array; |
|
|
return s_convert; |
|
|
return s_convert; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
char* getCommandStartAquisitionServer() |
|
|
char* getCommandStartAquisitionServer() |
|
|
{ |
|
|
{ |