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

Add vector size check for joint values in setReferences in YarpRobotControl.cpp #852

Closed giotherobot closed 3 weeks ago

giotherobot commented 3 weeks ago

Fixes #851.

Now gives a clear error message if the vector size is incorrect:

[ERROR] [2024-06-13 15:35:43.808] [thread: 236092] [blf] [YarpRobotControl::Impl::setReferences] The size of the joint values is different from the number of actuated DoFs. Expected size: 7. Received size: 3.
GiulioRomualdi commented 3 weeks ago

Could you please update the changelog?