|
|
|
|
|
|
|
|
//------------------------------------------------------------------------------------------------------------------------------------- |
|
|
//------------------------------------------------------------------------------------------------------------------------------------- |
|
|
string command = "bash"; |
|
|
string command = "bash"; |
|
|
string nogui = "--no-gui"; |
|
|
string nogui = "--no-gui"; |
|
|
string play = "--play"; |
|
|
|
|
|
|
|
|
string play = "--play"; |
|
|
|
|
|
string playFast = "--play-fast"; |
|
|
string config = "--config"; |
|
|
string config = "--config"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
char* getCommandXDawn_taktil() |
|
|
char* getCommandXDawn_taktil() |
|
|
{ |
|
|
{ |
|
|
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_taktil).append(fileXDawnTrainingTaktil).append(" ").append(nogui); |
|
|
|
|
|
|
|
|
s = s.append(command).append(" ").append(PATH_OV).append(" ").append(config).append(" ").append(PATH_FILES_ConfigFile).append(" ").append( playFast).append(" ").append(PATH_FILES_taktil).append(fileXDawnTrainingTaktil).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( play).append(" ").append(PATH_FILES_Visual).append(fileXDawnTrainingVisuell).append(" ").append(nogui); |
|
|
|
|
|
|
|
|
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); |
|
|
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( play).append(" ").append(PATH_FILES_Visual).append(fileClassifierTrainingVisuell).append(" ").append(nogui); |
|
|
|
|
|
|
|
|
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); |
|
|
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_taktil() |
|
|
char* getCommandClassifier_taktil() |
|
|
{ |
|
|
{ |
|
|
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_taktil).append(fileClassifierTrainingTaktil).append(" ").append(nogui); |
|
|
|
|
|
|
|
|
s = s.append(command).append(" ").append(PATH_OV).append(" ").append(config).append(" ").append(PATH_FILES_ConfigFile).append(" ").append( playFast).append(" ").append(PATH_FILES_taktil).append(fileClassifierTrainingTaktil).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; |