22 ARMARX_INFO <<
"Got as config: " << properties.configJson;
24 nlohmann::json config = nlohmann::json::parse(properties.configJson);
43 auto& p = parent<RobotNameServiceComponentPluginUser>();
56 for (
const auto& [k, config_arm] : config[
CONFIG_ARMS].items())
58 auto& arm = robot.armInfos[k];
92 nlohmann::json config = nlohmann::json::parse(properties.configJson);
94 auto& p = parent<RobotNameServiceComponentPluginUser>();
98 auto mns = p.getProxy<armarx::armem::mns::MemoryNameSystemInterfacePrx>(
105 auto skill_manager = p.getProxy<armarx::skills::manager::dti::SkillManagerInterfacePrx>(
107 robot.skillManager = skill_manager;
112 for (
const auto& [k, config_arm] : config[
CONFIG_ARMS].items())
114 auto& arm = robot.armInfos[k];
122 auto hand_prx = p.getProxy<armarx::HandUnitInterfacePrx>(
124 arm.hand.handUnitInterface = hand_prx;
131 properties.rns->registerRobotInfo(robot.toIce());
137 def->optional(properties.configJson,
"robotConfigJson");
138 def->component(properties.rns);
144 properties.rns->unregisterRobotInfo(robot.
name);