5 #define MotionModelConditioningLinearCovariance 0.01 6 #define MotionModelConditioningAngularCovariance 0.001 17 n.
x+=lm*cos(n.
theta+.5*am);
18 n.
y+=lm*sin(n.
theta+.5*am);
32 noisypoint.
theta=fmod(noisypoint.
theta, 2*M_PI);
33 if (noisypoint.
theta>M_PI)
34 noisypoint.
theta-=2*M_PI;
63 double linearMove=sqrt(delta.
x*delta.
x+delta.
y*delta.
y);
64 double angularMove=fabs(delta.
x);
65 double s11=
srr*
srr*linearMove*linearMove;
66 double s22=
stt*
stt*angularMove*angularMove;
67 double s12=
str*angularMove*
srt*linearMove;
const char *const *argv double delta
OrientedPoint drawFromMotion(const OrientedPoint &p, double linearMove, double angularMove) const
double UTILS_EXPORT sampleGaussian(double sigma, unsigned long int S=0)
#define MotionModelConditioningAngularCovariance
orientedpoint< T, A > absoluteSum(const orientedpoint< T, A > &p1, const orientedpoint< T, A > &p2)
orientedpoint< T, A > absoluteDifference(const orientedpoint< T, A > &p1, const orientedpoint< T, A > &p2)
Covariance3 gaussianApproximation(const OrientedPoint &pnew, const OrientedPoint &pold) const
#define MotionModelConditioningLinearCovariance
orientedpoint< double, double > OrientedPoint