gnss_poser fails to get antenna position from base_link in sample data. #6108
Labels
component:localization
Vehicle's position determination in its environment. (auto-assigned)
component:sensing
Data acquisition from sensors, drivers, preprocessing. (auto-assigned)
Checklist
Description
When I run the rosbag-replay-simulation in tutorial, gnss_poser outputs the following warning.
Expected behavior
The gnss_poser successfully gets the antenna position from base_link. And it does not output warnings.
Actual behavior
Steps to reproduce
Just run the rosbag-replay-simulation in tutorial.
Versions
No response
Possible causes
The warning is printed from
autoware.universe/sensing/gnss_poser/src/gnss_poser_core.cpp
Lines 347 to 369 in 1f9cdfe
There are two main reasons.:
The default values of gnss_link in the gnss_poser config of the autoware.universe is
gnss
. LINKOn the other hand, the default values of gnss_link in the sample_sensor_kit and awsim_sensor_kit are set to
gnss_link
.While some sensor_kit_launch files pass gnss_link as an argument, the gnss_poser launch file does not receive it. As a result, the gnss_link specified in the param.yaml of gnss_poser is loaded by the node. LINK1 LINK2
Consequently, the gnss_poser cannot get the coordinate transformation between base_link and gnss_link (antenna position), treating it as an identity transformation (interpreting that the antenna is located at the position of base_link).
However, this is not a critical issue as it is only used as the starting point for the initial position estimation of NDT.
Additional context
@KYabuuchi is going to fix this.
The text was updated successfully, but these errors were encountered: