interface changes
added new data-strcutures for new sensors new helper methods fixed some issues
This commit is contained in:
@@ -74,9 +74,8 @@ public:
|
||||
// get the difference
|
||||
const float angularDiff = head.getDiffHalfRAD(stateHead);
|
||||
|
||||
if (angularDiff > Angle::degToRad(180)) {return 0.05;}
|
||||
if (angularDiff > Angle::degToRad(90)) {return 0.25;}
|
||||
{return 0.70;}
|
||||
if (angularDiff > Angle::degToRad(100)) {return 0.10;}
|
||||
{return 0.90;}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
// if (potentialNode.getType() == GridNode::TYPE_FLOOR) {return kappa;}
|
||||
// {return 1-kappa;}
|
||||
default:
|
||||
throw Exception("not yet implemented");
|
||||
throw Exception("not yet implemented activity within WalkModuleActivityControl::getProbability");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user