Discussing parameters handling with @tylerjw and @pac48 it seems that resetting the number of DoF in on_configure in some controllers only complicates the management of those. This does not make much sense because if one needs to change the number of DoF in a controller, another instance of the controller should be used.
Recommended resolution for all (standard) controller in this package:
- Read the number of
joints/joint_names parameters in the on_init method.
- Remove updates of parameters from
on_configure method.