tracking.cpp
Go to the documentation of this file.
00001 #include <pcl/tracking/tracking.h>
00002 
00003 double
00004 pcl::tracking::sampleNormal (double mean, double sigma)
00005 {
00006   using namespace boost;
00007   static mt19937 rng(static_cast<unsigned> (std::time (0)));
00008   
00009   normal_distribution<double> norm_dist (mean, sqrt (sigma));
00010   
00011   variate_generator<mt19937&, normal_distribution<double> >
00012     normal_sampler (rng, norm_dist);
00013   
00014   return normal_sampler ();
00015 }


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:18:50