setter for inverted map, deploy_template for master changed, global array for...

setter for inverted map, deploy_template for master changed, global array for reals renamed to double_variables
parent e29a37be
......@@ -7,5 +7,5 @@ package ujf.verimag.bip.userinterface.cli;
* use "svn annotate" and BLAME the one who has commited it !
*/
public class Version {
public static final String VERSION = "2022.02.105337-DEV";
public static final String VERSION = "2022.03.054041-DEV";
}
......@@ -5,10 +5,7 @@
using namespace std;
extern map<string,int> int_variables;
extern map<string,double> real_variables;
extern map<string,double> double_variables;
extern map<string,int> boolean_variables;
extern map<string,string> string_variables;
extern map<int,string> inverted_map;
//extern map<string,double> variables;
//extern map<string,string> variables;
\ No newline at end of file
......@@ -236,8 +236,8 @@ Functions for FMI2 for Co-Simulation
/* Version number */
#define fmi2Version "2.0"
#include <string>
void set_inverted_map(int, std::string);
/***************************************************
Common Functions
****************************************************/
......
......@@ -68,11 +68,15 @@ Component* deploy(int argc, char **argv);
// global map array that matches each variable of the bip models with their name
map<string,int> int_variables;
map<string,double> real_variables;
map<string,double> double_variables;
map<string,int> boolean_variables;
map<string,string> string_variables;
map<int,string> inverted_map;
void set_inverted_map(int id, std::string name){
inverted_map[id] = name.c_str();
}
// *** FMI Interface Functions ***
......@@ -253,7 +257,7 @@ fmi2Status fmi2GetReal(void* c, const fmi2ValueReference vr[], size_t nvr, fmi2R
}
cout<<"fmi2GetReal:";
value[i] = real_variables[inverted_map[vr[i]]];
value[i] = double_variables[inverted_map[vr[i]]];
cout<< "(Variable Reference: "<<vr[i]<<", Name: "<< inverted_map[vr[i]]<<", Value: "<<value[i]<<")\n";
//modelInstance->getReal(vr[i], value[i]);
}
......@@ -366,8 +370,8 @@ fmi2Status fmi2SetReal (void* c, const fmi2ValueReference vr[], size_t nvr, cons
return fmi2Error;
}
real_variables[inverted_map[vr[i]]] = value[i];
cout<< "fmi2SetReal: (Value Reference " << vr[i] << ", Name: " << inverted_map[vr[i]] << " Value: " <<real_variables[inverted_map[vr[i]]] << ")\n";
double_variables[inverted_map[vr[i]]] = value[i];
cout<< "fmi2SetReal: (Value Reference " << vr[i] << ", Name: " << inverted_map[vr[i]] << " Value: " <<double_variables[inverted_map[vr[i]]] << ")\n";
//modelInstance->setReal(vr[i], value[i]);
}
catch (std::exception & ex) {
......
......@@ -219,7 +219,7 @@ Project_SOURCE_DIR:STATIC=/home/siemens/bip/examples/SpeedControlModule/modelCla
RT_path:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
//Path to a library.
libengine_path:FILEPATH=/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/lib/static/libengine.a
libengine_path:FILEPATH=/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/lib/static/libengine.a
########################
......
......@@ -10,8 +10,8 @@ set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/examples/SpeedControlModule/modelClassification/ext-cpp"
"../learn/include"
)
......
......@@ -80,7 +80,7 @@ system_EXTERNAL_OBJECTS =
system: CMakeFiles/system.dir/Deploy/Deploy.cpp.o
system: CMakeFiles/system.dir/build.make
system: learn/libpack__learn.a
system: /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/lib/static/libengine.a
system: /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/lib/static/libengine.a
system: /usr/lib/x86_64-linux-gnu/librt.so
system: CMakeFiles/system.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/siemens/bip/examples/SpeedControlModule/modelClassification/output/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable system"
......
......@@ -6,5 +6,5 @@ CXX_FLAGS = -Wall -std=c++0x
CXX_DEFINES =
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelClassification/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelClassification/output/learn/include
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelClassification/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelClassification/output/learn/include
/usr/bin/c++ -Wall -std=c++0x -rdynamic CMakeFiles/system.dir/Deploy/Deploy.cpp.o -o system learn/libpack__learn.a /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/lib/static/libengine.a -lrt
/usr/bin/c++ -Wall -std=c++0x -rdynamic CMakeFiles/system.dir/Deploy/Deploy.cpp.o -o system learn/libpack__learn.a /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/lib/static/libengine.a -lrt
......@@ -43,8 +43,8 @@ set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/examples/SpeedControlModule/modelClassification/ext-cpp"
"../learn/include"
)
......
......@@ -6,5 +6,5 @@ CXX_FLAGS = -Wall -std=c++0x
CXX_DEFINES =
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelClassification/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelClassification/output/learn/include
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelClassification/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelClassification/output/learn/include
......@@ -219,7 +219,7 @@ Project_SOURCE_DIR:STATIC=/home/siemens/bip/examples/SpeedControlModule/modelDet
RT_path:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
//Path to a library.
libengine_path:FILEPATH=/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/lib/static/libengine.a
libengine_path:FILEPATH=/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/lib/static/libengine.a
########################
......
......@@ -10,8 +10,8 @@ set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/ext-cpp"
"../learn/include"
)
......
......@@ -80,7 +80,7 @@ system_EXTERNAL_OBJECTS =
system: CMakeFiles/system.dir/Deploy/Deploy.cpp.o
system: CMakeFiles/system.dir/build.make
system: learn/libpack__learn.a
system: /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/lib/static/libengine.a
system: /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/lib/static/libengine.a
system: /usr/lib/x86_64-linux-gnu/librt.so
system: CMakeFiles/system.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/output/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable system"
......
......@@ -6,5 +6,5 @@ CXX_FLAGS = -Wall -std=c++0x
CXX_DEFINES =
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/output/learn/include
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/output/learn/include
/usr/bin/c++ -Wall -std=c++0x -rdynamic CMakeFiles/system.dir/Deploy/Deploy.cpp.o -o system learn/libpack__learn.a /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/lib/static/libengine.a -lrt
/usr/bin/c++ -Wall -std=c++0x -rdynamic CMakeFiles/system.dir/Deploy/Deploy.cpp.o -o system learn/libpack__learn.a /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/lib/static/libengine.a -lrt
......@@ -46,8 +46,8 @@ set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/ext-cpp"
"../learn/include"
)
......
......@@ -6,5 +6,5 @@ CXX_FLAGS = -Wall -std=c++0x
CXX_DEFINES =
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/output/learn/include
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/imageDetection/output/learn/include
......@@ -219,7 +219,7 @@ Project_SOURCE_DIR:STATIC=/home/siemens/bip/examples/SpeedControlModule/modelDet
RT_path:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
//Path to a library.
libengine_path:FILEPATH=/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/lib/static/libengine.a
libengine_path:FILEPATH=/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/lib/static/libengine.a
########################
......
......@@ -10,8 +10,8 @@ set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/ext-cpp"
"../learn/include"
)
......
......@@ -80,7 +80,7 @@ system_EXTERNAL_OBJECTS =
system: CMakeFiles/system.dir/Deploy/Deploy.cpp.o
system: CMakeFiles/system.dir/build.make
system: learn/libpack__learn.a
system: /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/lib/static/libengine.a
system: /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/lib/static/libengine.a
system: /usr/lib/x86_64-linux-gnu/librt.so
system: CMakeFiles/system.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/output/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable system"
......
......@@ -6,5 +6,5 @@ CXX_FLAGS = -Wall -std=c++0x
CXX_DEFINES =
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/output/learn/include
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/output/learn/include
/usr/bin/c++ -Wall -std=c++0x -rdynamic CMakeFiles/system.dir/Deploy/Deploy.cpp.o -o system learn/libpack__learn.a /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/lib/static/libengine.a -lrt
/usr/bin/c++ -Wall -std=c++0x -rdynamic CMakeFiles/system.dir/Deploy/Deploy.cpp.o -o system learn/libpack__learn.a /home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/lib/static/libengine.a -lrt
......@@ -46,8 +46,8 @@ set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic"
"/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific"
"/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/ext-cpp"
"../learn/include"
)
......
......@@ -6,5 +6,5 @@ CXX_FLAGS = -Wall -std=c++0x
CXX_DEFINES =
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.02.105337-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/output/learn/include
CXX_INCLUDES = -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/generic -I/home/siemens/bip/distribution/build/bip-full/BIP-reference-engine-2022.03.054041-DEV_Linux-x86_64/include/specific -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/ext-cpp -I/home/siemens/bip/examples/SpeedControlModule/modelDetection/streamDetection/output/learn/include
#include <iostream>
#include <string>
#include <map>
using namespace std;
extern map<string,int> int_variables;
extern map<string,double> real_variables;
extern map<string,int> boolean_variables;
extern map<string,string> string_variables;
extern map<int,string> inverted_map;
//extern map<string,double> variables;
//extern map<string,string> variables;
\ No newline at end of file
#include <stdio.h>
#include <stdlib.h>
#include <dlfcn.h>
#include <string>
#include <fmi2Functions.h>
#include <fmi2FunctionTypes.h>
#include <Variables.hpp>
#include <iostream>
// global map array that matches each variable of the bip models with their name
map<string,int> int_variables;
map<string,double> real_variables;
map<string,int> boolean_variables;
map<string,string> string_variables;
map<int,string> inverted_map;
using namespace std;
int main(int argc, char **argv) {
......@@ -24,6 +20,7 @@ int main(int argc, char **argv) {
fmi2SetIntegerTYPE* (fmi2SetInteger);
fmi2GetIntegerTYPE* (fmi2GetInteger);
fmi2DoStepTYPE* (fmi2DoStep);
void (*set_inverted_map)(int,string);
char *error;
handle = dlopen ("./libProject.so", RTLD_LAZY);
......@@ -39,6 +36,7 @@ int main(int argc, char **argv) {
fmi2SetInteger = (fmi2SetIntegerTYPE*) dlsym(handle, "fmi2SetInteger");
fmi2GetInteger = (fmi2GetIntegerTYPE*) dlsym(handle, "fmi2GetInteger");
fmi2DoStep = (fmi2DoStepTYPE*) dlsym(handle, "fmi2DoStep");
set_inverted_map = (void (*)(int, std::string)) dlsym(handle, "set_inverted_map");
if ((error = dlerror()) != NULL) {
fprintf (stderr, "%s\n", error);
......@@ -49,19 +47,19 @@ int main(int argc, char **argv) {
fmi2Component c = (*fmi2Instantiate)("prModel", fmi2CoSimulation , "prModel", "resource/location", NULL, true, true);
inverted_map[100] = "ROOT.environment._id__inputIndex";
inverted_map[101] = "ROOT.environment._id__time";
inverted_map[102] = "ROOT.camera._id__inputIndex";
inverted_map[103] = "ROOT.perception._id__inputIndex";
inverted_map[104] = "ROOT.perception._id__result";
inverted_map[105] = "ROOT.controller._id__speed";
inverted_map[106] = "ROOT.controller._id__speedLimit";
inverted_map[107] = "ROOT.controller._id__deltaSpeed";
inverted_map[108] = "ROOT.controller._id__zero";
inverted_map[109] = "ROOT.brake._id__deltaSpeed";
inverted_map[110] = "ROOT.throttle._id__deltaSpeed";
inverted_map[111] = "ROOT.speedSensor._id__speed";
inverted_map[112] = "ROOT.speedSensor._id__deltaSpeed";
(*set_inverted_map)(100, "ROOT.environment._id__inputIndex");
(*set_inverted_map)(101, "ROOT.environment._id__time");
(*set_inverted_map)(102, "ROOT.camera._id__inputIndex");
(*set_inverted_map)(103, "ROOT.perception._id__inputIndex");
(*set_inverted_map)(104, "ROOT.perception._id__result");
(*set_inverted_map)(105, "ROOT.controller._id__speed");
(*set_inverted_map)(106, "ROOT.controller._id__speedLimit");
(*set_inverted_map)(107, "ROOT.controller._id__deltaSpeed");
(*set_inverted_map)(108, "ROOT.controller._id__zero");
(*set_inverted_map)(109, "ROOT.brake._id__deltaSpeed");
(*set_inverted_map)(110, "ROOT.throttle._id__deltaSpeed");
(*set_inverted_map)(111, "ROOT.speedSensor._id__speed");
(*set_inverted_map)(112, "ROOT.speedSensor._id__deltaSpeed");
const unsigned int vr[] = {100,101,102,103,104,105,106,107,108,109,110,111,112};
const int values[] = {1,10,0,0,0,0,0,0,0,0,0,100,0};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment