Open k-okada opened 8 years ago
you can find sample code at here -> https://gist.github.com/k-okada/3a151ef24415eb89d281
% gist is the best place to paste your code snippiest
sample code with *ri*
-> https://gist.github.com/k-okada/c6c20f420c68893534ac
Thank you for the code.
So I guess the solution is to create our own trajectory and write our own loop to move through each intermediate point. Looking at the code in the link. if the robot is able to reach the goal point (that is, the IK is solvable for the goal position), but it is unable to solve the IK for one of the intermediate points, then it will stop in the middle of the trajectory, right?
So should we check and make sure that all the IK's for the intermediate points were solvable first before sending then angle vectors to ri?
yes, you're correct, if :inverse-kinematics
fail to solve ik, it returns nil, so you can check them.
from @wesleypchan