I have two frames at different joint locations of IIWA arm, using
f1 = plant.GetFrameByName("iiwa_link_0", kuka_model) f2 = plant.GetFrameByName("iiwa_link_2", kuka_model)
I want to find the transformation between these two body frames(f1, f2).
Getting error when using f1.CalcPoseInBodyFrame() :
TypeError: CalcPoseInBodyFrame(): incompatible function arguments. The following argument types are supported: 1. (self: pydrake.multibody.tree.Frame_[float], context: pydrake.systems.framework.Context_[float]) -> pydrake.math.RigidTransform_[float]
What is the correct way to approach this problem?
Thanks, Sarvesh