15 std::vector<double> act_reduction;
22 double jnt_reduction, jnt_offset;
35 << transmission_info.
name_ <<
"' of type '"
36 << demangledTypeName<MultiActuatorTransmissionLoader>() <<
"'. " << ex.
what());
42 std::vector<double>& actuator_reduction)
44 const std::string actuator_role =
"main";
45 static unsigned int act_num = transmission_info.
actuators_.size();
46 std::vector<TiXmlElement> act_elements(act_num,
"");
47 std::vector<std::string> act_names(act_num);
48 std::vector<std::string> act_roles(act_num);
50 for (
unsigned int i = 0; i < act_num; ++i)
52 act_names[i] = transmission_info.
actuators_[i].name_;
56 std::string& act_role = act_roles[i];
60 if (!(actuator_role == act_roles[0]))
65 actuator_reduction.resize(act_num);
66 for (
unsigned int i = 0; i < act_num; ++i)
77 TiXmlElement jnt_elements =
"";
79 std::string jnt_names = transmission_info.
joints_[0].name_;