ParkingSlot ps_;
unsigned int c_ = 0; // number of cusps
+ std::vector<BicycleCar> cusps_;
// find entry to slot
void fe_parallel();
ParkingSlot &ps() { return this->ps_; }
unsigned int c() const { return this->c_; }
+ std::vector<BicycleCar> &cusps() { return this->cusps_; }
PSPlanner();
};
if (!this->ps().right())
this->cc().st(this->cc().st() * -1);
this->cc().sp(0.01);
+ this->cusps_.clear();
while (!this->left()) {
while (!this->collide() && !this->left())
this->cc().next();
this->cc().next();
this->cc().st(this->cc().st() * -1);
this->c_++;
+ this->cusps_.push_back(this->cc());
}
}
}