-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
importing PR2 robot URDF causes crash #25
Comments
Hi @WenqiangX |
Hi @WenqiangX, |
Thanks for your reply, hope the fix can be integrated into the Unity soon. @vidurvij-Unity |
Spent several days trying to fix the same issue with the 7-DOF Franka robot arm. Then I saw this. Not sure how to count this 64 articulation bodies per game object. A bit of explanation would be helpful. |
@ashBabu Can you confirm which URDF file are you using in this repository ? |
I got the URDF after executing rosrun xacro --inorder panda_arm_hand.urdf.xacro |
@ashBabu please see my post Unity-Technologies/Unity-Robotics-Hub#125 if you are still having troubles. |
@WenqiangX and @ashBabu An update has been added in Unity that warns if the imported robot has more than 64 joints. We will update the Articulation Body documentation in the near future. |
By when do you anticipate supporting more than 64 joints imported via URDF? (Such as, 128?). I'm using Unity v2021.1b, and there is presently no warning displayed for >64 joints (and, of course, it hangs when I press play). |
Hi @Safdark, thank you for asking. Our physics team is actively investigating to support more than 64 articulation body joints. It is a challenging problem due to the way that this cap is encoded in memory. We will keep you updated once there is more progress. |
@Safdark The fix has been back ported to previous Unity versions. If you want to continue using v2021.1 I would recommend updating to 21.1.0b12 or any other newer Unity version. For more information you can reference https://issuetracker.unity3d.com/issues/editor-crashes-on-physx-ig-islandsim-activatenode-when-entering-play-mode-and-articulationbody-is-present-in-a-scene |
Thanks @vidurvij-Unity, and apologies for the delayed response. I tried the pre-release version 2021.2.0a14, but am seeing the same limit error: ... But you mentioned that the "fix" has been made. Did I miss something? |
@Safdark As mentioned in the issue tracker link above, the fix was to add a warning if the number of ArticulationBody components is aboe 64 instead of crashing. The maximum number is limited by the Physics Engine which in this case in Nvidia PhysX 4.0. We are working on an update to increase this limit in the future. I hope this answers your question. |
Unity version: 2020.2.1f1c1
URDF Importer version: 0.0.4
OS platform: win10
I try to import PR2 robot with URDF importer, it can be loaded sucessfully, but when I hit the play botton in the editor, it causes a crash.
The materials and meshes are from https://github.com/pr2/pr2_common
The urdf file has been tried with https://gist.github.com/drohr5D/5551267 and https://github.com/sehoonha/pydart2/blob/master/examples/data/urdf/PR2/pr2.urdf.
Both urdf file cause the crash issue.
The text was updated successfully, but these errors were encountered: