What is the best way to replace ndt localization with gps localization in AutowareAuto?
I am planning on replacing ndt localization with rtk corrected gps localization for AutowareAuto release 1.0.0.
I see that there is a new package called gnss_conversion_nodes which is not in 1.0.0 and it converts WGS84 coordinates to ECEF then fills up a autoware_auto_msgs::msg::RelativePositionWithCovarianceStamped and publishes it. https://gitlab.com/autowarefoundation.... The published message contains position in 3D in ECEF earth coordinates but no orientation.
Also I have noticed that ndt based localization publishes pose as a geometry_msgs::msg::PoseWithCovarianceStamped which is not the same as autoware_auto_msgs::msg::RelativePositionWithCovarianceStamped which gnss_conversion_node publishes. Shouldnt the two msg types be the same so that gnss_conversion_nodes be a direct replacement of ndt_nodes?
Assuming we get gnss_conversion_nodes running, next step is to provide a static_transform_publisher to provide the conversion from ECEF earth coordinates to map coordinates similar to PCD map loader.
ros2 run tf2_ros static_transform_publisher x y z r p y earth map