Skip to content
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 the Panda URDF creates the wrong articulation root #210

Open
wyattrees opened this issue Sep 26, 2022 · 0 comments
Open

Importing the Panda URDF creates the wrong articulation root #210

wyattrees opened this issue Sep 26, 2022 · 0 comments

Comments

@wyattrees
Copy link

Describe the bug
When importing the Panda Robot URDF, the robot in the scene has panda_link1 as the root of the Articulation Body, while panda_link0 should be the root. This causes the robot to "explode" apart from the base link. GitHub won't let me upload the video for some reason, but every link from panda_link1 and above stays connected, but shoots off into the sky when the scene is started. panda_link0 stays on the ground. Adding an Articulation Body component to panda_link0 so that it is the new root fixes the exploding robot.

To Reproduce

  1. Generate the panda URDF from the franka_ros2 repository: Run xacro panda_arm.urdf.xacro hand:=true use_fake_hardware:=true > panda_arm.urdf in the franka_ros2/franka_description/robots directory.
  2. Import the generated URDF. I had to copy the franka_description folder from the above repo into the Unity project alongside the URDF, although I'm not sure if there's a way around that.
  3. Inspecting the Articulation Body component of the panda_link1 Game Object shows that it is the root body of the articulation.
  4. Press play, and the robot shoots off into the sky.

Console logs / stack traces
No errors are logged.

Expected behavior
The root body of the articulation is panda_link0. The robot stays intact when the scene is played.

Environment (please complete the following information, where applicable):

  • Unity Version: Unity 2020.3.18f1
  • Unity machine OS + version: Windows 11 22000.978
  • ROS machine OS + version: Ubuntu 20.04, ROS2 Foxy
  • ROS–Unity communication: Docker
  • Branch or version: v0.5.2

Additional context
I followed the tutorials for setting the various robot parameters (Stiffness, Damping, etc.) and adding a controller script, although I don't think this should make a difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant