sonelu / roboglia

Robotics framework
GNU General Public License v3.0
0 stars 1 forks source link

[FEATURE REQUEST] Change to math.nan instead of ``None`` #57

Closed sonelu closed 4 years ago

sonelu commented 4 years ago

Is your feature request related to a problem? Please describe. The use of Noneis cumbersome and unintuitive. It requires defining additional functions for addition and substation.

Describe the solution you'd like Use math.nan

Describe alternatives you've considered If numpy is installed you can also use the NaN from numpy and the manipulation functions from there. You can use a try-catch in the import statement to replace the nan and the methods from math and statistics with the ones from numpy.