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
132 stars 36 forks source link

Refactor YarpRobotControl::setReferences function to include optional current joint values and avoid to switch control mode in YarpRobotControl::setReferences #833

Closed GiulioRomualdi closed 3 months ago

GiulioRomualdi commented 3 months ago

This pull request restructures YarpRobotControl in the following manner:

Finally, it updates the utilities to work with the new modifications

[!WARNING]
As previously mentioned in issue #820, upon merging this PR, several existing code instances will stop functioning. Users should update their code by calling YarpRobotControl::setControlMode() with the desired control mode once before entering the main control loop.

GiulioRomualdi commented 3 months ago

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