-
Notifications
You must be signed in to change notification settings - Fork 665
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
Positioning error in wrong zone when NDT starts #1421
Comments
Thank you for your report. To fix this problem, I think that the EKF node should not publish the pose until it receives the initialization pose. |
@meliketanrikulu ※ Note that this is a temporary fix and the same problem may occur when re-initializing. |
Hello @YamatoAndo . We solved this problem temporarily by publishing the initial pose for a second.Maybe it is not necessary to keep this period for so long. |
Sure! |
Is there related PR @YamatoAndo |
Fixes:
|
I think new API for initialization is being discussed in this PR #1431. |
By the way now I'm refactoring the EKF code and trying to find and resolve these problems but it takes a while |
I think that the easiest way to resolve the problem of publishing the identity pose is
|
I opened a draft PR to realize the above |
@meliketanrikulu Could you confirm that the issue is fixed with the PR ? |
…time-beta-31 fix: all the processing_time publishing of the planning works as expected
Checklist
Description
We encountered a random error while NDT was running. After the initial pose estimation stages (monte carlo lozalization) were performed correctly, we observed that when starting NDT, its position was set somewhere between the origin point of the map and the correct location of the vehicle, or it was set directly to the origin point of the map.
While receiving these errors, we see that our gnss errors are not high.
Expected behavior
We expect NDT to search in the right area stably.
Actual behavior
We observed that when starting NDT, its position was set somewhere between the origin point of the map and the correct location of the vehicle, or it was set directly to the origin point of the map.
video 1
video 2
Steps to reproduce
bags
maps
We are working with UTM. You have to select lanelet2_map_projector_type parameter to UTM in tier4_map_loader packages launch file and you could set coordinate_system parameter as 4: LocalCartesianUTM in gnss_poser package
Versions
No response
Possible causes
Before starting NDT, particle filter is used when estimating initial pose, and we visualized best_particle in rviz to make sure there is no problem at this stage. We have seen that this stage works correctly and that the vehicle is in its position. After making sure that this stage works correctly, the NDT algorithm is constantly subscribing to a pose published from ekf, and an algorithm is running to use the most appropriate pose from the poses from ekf. When ekf node starts, it generates a pose at 0 0 0 at the central point of the map.When the NDT algorithm started, we think that there may have been a problem in the algorithm trying to choose the right one among the pose values it received from ekf. For this reason, it tries to produce poses by referencing old poses (map center) from ekf or one of the values in between.
Additional context
No response
The text was updated successfully, but these errors were encountered: