16 #ifndef GNSS_CONVERSION_NODES__GNSS_CONVERSION_NODE_HPP_
17 #define GNSS_CONVERSION_NODES__GNSS_CONVERSION_NODE_HPP_
19 #include <autoware_auto_msgs/msg/relative_position_with_covariance_stamped.hpp>
22 #include <rclcpp/clock.hpp>
23 #include <rclcpp/node.hpp>
24 #include <rclcpp/publisher.hpp>
25 #include <rclcpp/subscription.hpp>
26 #include <sensor_msgs/msg/nav_sat_fix.hpp>
28 #include <GeographicLib/Geocentric.hpp>
36 namespace gnss_conversion_nodes
54 void GNSS_CONVERSION_NODE_LOCAL nav_sat_fix_callback(
55 const sensor_msgs::msg::NavSatFix::ConstSharedPtr msg)
const;
58 std::string m_frame_id{};
60 std::string m_child_frame_id{};
63 autoware_auto_msgs::msg::RelativePositionWithCovarianceStamped>::SharedPtr m_publisher{};
65 rclcpp::Subscription<sensor_msgs::msg::NavSatFix>::SharedPtr m_gnss_nav_fix_subscription{};
67 std::vector<common::types::float64_t> m_override_variances_diagonal{};
70 GeographicLib::Geocentric m_wgs84_to_ecef_convertor{};
73 mutable rclcpp::Clock m_steady_clock{RCL_STEADY_TIME};
79 #endif // GNSS_CONVERSION_NODES__GNSS_CONVERSION_NODE_HPP_