For safety, wholeBodyDynamicsTree should deal safely with the following scenarios:
[ ] if the wholeBodyDynamicsTree is closing or is calibrating, all the joint for which wholeBodyDynamicsTree is providing torque estimates (using the autoconnect flag) should be safely switched to a controlMode/interactionMode that does not need torque measurements: if the joints is in CM_TORQUE it should switch to control mode CM_POSITION and interaction mode INTERACTION_STIFF, in all other cases it should just switch to interaction mode INTERACTION_STIFF.
For safety, wholeBodyDynamicsTree should deal safely with the following scenarios:
CM_TORQUE
it should switch to control modeCM_POSITION
and interaction modeINTERACTION_STIFF
, in all other cases it should just switch to interaction modeINTERACTION_STIFF
.