Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

IKSolver Basically Cheating. #39

#1

Hello, I'm a newbie just trying to get IK solutions out of the python Klamp't library. Unfortunately I've run into an issue which I need a bit of guidance on. I have created a ROB file out of an URDF of a humanoid robot, and have given the end effector of the right arm a target. However, while the solver does indeed "solve" and get the effector to the point it's not as I expected. Instead of just moving the arm it literally just moves the entire robot to the point (there's a bit of arm movement too). Is there a way to easily cement the robot model and only move the arm chain? Or will I have to just sift through the URDF and change stuff there? Thank you for your time.

  • solved #2
  • replies 3
  • views 1K
  • likes 0
#2

When solving for IK, you can set the joints you want to solve for by setting the parameter activeDofs in ik.solve(). The joints that are not in the list of activeDofs will be frozen.

JakeSimoes accepted post #2 as the answer
#3
JakeSimoes · Author
#4

Thank you! I spent more time than I'd like to admit figuring out the issue.