Issue with message_filter.h dashing/crystal release

asked 2019-08-04 15:10:34 -0600

updated 2019-08-04 18:07:57 -0600

jayess gravatar image

The add method in dashing release use 3 parameters for MEvent , which has header as an argument. Where as message_event class do not have any constructor which has header as an argument. Can some one look into it and fix it or clarify me on this if i missed something.

void add(const MConstPtr & message)
  {
    using builtin_interfaces::msg::Time;
    std::shared_ptr<std::map<std::string, std::string>> header(new std::map<std::string,
      std::string>);

    (*header)["callerid"] = "unknown";
    Time t = rclcpp::Clock::now();
    add(MEvent(message, header, t));
  }
edit retag flag offensive close merge delete