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
If I'm not wrong, this could be fixed changing line 45 of the file drivers/kalmanfilter1d.ts to if (isNaN(this.x) || isNaN(this.cov)) {.
I do not make a pull request because I don't know how to test this libraries.
This only happens once after initializing the robot but causes some bugs for some programs.
For example, the next code works fine:
But if I invert the conditional, that single frame where it is NaN makes it such that the robot starts spinning at the beginning of the program.
If I'm not wrong, this could be fixed changing line 45 of the file drivers/kalmanfilter1d.ts to
if (isNaN(this.x) || isNaN(this.cov)) {.I do not make a pull request because I don't know how to test this libraries.