18 #ifndef COVARIANCE_INSERTION_NODES__CONVERT_HPP_
19 #define COVARIANCE_INSERTION_NODES__CONVERT_HPP_
25 namespace covariance_insertion_nodes
28 template<
typename InputT>
33 "The default implementation is only good when the types are the same. "
34 "Otherwise this function has to be specialized.");
39 typename geometry_msgs::msg::PoseWithCovariance
convert(
40 const geometry_msgs::msg::Pose & input_msg) noexcept;
43 typename geometry_msgs::msg::TwistWithCovariance
convert(
44 const geometry_msgs::msg::Twist & input_msg) noexcept;
47 typename geometry_msgs::msg::PoseWithCovarianceStamped
convert(
48 const geometry_msgs::msg::PoseStamped & input_msg) noexcept;
51 typename geometry_msgs::msg::TwistWithCovarianceStamped
convert(
52 const geometry_msgs::msg::TwistStamped & input_msg) noexcept;
57 #endif // COVARIANCE_INSERTION_NODES__CONVERT_HPP_