28 #include <RobotAPI/interface/components/RobotHealthInterface.h>
36 using ComponentPlugin::ComponentPlugin;
41 void signUp(
const std::string& channelName =
"",
42 const std::vector<std::string>& aliases = {},
43 const std::string& description =
"");
50 const std::vector<std::string>& aliases = {},
51 const std::string& description =
"");
56 void signUp(
const std::string& channelName,
59 const std::vector<std::string>& aliases = {},
60 const std::string& description =
"");
65 void signUp(
const RobotHealthHeartbeatArgs& args);
91 RobotHealthComponentInterfacePrx robotHealthComponentPrx;
94 static constexpr
auto healthPropertyName =
"heartbeat.ComponentName";
95 static constexpr
auto maximumCycleTimeWarningMSPropertyName =
96 "heartbeat.maximumCycleTimeWarningMS";
97 static constexpr
auto maximumCycleTimeErrorMSPropertyName =
98 "heartbeat.maximumCycleTimeErrorMS";
102 long maximumCycleTimeWarningMS = 100;
103 long maximumCycleTimeErrorMS = 200;
107 RobotHealthHeartbeatArgs defaultHeartbeatArgs;