-
Notifications
You must be signed in to change notification settings - Fork 3
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
Jazzy & gz8 support #14
base: jazzy-devel
Are you sure you want to change the base?
Conversation
Signed-off-by: Juancams <[email protected]>
Please @aaggj, check this PR. |
Hi! Thank you for the PR. I tried to execute following the steps, but I get this error: [gz-4] [Err] [SystemLoader.cc:92] Failed to load system plugin [libgz_ros_mocap.so] : Could not find shared library. It is weird because I have the library installed: aaggj@ROS:~/ros/2ros/mocap_ws/install/gz_mocap4r2_plugin/lib/gz_ros_mocap$ ls Best regards. |
Signed-off-by: Juancams <[email protected]>
Signed-off-by: Juancams <[email protected]>
Signed-off-by: Juancams <[email protected]>
Signed-off-by: Juancams <[email protected]>
The error you have is because it is necessary to export the path to the library, GZ_SIM_SYSTEM_PLUGIN_PATH=~/<path-to-ws>/install/gz_mocap4r2_plugin/lib/gz_ros_mocap/ but with these latest changes f6641b0 it is no longer necessary. |
Signed-off-by: Juancams <[email protected]>
Signed-off-by: Juancams <[email protected]>
Hi! I tried in my computer and it works, but I tried in a docker with jazzy and it throws me this error and warnings: CMake Warning at /opt/ros/jazzy/opt/gz_cmake_vendor/share/cmake/gz-cmake3/cmake3/GzFindPackage.cmake:243 (find_package): By not providing "Findgz-plugin2.cmake" in CMAKE_MODULE_PATH this project Could not find a package configuration file provided by "gz-plugin2" with gz-plugin2Config.cmake Add the installation prefix of "gz-plugin2" to CMAKE_PREFIX_PATH or set CMake Warning at /opt/ros/jazzy/opt/gz_cmake_vendor/share/cmake/gz-cmake3/cmake3/GzFindPackage.cmake:243 (find_package): Could not find a package configuration file provided by "gz-sim8" with any gz-sim8Config.cmake Add the installation prefix of "gz-sim8" to CMAKE_PREFIX_PATH or set CMake Warning at /opt/ros/jazzy/opt/gz_cmake_vendor/share/cmake/gz-cmake3/cmake3/GzFindPackage.cmake:243 (find_package): Could not find a package configuration file provided by "gz-rendering8" gz-rendering8Config.cmake Add the installation prefix of "gz-rendering8" to CMAKE_PREFIX_PATH or set CMake Warning at /opt/ros/jazzy/opt/gz_cmake_vendor/share/cmake/gz-cmake3/cmake3/GzFindPackage.cmake:243 (find_package): Could not find a package configuration file provided by "gz-sensors8" with gz-sensors8Config.cmake Add the installation prefix of "gz-sensors8" to CMAKE_PREFIX_PATH or set CMake Error at CMakeLists.txt:35 (target_link_libraries): gz-plugin::gz-plugin but the target was not found. Possible reasons include: '* There is a typo in the target name. Best, |
Please check that you are following the steps in this link correctly. Everything compiles correctly, the CI is telling you so. |
What is the status of this? |
It is proven and it works, the only thing is that I have to publish a tf static from base_link to base_mocap in order to make robot_gt work |
Hi @aaggj Is this necessary because robot_gt subscribes to base_mocap? Because just for the example that is uploaded, the urdf does not contain any base_mocap, so if robot_gt only subscribes to the base_mocap, both the link and the joint would have to be added. |
Yes, robot_gt looks for the transform from base_mocap to base_footprint |
And wouldn't it be better if robot_gt looked at the transformation between a link you specify and base_footprint? Does the urdf necessarily have to contain a link called base_mocap? |
Hi!
I'm adding mocap4ros2_gazebo support for the new ROS 2 Jazzy and Gz8 Harmonic versions. This PR resolves the issue #6
I have kept the same for ROS 2, and for the plugin part, it is quite similar to humble implementation, with the necessary modifications for operation in newer versions of gazebo.
Before merging, create a new branch of jazzy-devel.
Greetings