MCPcopy Create free account
hub / github.com/RoboJackets/software-training / Sample

Method Sample

localization/src/random_helpers.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34double UniformRandomGenerator::Sample()
35{
36 return distribution_(engine_);
37}
38
39GaussianRandomGenerator::GaussianRandomGenerator()
40: engine_(RANDOM_SEED), distribution_(0.0, 1.0)

Callers 3

GenerateNewParticleMethod · 0.45
ResampleParticlesMethod · 0.45
updateParticleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected