32 const VectorXf& robotPlatform2DPose,
33 const std::string& taskName)
36 <<
"The platform pose needs to contain x, y, alpha";
37 this->startCfg = robotPlatform2DPose;
38 this->goalCfg = VectorXf(3, 0);
39 this->cspace = cspace->clone();
43 space->setPoseBounds(Vector3fRange{{startCfg.at(0) - 10000, startCfg.at(1) - 10000, -
M_PI},
44 {startCfg.at(0) + 10000, startCfg.at(1) + 10000,
M_PI}});
48 throw LocalException() <<
"The cspace needs to be a SimoxCSpaceWith2DPose";
51 this->taskName = taskName;
58 p.pathName =
"RobotPose";
59 p.nodes.push_back(this->startCfg);
68 cspace->initCollisionTest();