Error occurs when trying to build in eloquent
Hello, I recently tried to update my ROS2 version from dashing to eloquent. I do have a good number of publishers and all are building without any problem. But one of them gives me an error which I cannot resolve. Can anyone give me a clue on what the problem could be?
error: no matching function for call to 'rclcpp::Publisher<common::msg::Stanag4586Wrapper_<std::allocator<void> > >::publish(std::shared_ptr<common::msg::Stanag4586Wrapper_<std::allocator<void> > >&)'
I am building with colcon build
.
Thank you.
It would be helpful if you supply the code where you try to call
publish
and where you create the publisher (ideally an MWE, as well as the full error message instead of just a single line of it. Without that context it's very difficult to get a clueIn Header-file:
rclcpp::Publisher<common::msg::Stanag4586Wrapper>::SharedPtr pub_stanag_u2g_;