I have added a new class called BoxMuller.java. Its sole static method randn(float mu, float sigma) returns a random floating-point number drawn from a normal distribution of mean mu and standard deviation sigma. Essentially, it produces the same result as Matlab's randn function.
The BoxMuller.randn method is used in the MCL.java class to add noise to a newly chosen particle in the chooseNewPoseSet method. I have corrected this method so that it now refers to the randn method.
ROBOTMAK3RS Around the World
1 week ago
