NxRLab / ModernRobotics

Modern Robotics: Mechanics, Planning, and Control Code Library --- The primary purpose of the provided software is to be easy to read and educational, reinforcing the concepts in the book. The code is optimized neither for efficiency nor robustness.
http://modernrobotics.org/
MIT License
1.9k stars 807 forks source link

fixed np.float to float to work with numpy > 1.20 #50

Closed LukasMacha97 closed 1 year ago

LukasMacha97 commented 1 year ago

Numpy 1.24 raises an error as there is no np.float. I changed that in the code simply to just float so that it now works with the latest numpy version.

HuanWeng commented 1 year ago

Hi Lukas,

Thank you for fixing this! I just merged your first commit in. I think the others are for your personal work so I will leave them there.

lukeschmitt-tr commented 1 year ago

@HuanWeng could we get this change released on PyPI?

HuanWeng commented 1 year ago

@LSinterbotix Of course. Thank you for reminding us. It is planned to be done this week.