-
Notifications
You must be signed in to change notification settings - Fork 30
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
Gazebo simulation is not working under ros2 humble. #23
Comments
Hi, i'm also interested in a support for humble. Would be great if it could be added in the future. Thanks! |
Hi @bi3ri , i figured out how to get it to work in ros2 humble. If you describe what your issue with running this repo is, maybe i can help to fix it |
Hey @Icon45, thanks! |
Hi @bi3ri I didn't change any code. I got it to work with the following steps:
I used it to simulate a ur10. If you want to simulate a different Robot you can put a different name in the argument. Valid inputs are mentioned in a comment in the launchfile. This worked for me using my humble installation of Ros2. RVis and Gazebo opened and I was shown the Robot. Unfortunately I encountered similar problems as described in issue #19 with the breaking joints. Hope this helps. If not let me know. |
This package just isn't released at all yet, but I've also found that it works fine on Humble when built from source except for the breaking joints problem. The issue in #19 with breaking joints in Gazebo Classic needs modifications to https://github.com/UniversalRobots/Universal_Robots_ROS2_Description so that the URDF joint dynamics friction values can be set. I opened UniversalRobots/Universal_Robots_ROS2_Description#56 to allow external packages to set these values, and #24 here to launch a Gazebo simulation with joint friction values computed from other robot parameters. An alternative would be to set the Open Dynamics Engine |
Hi @danzimmerman, i'm currently using your versions of this Repo and the Description-Repo. You've posted them recently in UniversalRobots/Universal_Robots_ROS2_Description#53. But in your versions Rviz doesn't load the Robot. (Don't know if you know about this issue.) Otherwise your versions are working fine on humble. If the Rviz stuff is fixed your modifications to the friction should enable a decent simulation in Rviz and Gazebo on humble. |
@Icon45 Thanks for the bug report! Will take a look tonight. |
@Icon45 Is it possible to know what version of Gazebo you have installed? I get an error message when reproducing your steps: [ERROR] [launch]: Caught exception in launch (see debug for traceback): "package 'gazebo_ros' not found |
i have gazebo11 installed. The error you get might be because you are missing the Gazebo-Ros2-Packages. Have you installed them using If the error persists let me know. |
Hello, I am new to ROS/ROS2 and Universal Robotics. We have a UR10e. I am aiming to use ROS2, Gazebo, and Polyscope 6 Beta (we are a beta tester) for modeling and simulation of the UR10e. I am sure much of what I am encountering is on me but I am unable to get this to work. I have ROS humble and ROS rolling installed on Ubuntu 22.04 with RT_PREEMPT enabled. When running through the README instructions I get the following when referencing "Universal_Robots_ROS2_Gazebo_Simulation.rolling.repos" : ~/rosworkspaces/ur_gazebo_ros2_ws$ rosdep install --ignore-src --from-paths src -y -r 'ERROR: the following packages/stacks could not have their rosdep keys resolved The following packages have unmet dependencies: I know I have Docker installed correctly as that is what I have been using to work with Polyscope. |
Hi @edtriccorp as im also quite new to UR-Simulation i'm afraid i cannot really help you. |
I'd skip using The Rolling The fork of Moveit 2 is not up-to-date with Picknik's repo, and so refers to an outdated Try making a workspace just cloning this repository and use I can't check my ROS computer right now to see what I have installed from source in my Rolling installation, but I think most of the dependencies here can be satisfied with released binaries. I know on Humble I needed to clone and build |
Hi, Thank you @Icon45. @danzimmerman your inputs definitely got me further along thanks much! Would you happen to know the significance of the colcon flags --mixin rel-with-deb-info compile-commands ccache as provided in the instructions/README? I get the error "colcon: error: unrecognized arguments: --mixin rel-with-deb-info compile-commands ccache" ? |
I don't know much about the mixins but it seems they're shortcuts to longer command specifications (possibly considered easy to remember? Less exposure to raw CMake?) For example, for https://github.com/colcon/colcon-mixin-repository/blob/master/build-type.mixin#L9 Release with debug info compiles with compiler optimizations turned on (similar to Release mode) but retains debug symbols so that your debugger can give more information if something crashes. I usually use You can look up the others here if you want to map them to CMake commands.
I don't use it so far and haven't used the |
The joint-breaking issue in #19 is solved for me with the update to |
Closing this, since I gave everything a rehault and except for #34 things seem to be fine. |
Hey,
is there any plan or work been done to support ros2 humble in the future?
Thanks!
Johannes
The text was updated successfully, but these errors were encountered: