jrl-umi3218 / mc_rtc_ros

Tools for the mc_rtc framework built around ROS
BSD 2-Clause "Simplified" License
9 stars 10 forks source link

Migration to ROS2 #42

Open magnusmusngi opened 8 months ago

magnusmusngi commented 8 months ago

Hi,

I am planning to switch from ROS1 to ROS2. Seeing that ROS_VERSION is checked in some of the CMakeLists.txt, aside from updating my current mc_rtc_ticker.cpp to compile with ROS2, what other steps should I do for the migration? I am using v1.5.0 for mc_rtc_ros, and v2.11.0 for mc_rtc by the way.

Thank you

arntanguy commented 8 months ago

Hi,

As far as mc_rtc itself is concerned, both ROS1 and ROS2 are now fully supported:

I'm not sure what you mean by your mc_rtc_ticker.cpp, but if you use the official one, everything is supported as-is.

The only other steps would be:

Note that currently mc_rtc_ros_control has not been ported.