40#ifndef _UWGAUSSMARKOVMOBMODEL_
41#define _UWGAUSSMARKOVMOBMODEL_
45#define sgn(x) (((x) == 0.0) ? 0.0 : ((x) / fabs(x)))
46#define pi (4 * atan(1.0))
83 virtual int command(
int argc,
const char *
const *argv);
93 virtual double getX();
102 virtual double getY();
111 virtual double getZ();
151 virtual void update(
double now);
Definition uwgmposition.h:60
virtual void update(double now)
Definition uwgmposition.cpp:146
double Gaussian()
Definition uwgmposition.cpp:140
double vx
Definition uwgmposition.h:159
double vz
Definition uwgmposition.h:161
virtual int command(int argc, const char *const *argv)
Definition uwgmposition.cpp:103
double alpha_
Definition uwgmposition.h:119
int debug_
Definition uwgmposition.h:143
double speedMean_
Definition uwgmposition.h:123
double pitchMean_
Definition uwgmposition.h:126
double direction_
Definition uwgmposition.h:141
virtual ~UwGMPosition()
Definition uwgmposition.cpp:98
virtual double getX()
Definition uwgmposition.cpp:296
UwGMPosition()
Definition uwgmposition.cpp:66
BoundType bound_
Definition uwgmposition.h:127
double directionMean_
Definition uwgmposition.h:125
double yFieldWidth_
Definition uwgmposition.h:115
double nextUpdateTime_
Definition uwgmposition.h:138
virtual double getY()
Definition uwgmposition.cpp:305
double vy
Definition uwgmposition.h:160
virtual double getZ()
Definition uwgmposition.cpp:314
double speed_
Definition uwgmposition.h:140
double xFieldWidth_
Definition uwgmposition.h:113
double zFieldWidth_
Definition uwgmposition.h:117
double updateTime_
Definition uwgmposition.h:137
double pitch_
Definition uwgmposition.h:142
double alphaPitch_
Definition uwgmposition.h:122
BoundType
Defines the behaviour of the node when it reaches an edge of the simulation field.
Definition uwgmposition.h:54
@ THOROIDAL
Definition uwgmposition.h:54
@ SPHERIC
Definition uwgmposition.h:54
@ REBOUNCE
Definition uwgmposition.h:54
@ HARDWALL
Definition uwgmposition.h:54