updates the visualisation

removed obsolte parts
fixed baromter stuff
worked on eval
added ground-truth
This commit is contained in:
2016-01-30 19:50:58 +01:00
parent b2ea3145f4
commit cc899d1c46
18 changed files with 388 additions and 190 deletions

View File

@@ -65,14 +65,14 @@ struct MyState {
MyState& operator += (const MyState& o) {
pCur += o.pCur;
//hPa += o.hPa;
hPa += o.hPa;
//distanceWalked += o.distanceWalked;
return *this;
}
MyState& operator /= (const double d) {
pCur /= d;
//hPa /= d;
hPa /= d;
//distanceWalked /= d;
return *this;
}
@@ -80,7 +80,7 @@ struct MyState {
MyState operator * (const double d) const {
MyState s = MyState(*this);
s.pCur *= d;
//s.hPa *= d;
s.hPa *= d;
//distanceWalked *= d;
return s;
}
@@ -101,6 +101,10 @@ struct MyState {
// return *this;
// }
bool belongsToRegion(const MyState& o) const {
return o.pCur.getDistance(pCur) < 700;
}
// /** rejection for the regional estimator. reject after 150cm distance */
// bool belongsToRegion(const MyState& o) const {