31 Management::_preOnInitRobotUnit()
34 additionalObjectSchedulerCount =
38 heartbeatStartupMarginMS =
getProperty<long>(
"HeartbeatStartupMarginMS").getValue();
39 getArmarXManager()->increaseSchedulers(
static_cast<int>(additionalObjectSchedulerCount));
45 Management::_postFinishControlThreadInitialization()
53 heartbeatRequired =
true;
54 if (overallHealthState == RobotHealthState::HealthOK ||
55 overallHealthState == RobotHealthState::HealthWarning)
Property< PropertyType > getProperty(const std::string &name)
void usingTopic(const std::string &name, bool orderedPublishing=false)
Registers a proxy for subscription after initialization.
ArmarXManagerPtr getArmarXManager() const
Returns the ArmarX manager used to add and remove components.
Property< PropertyType > getProperty(const std::string &name)
Property creation and retrieval.
void aggregatedHeartbeat(RobotHealthState overallHealthState, const Ice::Current &) override
void throwIfInControlThread(const std::string &fnc) const
Throws if the current thread is the ControlThread.
static IceUtil::Time GetTime(TimeMode timeMode=TimeMode::VirtualTime)
Get the current time.
T getValue(nlohmann::json &userConfig, nlohmann::json &defaultConfig, const std::string &entryName)