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

Dart physics engine incompatibility #243

Closed
arturShafikov opened this issue Mar 27, 2020 · 2 comments
Closed

Dart physics engine incompatibility #243

arturShafikov opened this issue Mar 27, 2020 · 2 comments

Comments

@arturShafikov
Copy link

arturShafikov commented Mar 27, 2020

Hi everyone!
I'm trying to launch simulation via roslaunch iiwa_moveit moveit_planning_execution.launch with Dart physics engine however after I set target pose via RViz and try to Plan and Execute it, the model executes most of the motions and right when it reaches target pose instead of stopping it starts to spin chaotically and then collapses (see the attached picture). At this point for each link (i.e. 1 to 7) the following errors start to pop up:
Ignoring transform for child_frame_id "iiwa_link_1" from authority "unknown_publisher" because of an invalid quaternion in the transform (-nan -nan -nan -nan)
default_gzclient_camera(1)-2020-03-27T10_50_08 551533

I should probably mention the following:

  • When using ODE physics engine everything works perfectly well.
  • There are two errors when launching moveit_planning_execution:
    1. No p gain specified for pid. Namespace: /iiwa/gazebo_ros_control/pid_gains/iiwa_joint_1 - this one appears when I use ODE physics engine as well (and it still works). I tried this and this solutions but they didn't work for me. But as far as I understood this warning means that some default Gazebo behavior will be used.
    2. ROS get_physics_properties service call does not yet support physics engine [dart].
  • Once in a while KUKA manages to complete first trajectory execution and let me choose the next state, but then collapses anyway.
  • I have real time factor < 0.1 when using Dart. I was able to reach ~0.3 by placing manipulator on the box as shown in this example but the problem still remains.
  • I use Ubuntu 18.04 with ROS Melodic and Gazebo-9.

Has anyone experienced such a problem before or used Dart engine with iiwa_stack successfully?
Or maybe someone had similar problem and knows how to solve it?

Any help and feedback would be appreciated, thanks in advance!

@huangdii
Copy link

how to solve the problem? I have same issue :(

@arturShafikov
Copy link
Author

how to solve the problem? I have same issue :(

Hello, Huangdii!
It's been a while so I might be wrong, but as far as I remember, changing joint_damping value in iiwa_description/urdf/iiwa14.xacro or in iiwa_description/urdf/iiwa7.xacro to 10.0 for example (instead of 0.5) solves the problem. I think it's not correct for this value to be lower than 1.0.
If it's not the case, feel free to write againg, I'll try to think of something else.

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

2 participants