Interbotix / interbotix_ros_toolboxes

Support-level ROS Packages for Interbotix Robots
BSD 3-Clause "New" or "Revised" License
29 stars 68 forks source link

Illegal argument causes set_ee_cartesian_trajectory to crash #17

Closed harshitsankhla closed 2 years ago

harshitsankhla commented 2 years ago

https://github.com/Interbotix/interbotix_ros_toolboxes/blob/1ed10f99f9ce7d5d77f65b5756d8f3f7a06bdc1e/interbotix_common_toolbox/interbotix_common_modules/src/interbotix_common_modules/angle_manipulation.py#L52

np.identity() does not have any keyword like (this keyword has been introduced from numpy v1.20)

this crashes the set_ee_cartesian_trajectory method https://github.com/Interbotix/interbotix_ros_toolboxes/blob/1ed10f99f9ce7d5d77f65b5756d8f3f7a06bdc1e/interbotix_xs_toolbox/interbotix_xs_modules/src/interbotix_xs_modules/arm.py#L247

lukeschmitt-tr commented 2 years ago

If your numpy version is lower than what is required, you should be able to upgrade it by running the following command:

$ pip install numpy --upgrade # or pip3 if on noetic

Let us know if this does not resolve your issue.

lukeschmitt-tr commented 2 years ago

Closing due to lack of activity. Feel free to reopen if necessary.