ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Your callback has the wrong signature. The message filter callback must take in a reference to a const std::shared_ptr<const...>&
, whereas you have just a const std::shared_ptr<>
Change your callback declaration line to this:
void topic_callback(
const sensor_msgs::msg::Temperature::ConstSharedPtr& tmp_1,
const sensor_msgs::msg::Temperature::ConstSharedPtr& tmp_2) const
Then it will compile.