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

Minor data type modification #19

Open darkthecross opened 5 years ago

HuanWeng commented 5 years ago

Sorry I don't know why it is necessary. Could you show me some example showing its importance? Many thanks!

darkthecross commented 5 years ago

It is not really necessary I guess. When I was using this function, I somehow got a matrix with first three rows with type np.float32 and the last row with type np.object, which made me uncomfortable. But I guess numpy is able to handle following calculation correctly in this case.

On Sun, Mar 3, 2019 at 4:31 PM HuanWeng notifications@github.com wrote:

Sorry I don't know why it is necessary. Could you show me some example showing its importance? Many thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NxRLab/ModernRobotics/pull/19#issuecomment-469082822, or mute the thread https://github.com/notifications/unsubscribe-auth/AB0U3Kvk2AtfsA_09EcqJNQ1OyaJ7yBxks5vTGldgaJpZM4baTHR .

-- 樊明祥 清华大学微纳电子系 IME, Tsinghua University TEL: 13521052496