Question on the "Plan a Reaching Trajectory With Multiple Kinematic Constraints" example
Show older comments
Hi,
I'm learning this Mathworks' example code:
In this part of the code:

the TargetPoint is set equal to [0, 0, 100] (from constraintAiming's Documentation, that correspond to the "iiwa_link_ee" [x y z] axis)
The question is: Why 100? What this value means?
Thank you in advance!
Paolo Rosettani.
4 Comments
Yiping Liu
on 1 Dec 2020
This aiming constraint is useful to keep the cup posed straight up as the arm moves with the cup in gripper (not an ideal use case for AimingConstarint, but OK with the aiming point very far away, the cup might tilt slightly as you move) However, the aiming constraint seems not really necessary here, as the example is to plan a reaching trajectory to the cup (the cup is not yet in the gripper).
Paolo Rosettani
on 1 Dec 2020
Paolo Rosettani
on 1 Dec 2020
Yiping Liu
on 3 Dec 2020
Try
alignWithCup.TargetPoint = [0, 0, 100]
Accepted Answer
More Answers (0)
Categories
Find more on Inverse Kinematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!