FIX: fixed the incorect setting of the command port and chnaged to connecet to the virtual console in the cms
This commit is contained in:
@@ -42,11 +42,11 @@ int main()
|
||||
}
|
||||
const char* GroundTruthAddr = "239.0.0.1";
|
||||
if (std::getenv("GROUNDTRUTH_ADDR") != nullptr) {
|
||||
CommandPortChar = std::getenv("GROUNDTRUTH_ADDR");
|
||||
GroundTruthAddr = std::getenv("GROUNDTRUTH_ADDR");
|
||||
}
|
||||
const char* GroundTruthPort = "10000";
|
||||
if (std::getenv("GROUNDTRUTH_PORT") != nullptr) {
|
||||
CommandPortChar = std::getenv("GROUNDTRUTH_PORT");
|
||||
GroundTruthPort = std::getenv("GROUNDTRUTH_PORT");
|
||||
}
|
||||
|
||||
const char* Namespace = "simulator";
|
||||
@@ -67,6 +67,8 @@ int main()
|
||||
|
||||
LOG_S(INFO)<<"online:" << online;
|
||||
|
||||
LOG_S(INFO)<< "command port"<< CommandPortChar;
|
||||
|
||||
SimControl::SimControl sc(online,CommandPortChar,GroundTruthAddr,SimCore::UtilFunctions::StringToUShort(GroundTruthPort),Namespace);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user