87 if (config.check(
"help"))
96 if (config.check(
"jointNames"))
100 yarp::os::Bottle* tempBot = config.find(
"jointNames").asList();
103 std::string tempBots = tempBot->toString();
104 for (
size_t i=0; i<tempBot->size(); i++)
111 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"parameter 'jointNames' is not a properly formatted bottle";
114 yCInfo(CouplingICubHandMk2ParamsCOMPONENT) <<
"Parameter 'jointNames' using value:" <<
m_jointNames;
118 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Mandatory parameter 'jointNames' not found!";
119 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Description of the parameter: Names of the physical joints";
122 prop_check.unput(
"jointNames");
127 yarp::os::Bottle sectionp;
128 sectionp = config.findGroup(
"LIMITS");
129 if (sectionp.check(
"jntPosMin"))
133 yarp::os::Bottle* tempBot = sectionp.find(
"jntPosMin").asList();
136 std::string tempBots = tempBot->toString();
137 for (
size_t i=0; i<tempBot->size(); i++)
144 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"parameter 'LIMITS_jntPosMin' is not a properly formatted bottle";
147 yCInfo(CouplingICubHandMk2ParamsCOMPONENT) <<
"Parameter 'LIMITS::jntPosMin' using value:" <<
m_LIMITS_jntPosMin;
151 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Mandatory parameter 'LIMITS::jntPosMin' not found!";
152 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Description of the parameter: Physical joints' position minimum";
155 prop_check.unput(
"LIMITS::jntPosMin");
160 yarp::os::Bottle sectionp;
161 sectionp = config.findGroup(
"LIMITS");
162 if (sectionp.check(
"jntPosMax"))
166 yarp::os::Bottle* tempBot = sectionp.find(
"jntPosMax").asList();
169 std::string tempBots = tempBot->toString();
170 for (
size_t i=0; i<tempBot->size(); i++)
177 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"parameter 'LIMITS_jntPosMax' is not a properly formatted bottle";
180 yCInfo(CouplingICubHandMk2ParamsCOMPONENT) <<
"Parameter 'LIMITS::jntPosMax' using value:" <<
m_LIMITS_jntPosMax;
184 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Mandatory parameter 'LIMITS::jntPosMax' not found!";
185 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Description of the parameter: Physical joints' position maximum";
188 prop_check.unput(
"LIMITS::jntPosMax");
193 yarp::os::Bottle sectionp;
194 sectionp = config.findGroup(
"COUPLING");
195 if (sectionp.check(
"actuatedAxesNames"))
199 yarp::os::Bottle* tempBot = sectionp.find(
"actuatedAxesNames").asList();
202 std::string tempBots = tempBot->toString();
203 for (
size_t i=0; i<tempBot->size(); i++)
210 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"parameter 'COUPLING_actuatedAxesNames' is not a properly formatted bottle";
217 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Mandatory parameter 'COUPLING::actuatedAxesNames' not found!";
218 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Description of the parameter: Names of the actuated axes";
221 prop_check.unput(
"COUPLING::actuatedAxesNames");
226 yarp::os::Bottle sectionp;
227 sectionp = config.findGroup(
"COUPLING");
228 if (sectionp.check(
"actuatedAxesPosMin"))
232 yarp::os::Bottle* tempBot = sectionp.find(
"actuatedAxesPosMin").asList();
235 std::string tempBots = tempBot->toString();
236 for (
size_t i=0; i<tempBot->size(); i++)
243 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"parameter 'COUPLING_actuatedAxesPosMin' is not a properly formatted bottle";
250 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Mandatory parameter 'COUPLING::actuatedAxesPosMin' not found!";
251 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Description of the parameter: Actuated axes' position minimum";
254 prop_check.unput(
"COUPLING::actuatedAxesPosMin");
259 yarp::os::Bottle sectionp;
260 sectionp = config.findGroup(
"COUPLING");
261 if (sectionp.check(
"actuatedAxesPosMax"))
265 yarp::os::Bottle* tempBot = sectionp.find(
"actuatedAxesPosMax").asList();
268 std::string tempBots = tempBot->toString();
269 for (
size_t i=0; i<tempBot->size(); i++)
276 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"parameter 'COUPLING_actuatedAxesPosMax' is not a properly formatted bottle";
283 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Mandatory parameter 'COUPLING::actuatedAxesPosMax' not found!";
284 yCError(CouplingICubHandMk2ParamsCOMPONENT) <<
"Description of the parameter: Actuated axes' position maximum";
287 prop_check.unput(
"COUPLING::actuatedAxesPosMax");