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

Publish dynamic TF with this->get_node_topics_interface() works in foxy but not in humble. #2161

Closed
BlueBirdHouse opened this issue Apr 7, 2023 · 3 comments

Comments

@BlueBirdHouse
Copy link

Bug report

Required Info:

  • Operating System:
    Ubuntu 22.04.2 LTS
  • Installation type:
    binaries
  • Version or commit hash:
    ROS humble
  • DDS implementation:
    Fast-RTPS
  • Client library (if applicable):
    rclcpp

Steps to reproduce issue

Make a dynamic publisher as we always do in foxy.

rclcpp::node_interfaces::NodeTopicsInterface::SharedPtr node_topics_handle = this->get_node_topics_interface();

std::unique_ptr<tf2_ros::TransformBroadcaster> tf_broadcaster_ = nullptr;
tf_broadcaster_ = std::make_unique<tf2_ros::TransformBroadcaster>(node_topics_handle);

Expected behavior

The dynamic TF broadcaster object can be initialized.

Actual behavior

It will give you an error.
"passed non-default qos overriding options without providing a parameters interface"

Additional information

image

@schornakj
Copy link

This seems like it was probably a change in the tf2_ros API. You could probably get a more specific answer if you post an issue here: https://github.com/ros2/geometry2/issues

@BlueBirdHouse
Copy link
Author

Thanks, I have posted my question at the URL you suggested.

@BlueBirdHouse
Copy link
Author

I got an answer from Url. Thanks anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants