root layout

패스트캠퍼스

  1. 강의 질문
  2. AI TECH

part 3.3 모델 삭제 부분 에러(detach_body)로 해결

2025.06.27 17:15 수정

해결했습니다. 

감사합니다. 


---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[40], line 26
     24 # Remove all bodies in the list from the spec
     25 for body in delete_list:
---> 26   spec.delete(body)
     28 # # Add another humanoid
     29 spec_humanoid = mj.MjSpec.from_file(humanoid_file)

AttributeError: 'mujoco._specs.MjSpec' object has no attribute 'delete'
디스커션 포멧이 없어 에러부분 캡쳐해서 질문합니다. 

mjspec.jpynb
Model editing 부분입니다. 

감사합니다.

답변 

연관 질문

커뮤니티 질문보기