TriPed-Robot / trip_kinematics

Python package for inverse kinematic calculations of hybrid serial parallel robots
https://trip-kinematics.readthedocs.io/en/main/
MIT License
29 stars 5 forks source link

Non helpfull Errors for set_actuated #49

Closed liquidcronos closed 3 years ago

liquidcronos commented 3 years ago

All actuated states of a group need to supplied to change the value of the group currently. However the errors do not reflect this, instead the following error is produced:

"Error: State not set! Keys do not match! Make sure that your state includes the same keys as the intial actuated state.") ValueError: Error: State not set! Keys do not match! Make sure that your state includes the same keys as the intial actuated state.

Either the behavior of set_actuated needs to be changed to allow for only one actuated value being set or the error needs to be cached seperately. In this case a more helpfull errormessage should be provided