Go to the documentation of this file.
6 #include <VirtualRobot/CollisionDetection/CollisionModel.h>
26 for (
size_t i = 0; i <
obstacles->getCollisionModels().size(); i++)
28 VirtualRobot::BoundingBox bb =
obstacles->getCollisionModels()[i]->getBoundingBox();
53 result(0, 3) = pos.x();
54 result(1, 3) = pos.y();
VirtualRobot::SceneObjectSetPtr obstacles
void setRobot(VirtualRobot::RobotPtr robot)
update robot
VirtualRobot::RobotPtr robot
Eigen::Vector2f sceneBoundsMax
std::string robotColModelName
void Identity(MatrixXX< N, N, T > *a)
Eigen::Matrix4f positionToMatrix4f(Eigen::Vector2f pos)
void setRobotColModel(const std::string &robotColModelName)
set name of RobotNode which should be used for collision detection
void setObstacles(VirtualRobot::SceneObjectSetPtr obstacles)
Update obstacles.
bool hasParameter(const std::string &s)
check if a parameter is set
Eigen::Vector2f sceneBoundsMin
MatrixXX< 4, 4, float > Matrix4f
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Planner2D(VirtualRobot::RobotPtr robot, VirtualRobot::SceneObjectSetPtr obstacles=VirtualRobot::SceneObjectSetPtr())
Initialize Planner with robot and obstacles.
float getParameter(const std::string &s)
get the corresponding float parameter (0 is returned when parameter string is not present)
void setParameter(const std::string &s, float p)
set a float parameter that is identified with a string
std::map< std::string, float > parameters
double s(double t, double s0, double v0, double a0, double j)
std::shared_ptr< class Robot > RobotPtr