added activity recognition to smoothing transition
This commit is contained in:
@@ -72,17 +72,19 @@ public:
|
||||
}
|
||||
|
||||
// CONTROL!
|
||||
// if (useStep) {
|
||||
// weight *= stepEval.getProbability(p.state, observation.step);
|
||||
// }
|
||||
// if (useStep) {
|
||||
// //weight *= stepEval.getProbability(p.state, observation.step);
|
||||
// }
|
||||
|
||||
// CONTROL!
|
||||
// if (useTurn) {
|
||||
// weight *= turnEval.getProbability(p.state, observation.turn, true);
|
||||
// CONTROL!
|
||||
if (useTurn) {
|
||||
//weight *= turnEval.getProbability(p.state, observation.turn, true);
|
||||
|
||||
// //set
|
||||
// p.state.angularHeadingChange = observation.turn->delta_heading;
|
||||
// }
|
||||
//set
|
||||
p.state.angularHeadingChange = observation.turn->delta_heading;
|
||||
}
|
||||
|
||||
p.state.currentActivity = observation.currentActivity;
|
||||
|
||||
// set and accumulate
|
||||
p.weight = weight;
|
||||
|
||||
Reference in New Issue
Block a user