graphical exception [temporary solution]

performance fixes
minor changes
This commit is contained in:
2016-09-29 21:03:49 +02:00
parent 4f511d907e
commit e75327090d
6 changed files with 46 additions and 20 deletions

View File

@@ -14,7 +14,7 @@ template <typename Node, typename WalkState, typename Control> class WalkModuleH
private:
/** CURRENTLY NOT USED van-Mises distribution */
Distribution::LUT<double> dist;
Distribution::LUT<float> dist;
/** random noise */
Distribution::Normal<float> distNoise;
@@ -25,7 +25,7 @@ public:
/** ctor 3.0 should be OK! */
WalkModuleHeadingControl(const Control* ctrl, const float sensorNoiseDegreesSigma) :
dist(Distribution::VonMises<double>(0.0f, 2.0).getLUT()),
dist(Distribution::VonMises<float>(0.0f, 2.0f).getLUT()),
distNoise(0, Angle::degToRad(sensorNoiseDegreesSigma)),
ctrl(ctrl) {