Skip to content

Commit 2cc095a

Browse files
rosidl_cmake is deprecated, rclcpp::get_typesupport_handle as well
Signed-off-by: Mikael Arguedas <[email protected]>
1 parent 3d5328d commit 2cc095a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/ros1_bridge/factory.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Factory : public FactoryInterface
4545
{
4646
ts_lib_ = rclcpp::get_typesupport_library(ros2_type_name, "rosidl_typesupport_cpp");
4747
if (static_cast<bool>(ts_lib_)) {
48-
type_support_ = rclcpp::get_typesupport_handle(
48+
type_support_ = rclcpp::get_message_typesupport_handle(
4949
ros2_type_name, "rosidl_typesupport_cpp",
5050
*ts_lib_);
5151
}

package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<buildtool_depend>ament_index_python</buildtool_depend>
2020
<buildtool_depend>python3</buildtool_depend>
2121
<buildtool_depend>python3-catkin-pkg-modules</buildtool_depend>
22-
<buildtool_depend>rosidl_cmake</buildtool_depend>
2322
<buildtool_depend>rosidl_parser</buildtool_depend>
23+
<buildtool_depend>rosidl_pycommon</buildtool_depend>
2424

2525
<build_depend>builtin_interfaces</build_depend>
2626
<build_depend>libboost-dev</build_depend>

ros1_bridge/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
import genmsg.msg_loader
2525

2626
import rosidl_adapter.parser
27-
from rosidl_cmake import expand_template
2827
import rosidl_parser.parser
28+
from rosidl_pycommon import expand_template
2929

3030
import yaml
3131

0 commit comments

Comments
 (0)