39 #ifndef KUKA_RSI_HW_INTERFACE_RSI_COMMAND_ 40 #define KUKA_RSI_HW_INTERFACE_RSI_COMMAND_ 52 RSICommand(std::vector<double> position_corrections,
unsigned long long ipoc);
64 TiXmlElement* root =
new TiXmlElement(
"Sen");
65 root->SetAttribute(
"Type",
"ImFree");
66 TiXmlElement* el =
new TiXmlElement(
"AK");
68 el->SetAttribute(
"A1", std::to_string(joint_position_correction[0]));
69 el->SetAttribute(
"A2", std::to_string(joint_position_correction[1]));
70 el->SetAttribute(
"A3", std::to_string(joint_position_correction[2]));
71 el->SetAttribute(
"A4", std::to_string(joint_position_correction[3]));
72 el->SetAttribute(
"A5", std::to_string(joint_position_correction[4]));
73 el->SetAttribute(
"A6", std::to_string(joint_position_correction[5]));
75 root->LinkEndChild(el);
76 el =
new TiXmlElement(
"IPOC");
77 el->LinkEndChild(
new TiXmlText(std::to_string(ipoc)));
78 root->LinkEndChild(el);
79 doc.LinkEndChild(root);
81 printer.SetStreamPrinting();