pybullet_planning.interfaces.task_modeling.create_attachment

pybullet_planning.interfaces.task_modeling.create_attachment(parent, parent_link, child, child_link=-1)[source]

create an Attachment between the parent body’s parent_link and child body, based on their current pose

Parameters
  • parent (int) – parent body’s pb index

  • parent_link (int) – parent body’s attach link index

  • child ([type]) – child body’s pb index

Returns

Attachment