-
Notifications
You must be signed in to change notification settings - Fork 117
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
could not create publisher/subscription: Type support not from this implementation #541
Comments
Any feedback that can be provided here? |
Hi, I had the same problem on one of my projects. |
@MiguelCompany any thoughts on what might be happening here? |
@clalancette I think the scenario may be as follows:
Something that can be tried, apart from @1r0b1n0 suggestion of rebuilding the workspace, is to use @TSC21 Could you try that approach? |
Hi, I had the some problem in my project. reprodection as that: |
Deleting the build & install folders and then rebuilding the package with |
this issue happens in ros2 source build too. clean cmake build cache and rebuild ros2 solves this issue. |
@clalancette We have also verified that what @MiguelCompany describes is what happens. I think this issue may be closed |
Sounds good, thanks! |
Bug report
Required Info:
5.0.0-2focal.20210519.024652
Steps to reproduce issue
The ROS2 packages are being cross-compiled using https://github.com/ros-tooling/cross_compile, which supposedly configures the build environment correctly. They are then deployed to an
arm64
platform and run there.I am not able to start any node when setting
RMW_IMPLEMENTATION=rmw_fastrtps_cpp
in ROS2 Galactic, throwing the error bellow. The same doesn't happen with ROS2 Foxy.Expected behavior
Being able to start the nodes and use the ROS2 CLI to echo topics, etc.
Actual behavior
The bellow shows when starting a ROS2 node with a publisher:
Additional information
If the type support is not from "this" implementation, what should it be then? Does it mean that one has to build the packages with the rmw_implementation set in the CMakeLists.txt file of the package, targeting then RMW we are going to use the package on? (for example, if I build in Galactic, the default rmw_implementation will be
rmw_cyclonedds_cpp
). Or is that not relevant here? (shouldn't be IMO)@MiguelCompany
The text was updated successfully, but these errors were encountered: