Closed HosameldinMohamed closed 3 years ago
I think this change will break the use of wbd for models that do not have the l_foot_ft_sensor
and r_foot_ft_sensor
(such as old iCub models or non-iCub models). Rather then hardcoding this list, ideally this should be passed in the conf file as a new parameter additionalConsideredFixedJoints
or similar.
I think this change will break the use of wbd for models that do not have the
l_foot_ft_sensor
andr_foot_ft_sensor
(such as old iCub models or non-iCub models). Rather then hardcoding this list, ideally this should be passed in the conf file as a new parameteradditionalConsideredFixedJoints
or similar.
Right, in https://github.com/robotology/whole-body-estimators/pull/109/commits/2c649f903c79fb3afde184f76bf8bc07cf46b9e1 I added it as a parameter. In order to reuse the function getConfigParamsAsList(getConfigParamsAsList(os::Searchable& config,std::string propertyName , std::vector<std::string> & list)
but avoid the error message https://github.com/robotology/whole-body-estimators/blob/9457244856ae0fba7997228eee51c2d70679c0b0/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp#L158
In case the parameter is optional (as withadditionalConsideredFixedJoints
), I added an additional boolean function to specify whether the parameter is optional or not.
Thanks guys!
Reference issue in
iDynTree
https://github.com/robotology/idyntree/issues/829The PR appends fixed joints
l_foot_ft_sensor
,r_foot_ft_sensor
in case they are omitted because the corresponding F/T sensors are not included in the model.This will enable adding the link frames
l_foot
andr_foot
in the config groupWBD_OUTPUT_EXTERNAL_WRENCH_PORTS
even when the fee F/T sensors are removed from the URDF model.