Yk06
Yk06

Reputation: 1

rmw_cyclonedds_cpp on windows using humble distro

I'am using Humble ROS distro for connecting two machines through CYCLONE middleware, but I'am not able to generate rmw_cyclonedds_cpp.ddl that seems to be used by the env variable RMW_IMPLEMENTATION=rmw_cyclonedds_cpp,

I follow this ref page : GitHub - eclipse-cyclonedds/cyclonedds: Eclipse Cyclone DDS project and tested there examples that works for me. but enabling the RMW_IMPLEMENTATION=rmw_cyclonedds_cpp and running the ros2 run demo_nodes_cpp talker return this error :

[ERROR] [1727463586.665113300] [rcl]: 
Error getting RMW implementation identifier / RMW implementation not 
installed (expected identifier of 'rmw_cyclonedds_cpp'), 
with error message 'failed to load shared library 'rmw_cyclonedds_cpp.dll' 
due to LoadLibrary error: 126, 
at D:\a\_work\1\s\ws\src\rcutils\src\shared_library.c:159, 
at D:\a\_work\1\s\ws\src\rmw_implementation\rmw_implementation\src\functions.cpp:67', exiting with 1., 
at D:\a\_work\1\s\ws\src\rcl\rcl\src\rcl\rmw_implementation_identifier_check.c:145

am i missing something ? thanks

Upvotes: 0

Views: 74

Answers (1)

egwhoi
egwhoi

Reputation: 1

I can't speak to Humble, I'm afraid, but I can confirm that rmw_cyclonedds_cpp is available using the pre-built binary distribution for Jazzy on Windows 10.

Setting RMW_IMPLEMENTATION=rmw_cyclonedds_cpp is sufficient to make it work. (Also, it seems to work much better than fastrtps on Windows... switching to cyclone resolved a bunch of difficult-to-troubleshoot issues.)

Upvotes: 0

Related Questions