Ejemplo n.º 1
0
bool
Stuck::notStuckAnymore(CarState &cs) {
    return onRightWay(cs.getTrackPos(), cs.getAngle());
}
Ejemplo n.º 2
0
/* @todo give this test (and the previous ones) with a meaningful name... */
bool Stuck::notStuckAnymore(float trackPos, float angle) {
    return (onRightWay(trackPos, angle));
}