ami-iit / bipedal-locomotion-framework

Suite of libraries for achieving bipedal locomotion on humanoid robots
https://ami-iit.github.io/bipedal-locomotion-framework/
BSD 3-Clause "New" or "Revised" License
146 stars 38 forks source link

Avoid to switch the control mode in setReference of the RobotControlHelper #820

Closed GiulioRomualdi closed 6 months ago

GiulioRomualdi commented 6 months ago

Currently, the RobotControlHelper::setReference switches the control mode of the joints if they are not in the expected configuration. This may lead to errors and RPC calls in the main control loop. After discussing with @S-Dafarra, we decided that it's better to remove this feature.

[!WARNING]
Once the PR (that needs to be opened) is merged, several existing code instances will stop working.

cc @mebbaid @isorrentino @S-Dafarra @evelyd @rob-mau

GiulioRomualdi commented 6 months ago

Associated PR: https://github.com/ami-iit/bipedal-locomotion-framework/pull/833