Coder Social home page Coder Social logo

Comments (12)

JenniferBuehler avatar JenniferBuehler commented on August 15, 2024

Hi,
The humble branch is actually still the master state. I recently created it for a PR that was meant to be coming, see #57. You can try the code in https://github.com/kongoncharuk/gazebo-pkgs/tree/humble

from gazebo-pkgs.

mayank0621 avatar mayank0621 commented on August 15, 2024

Thanks @JenniferBuehler for your reply.
I've tried above plugin in ROS2 humble but its not working for me. I'm attaching some screenshot. Any help would be great for me.

Here I have added plugin
e7155e31-cad8-4194-94f8-fb3823469c15

This the path of "libgazebo_grasp_fix.so" file
fe26928c-174a-478e-8012-a948cced1f21

Logs of terminal when I'm executing launch file
image

Gazebo contact topic:
7e898777-2a52-422e-9a0e-eccbbddcab1d

This is the behavior of my arm

image

from gazebo-pkgs.

Aki1608 avatar Aki1608 commented on August 15, 2024

Hi, The humble branch is actually still the master state. I recently created it for a PR that was meant to be coming, see #57. You can try the code in https://github.com/kongoncharuk/gazebo-pkgs/tree/humble

Hi @JenniferBuehler, I tried using that humble branch but at the time of build, I am getting the following error:

CMake Error at /home/aki/ws_moveit2/install/gazebo_grasp_plugin/share/gazebo_grasp_plugin/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
  Package 'gazebo_grasp_plugin' exports the library 'gazebo_grasp_fix' which
  couldn't be found
Call Stack (most recent call first):
  /home/aki/ws_moveit2/install/gazebo_grasp_plugin/share/gazebo_grasp_plugin/cmake/gazebo_grasp_pluginConfig.cmake:41 (include)
  CMakeLists.txt:15 (find_package)

I assume that without this package, this plugin will not work, right?

Do you have any idea what can be the error here?

from gazebo-pkgs.

JenniferBuehler avatar JenniferBuehler commented on August 15, 2024

Hi ,
The plugin is Ros independent (just gazebo), for ros2 only the makefiles changed.
The output you sent are not from the plugin. Maybe it's not loaded. Do you see any GazeboGraspFix output?
Please also refer to the troubleshooting page on the wiki.
I'm not sure when I'll have time to test, but I'll try

from gazebo-pkgs.

JenniferBuehler avatar JenniferBuehler commented on August 15, 2024

Did you set the GAZEBO_PLUGIN_PATH?

from gazebo-pkgs.

Aki1608 avatar Aki1608 commented on August 15, 2024

CMake Error at /home/aki/ws_moveit2/install/gazebo_grasp_plugin/share/gazebo_grasp_plugin/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
Package 'gazebo_grasp_plugin' exports the library 'gazebo_grasp_fix' which
couldn't be found
Call Stack (most recent call first):
/home/aki/ws_moveit2/install/gazebo_grasp_plugin/share/gazebo_grasp_plugin/cmake/gazebo_grasp_pluginConfig.cmake:41 (include)
CMakeLists.txt:15 (find_package)

Hi @JenniferBuehler, changing some file directory solved the issue. But it looks like the plugin is not being loaded. I dont see any logs of this plugin.

from gazebo-pkgs.

Aki1608 avatar Aki1608 commented on August 15, 2024

Also, There are only three packages in humble branch which are converted to ros2. Do I need all the packages for the desired behavior? Or only "gazebo_grasp_plugin" and "gazebo_grasp_plugin_ros" packages which are converted into the ROS2 humble format?

What I want to say is that I am not building other packages, namely, "gazebo_state_plugins", "gazebo_world_plugin_loader", "gazebo_test_tools". So I am hist removing from the directory while building the package. Will that work or these three packages are also important to have to load the plugin?

from gazebo-pkgs.

Aki1608 avatar Aki1608 commented on August 15, 2024

Hi @JenniferBuehler, I was able to solve all errors. Thank you so much for your help. It is working properly in ROS2 humble.

from gazebo-pkgs.

mayank0621 avatar mayank0621 commented on August 15, 2024

Hi @JenniferBuehler I have solved all issues. Error was in the gazebo world file. Also I have to change path of libgazebo_grasp_fix.so file so that it can be detected.
Thanks a lot for your support!!!!!

from gazebo-pkgs.

JenniferBuehler avatar JenniferBuehler commented on August 15, 2024

Ah, just as I get around to check the messages, you already solved it. Great, well done :)

from gazebo-pkgs.

beta1scat avatar beta1scat commented on August 15, 2024

Hi @JenniferBuehler, I was able to solve all errors. Thank you so much for your help. It is working properly in ROS2 humble.

Hi Aki1608, I am encountering a similar issue with ROS2 Humble. Would you kindly provide me with further details on how to resolve this matter? Your assistance is greatly appreciated.
I also only build three packages:

colcon build --packages-select gazebo_grasp_plugin gazebo_grasp_plugin_ros gazebo_version_helpers

Before build I also modified the gazebo_grasp_plugin:

<!-- <buildtool_depend>catkin</buildtool_depend> -->
  <buildtool_depend>ament_cmake</buildtool_depend>

gazebo_grasp_plugin_ros doesn't build successful and get errors:

CMake Error at /root/ws_host/install/gazebo_grasp_plugin/share/gazebo_grasp_plugin/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
  Package 'gazebo_grasp_plugin' exports the library 'gazebo_grasp_fix' which
  couldn't be found
Call Stack (most recent call first):
  /root/ws_host/install/gazebo_grasp_plugin/share/gazebo_grasp_plugin/cmake/gazebo_grasp_pluginConfig.cmake:41 (include)
  CMakeLists.txt:15 (find_package)

from gazebo-pkgs.

beta1scat avatar beta1scat commented on August 15, 2024

Hi @JenniferBuehler, I was able to solve all errors. Thank you so much for your help. It is working properly in ROS2 humble.

Hi Aki1608, I am encountering a similar issue with ROS2 Humble. Would you kindly provide me with further details on how to resolve this matter? Your assistance is greatly appreciated. I also only build three packages:

colcon build --packages-select gazebo_grasp_plugin gazebo_grasp_plugin_ros gazebo_version_helpers

Before build I also modified the gazebo_grasp_plugin:

<!-- <buildtool_depend>catkin</buildtool_depend> -->
  <buildtool_depend>ament_cmake</buildtool_depend>

gazebo_grasp_plugin_ros doesn't build successful and get errors:

CMake Error at /root/ws_host/install/gazebo_grasp_plugin/share/gazebo_grasp_plugin/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
  Package 'gazebo_grasp_plugin' exports the library 'gazebo_grasp_fix' which
  couldn't be found
Call Stack (most recent call first):
  /root/ws_host/install/gazebo_grasp_plugin/share/gazebo_grasp_plugin/cmake/gazebo_grasp_pluginConfig.cmake:41 (include)
  CMakeLists.txt:15 (find_package)

I've successfully resolved the issue by removing the \${PROJECT_NAME} reference from the gazbo_grasp_plugin CMakeLists.txt file. If you're using ROS2 Humble, feel free to give this a try. If it proves helpful, I would greatly appreciate your feedback.

from gazebo-pkgs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.