You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
traversaro
changed the title
Provide a clear error if the lenght of wbi_id_list and ROBOT_DOF does not match
Provide a clear error if the lenght of wbi_id_list and ROBOT_DOF do not match
Dec 22, 2014
Why can't we retrieve the ROBOT_DOF from the length of the wbi_id_list?
jeljaik
changed the title
Provide a clear error if the lenght of wbi_id_list and ROBOT_DOF do not match
Provide a clear error if the lengths of wbi_id_list and ROBOT_DOF do not match
Dec 22, 2014
The thing is that ROBOT_DOF and wbi_id_list live in two different worlds. ROBOT_DOF (which was meant to be temporary) is used only in the Matlab workspace to initialize certain variables while wbi_id_list is only parsed within the blocks in the "C++ world". The solution would be having the Matlab parser that I'm currently using also counting the number of DOF. Gimme a couple of hours and I will come back with a solution.
Any solution for providing a clear error message? @jeljaik@francesco-romano I think that for non-expert users, it's not easy to recognize the dimension mismatch between the length of wbi_id_list and the variable ROBOT_DOF immediately
It is a common error and currently the error that you get does not mention the real issue.
The text was updated successfully, but these errors were encountered: