You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using : pip3 install roboticstoolbox-python
and importing roboticstoolbox as rtb, it throws an error related to scipy.
randn cannot be directly imported from Scipy. So the modifications in EKF file is required. Old EKF file:
from scipy import integrate, randn Change to new EKF file::
from scipy import integrate [remove the randn]
from numpy import* [add this line and save]
Then the error is gone and everything works fine.
The text was updated successfully, but these errors were encountered:
randn is not in numpy but in numpy.random. The solution is already in pull requests but not merged.. A clean fix would be to replace your second line by from numpy.random import randn
When using : pip3 install roboticstoolbox-python
and importing roboticstoolbox as rtb, it throws an error related to scipy.
randn cannot be directly imported from Scipy. So the modifications in EKF file is required.
Old EKF file:
from scipy import integrate, randn
Change to new EKF file::
from scipy import integrate [remove the randn]
from numpy import* [add this line and save]
Then the error is gone and everything works fine.
The text was updated successfully, but these errors were encountered: