void Robot::PTPMove(TaskFrame tf,Point p){ Solver s; s.TtoJ(p,arm1,arm2); print(p); }
void Robot::PTPMove(WorldFrame wf,TaskFrame tf,Point p){ Solver s; s.WtoT(tf,p); s.TtoJ(p,arm1,arm2); print(p); }