9 TreeIK ik(robot, robot->getEEs());
12 auto state = std::make_shared<State>(robot);
22 if (ik.solve(state, goal, request))
39 auto state = std::make_shared<State>(robot);
53 int main(
int argc,
char **argv)
X- and Y-axis components.
RobotPtr loadRobot(const std::string &filename)
Loads a robot from a YAML file.
Convenience wrapper around TreeIK for solving chains with a single tip frame.
int main(int argc, char **argv)
bool solve(StatePtr state, const Eigen::Isometry2d &frame, Request request=ALL)
Solve an IK request.
#define SE2EZ_INFORM(fmt,...)
Eigen::Isometry2d toIsometry(double x, double y, double theta)
Converts a translation (x, y) and rotation from X-axis (theta) into a transform.
A shared pointer wrapper for se2ez::Robot.
std::string printVector(const Eigen::VectorXd &v, unsigned int precision=4)
Returns a string of a vector's contents.
#define SE2EZ_ERROR(fmt,...)
void testTree(const RobotPtr &robot)
void testChain(const RobotPtr &robot)