Open furushchev opened 5 years ago
Hey, so sorry, I'm just seeing this now after answering another question in an issue that just came in! If you happen to still be working on this, the goal_positions and goal_quats arguments are just for end-effector pose goals. The first two weights also just affect the position and rotation of the end-effector as well. If you have any additional questions based on your recent experience with this, feel free to follow up!
Hi rakita,
Sorry for many questions, I'm trying to use this library with
absolute
mode for sending both position/rotation goal.The current
solve
function (https://github.com/uwgraphics/relaxed_ik/blob/master/src/RelaxedIK/relaxedIK.py#L52) takesgoal_positions
andgoal_quats
as arguments for goal pose of IK.Considering the robot that has the links like below:
base_link
-> ... ->end_effector_base_frame
-> (end_effector_fixed_joint
) ->end_effector_frame
.I firstly mean the goal position / rotation is just a goal of end effector (e.g.
end_effector_frame
) frame from the fixed frame (e.g.base_link
), but it looks it is wrong. Which frame should I set as goal poses from?FYI: I debugged by changing
relative
toabsolute
here: https://github.com/uwgraphics/relaxed_ik/blob/master/src/RelaxedIK/GROOVE_RelaxedIK/relaxedIK_vars.py#L28-L29and weights for objectives just to affect position and rotation of end effector: https://github.com/uwgraphics/relaxed_ik/blob/master/src/RelaxedIK/GROOVE_RelaxedIK/relaxedIK_vars.py#L32