dof_vel_scaled = dof_vel* torch.tensor([dof_vel_scale, dof_vel_scale, dof_vel_scale], requires_grad=False, device=dof_vel.device)
print("elel")
여기서 print 를 주석하면
RuntimeError: vector::_M_range_check: __n (which is 18446744073709551615) >= this->size() (which is 2)
이런 에러가 뜨는데 뭐가문제인거임?
Runtime이 올라가있는 program의 return값이 없어서 런타임 에러가 생기는 것임
이 코드가 들어가 있는 함수 자체는 아래쪽에서 따로 return 값을 만들어 주고 있는데 뭐가문제인지 모르겠네... 1초에도 수천번 연산하는 거라 print하면 난리나는 코드라서 더꼴받음
데싸 ㄷㄷ - dc App