Closed chinaheyu closed 1 year ago
Hi @chinaheyu ,
thanks for letting me know. If you want, you can make a pull request to the develop branch with your changes. Otherwise I will do it in the next days.
Merged to develop branch and will be part of release 2.2.0. Thanks!
I was recently using plot_cylinder to draw joints for a robot. I found that an
RuntimeWarning
occurs when the cylindrical z-axis is exactly in the negative direction of the x-axis. Also the cylinder does not appear in axis.Here is my code:
Here is the output:
I tried to change the code in line 212 of file
pytransform3d\plot_utils\_plot_functions.py
and now the program works as I expected.Here are the changes I made: