-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example launch file for dual_ekf_navsat_example contains wrong remapping rule #749
Comments
Thanks for catching that. Any chance you could submit a PR? |
Hey ayrton04, Can I try and replicate the issue, and make the recommended mapping "imu/data" to "imu" and test it |
If you want to submit a PR, please do. |
As I see, there is no issue in the code. Note: when using the Robot Localization Repository - any launch file - users need to remap the default topic name to their own topic name (based on sensor output) |
I don't feel its a bug, we can close this issue. |
Could it caused by the error in here? @SaiSugunSegu Because in the source file, the imuCallback() listen on /imu. I found out about this issue when I was using ros2 doctor to analyze. Because I could not get any message published on /odometry/gps after launching nav_sat . Or does this seem worthy to be a new issue to be discussed? |
Hey @joeldushouyu , I got it, I will change it to take it from the param file, rather hardcoded topic in Navsat Transform cpp. I will look at other nodes as well to correct them. Thanks. |
I think it will be better to just change how the topic got remapped in the example launch file. At least this is what I did. |
yeah, I will do the same. |
@SaiSugunSegu |
please, someone file a PR for it, I was having the same issue and after a couple of hour I found this issue. |
Bug report
Required Info:
Steps to reproduce issue
Set the wait_for_datum paramter to false
Launch the provided dual_ekf_navsat_example.launch.py launch file with an appropriate simulation of sensor setup.
Expected behavior
All transformations, especially map-->odom and odom-->baseframe should be published with the correct covariance.
Actual behavior
All transformations get published, but the map-->odom covariance increases with the moved distance.
After issuing a call to the /datum service with an initial pose, the covariance behaves as expected.
Additional information
After looking though the code of the navsat_transform node it show, that it subsribes to the "imu" topic for measurements of the imu sensor and only start proper transformations after it receives information at least once from it.
The provided launch file includes a remapping from "imu/data" to "imu/data" this remapping should be from "imu" to "imu/data". After changing this I got the expected behaviour.
The text was updated successfully, but these errors were encountered: