Skip to content
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

[Warnings] rosidl_cmake is deprecated, rclcpp::get_typesupport_handle as well #434

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/ros1_bridge/factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Factory : public FactoryInterface
{
ts_lib_ = rclcpp::get_typesupport_library(ros2_type_name, "rosidl_typesupport_cpp");
if (static_cast<bool>(ts_lib_)) {
type_support_ = rclcpp::get_typesupport_handle(
type_support_ = rclcpp::get_message_typesupport_handle(
ros2_type_name, "rosidl_typesupport_cpp",
*ts_lib_);
}
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<buildtool_depend>ament_index_python</buildtool_depend>
<buildtool_depend>python3</buildtool_depend>
<buildtool_depend>python3-catkin-pkg-modules</buildtool_depend>
<buildtool_depend>rosidl_cmake</buildtool_depend>
<buildtool_depend>rosidl_parser</buildtool_depend>
<buildtool_depend>rosidl_pycommon</buildtool_depend>

<build_depend>builtin_interfaces</build_depend>
<build_depend>libboost-dev</build_depend>
Expand Down
2 changes: 1 addition & 1 deletion ros1_bridge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
import genmsg.msg_loader

import rosidl_adapter.parser
from rosidl_cmake import expand_template
import rosidl_parser.parser
from rosidl_pycommon import expand_template

import yaml

Expand Down
Loading