removed Heading::rnd()
changed particle init fixed uninitialized values new ground-truth helper methods added new stats to the eval (distance from ground-truth)
This commit is contained in:
@@ -88,7 +88,7 @@ public:
|
||||
// update the old heading and the other old values
|
||||
//p.state.walkState.heading = p.state.heading;
|
||||
if(!(p.state.pOld == p.state.pCur)){
|
||||
p.state.cumulativeHeading = Angle::getDEG_360(p.state.pOld.x, p.state.pOld.y, p.state.pCur.x, p.state.pCur.y);
|
||||
p.state.cumulativeHeading = Angle::getDEG_360(p.state.pOld.x, p.state.pOld.y, p.state.pCur.x, p.state.pCur.y);
|
||||
}
|
||||
p.state.pOld = p.state.pCur;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user