I currently have a URDF that contains a robotic arm without any gripper. I am using pydrake to perform inverse kinematics for the arm but would like to attach a dummy frame to the end in order to constrain the position of the gripper rather than the position of the arm itself. I assume that I should use the function WeldFrames()
but how can I set up the ghost gripper frame for this use?
Note: I may use multiple types of grippers and would therefore like to do this programmatically instead of changing the URDF directly.
Thanks!