-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
AMCL Crashes Randomly When Using Recovery Parameters #3311
Comments
Please recompile with debug flags and run GDB so we can see specifically where its crashing. See the tutorial https://navigation.ros.org/tutorials/docs/get_backtrace.html We don't really support Foxy anymore, but AMCL hasn't changed in a long time so I suspect whatever you're running into (assuming its not networking related) is relevant to AMCL in the main branches so I'm willing to make the exception here. |
Thanks for your advice. I got the traceback information as below.
|
I'll take a look at the PR! |
Not assigning fixed map pointer to particle filter, using latest when resample. (cherry picked from commit cc6f205) Signed-off-by: Borong Yuan <yuanborong@hotmail.com> Signed-off-by: Borong Yuan <yuanborong@hotmail.com>
Not assigning fixed map pointer to particle filter, using latest when resample. (cherry picked from commit cc6f205) Signed-off-by: Borong Yuan <yuanborong@hotmail.com> Signed-off-by: Borong Yuan <yuanborong@hotmail.com>
Not assigning fixed map pointer to particle filter, using latest when resample. (cherry picked from commit cc6f205) Signed-off-by: Borong Yuan <yuanborong@hotmail.com> Signed-off-by: Borong Yuan <yuanborong@hotmail.com> (cherry picked from commit 85735ea) Co-authored-by: Borong Yuan <yuanborong@hotmail.com>
…s-navigation#3938) Not assigning fixed map pointer to particle filter, using latest when resample. (cherry picked from commit cc6f205) Signed-off-by: Borong Yuan <yuanborong@hotmail.com> Signed-off-by: Borong Yuan <yuanborong@hotmail.com> (cherry picked from commit 85735ea) Co-authored-by: Borong Yuan <yuanborong@hotmail.com>
…s-navigation#3938) Not assigning fixed map pointer to particle filter, using latest when resample. (cherry picked from commit cc6f205) Signed-off-by: Borong Yuan <yuanborong@hotmail.com> Signed-off-by: Borong Yuan <yuanborong@hotmail.com> (cherry picked from commit 85735ea) Co-authored-by: Borong Yuan <yuanborong@hotmail.com>
…s-navigation#3938) Not assigning fixed map pointer to particle filter, using latest when resample. (cherry picked from commit cc6f205) Signed-off-by: Borong Yuan <yuanborong@hotmail.com> Signed-off-by: Borong Yuan <yuanborong@hotmail.com> (cherry picked from commit 85735ea) Co-authored-by: Borong Yuan <yuanborong@hotmail.com>
Bug report
Required Info:
Steps to reproduce issue
It's easy to reproduce this issue. Just use the getting started example here. Only modify the following 3 parameters in nav2_params.yaml.
Start the simulation and keep setting target points to keep TurtleBot moving (in order for AMCL to keep updating).
Expected behavior
AMCL should never crash.
Actual behavior
AMCL will randomly crash after a few minutes of continuous running (usually within 10 minutes).
Additional information
The same problem exists if
laser_model_type
is set to the defaultlikelihood_field
. But setting it tolikelihood_field_prob
seems to have a higher probability of crashing. I'm still looking for the exact reason, but I open this issue first, maybe some of you already know it. It really bothers me when this problem occurs at the same time as the communication problem of DDS in WiFi scenarios. Fortunately, we can easily reproduce this in the basic simulation environment now. I don't know if the same problem exists in ROS1, I haven't tested this before. It stands to reason that this part of the code should have been heavily used and tested in ROS1. Since I'm using precompiled version 0.4.7, it's not clear to me if it has been fixed in subsequent updates. It might be related to #3242, because these few parameters should be covered by the search space of #3231. I will test the updated version later.The text was updated successfully, but these errors were encountered: