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.
Fixes #851.
Now gives a clear error message if the vector size is incorrect: