(mjcf_model)
Retrieves all joints belonging to the attachment frame of an MJCF model.
Retrieves all joints belonging to the attachment frame of an MJCF model.
Retrieves all joints belonging to the attachment frame of an MJCF model .
def get_frame_joints(mjcf_model):
  """Retrieves all joints belonging to the attachment frame of an MJCF model."""
  frame = get_attachment_frame(mjcf_model)
  if frame:
    return frame.find_all('joint', immediate_children_only=True)
  else:
    return None
def get_frame_joints ( mjcf_model ) : frame = get_attachment_frame ( mjcf_model ) if frame : return frame . find_all ( 'joint' , immediate_children_only = True ) else : return None