Question about adapt_to_pi
I'm currently working on our own robot and now I'm configuring it following the aloha_real example. I have some questions about the adapt_to_pi transformation. Could you explain why we need to flip the joint like this?
def _joint_flip_mask() -> np.ndarray:
"""Used to convert between aloha and pi joint angles."""
return np.array([1, -1, -1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, 1])
Your insights would be highly appreciated, and I'm really grateful for your time and effort in providing any clarifications.
This will help answer you question: https://github.com/Physical-Intelligence/openpi/issues/278
This will help answer you question: #278
So when I use Aloha to collect data from our own robot for fine-tuning, adapt_to_pi needs to be set to true, is that right?
That's correct. @swagh1611 thanks for posting the reference.