-
Notifications
You must be signed in to change notification settings - Fork 539
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
initialpose localization callback should reset scan buffer #116
Comments
It would be very awesome if you can also add a ros service to reset the scan buffer from the "outside". |
Also a good idea, I'll do that at the same time. Maybe even let them reset it to a given size as well |
Also if you're sufficiently motivated to submit PRs on any of this, let me know and I can work around anything you're intending to do |
I will be happy to eventually contribute with actual PR. I sent recently PRs to Cartographer, GMapping, Lego-LOAM, iris_lama_ros, etc... But in this particular case, i have the feeling that you know where to put your hands much better than I do ;) |
Wait 5 years for a review ... oh crap I think I'm a maintainer on that now |
@facontidavide sorry it took me so long to revisit this, it took some time to shuffle around other ongoing work to get time to work on the localization work we had discussed. I earmarked next week so I should have my full attention on this ticket and #112. Hopefully we can come to a resolution to at least (if not more) half the convergence time from 26 seconds. |
Action items
|
Work for ROS1 melodic on https://github.com/SteveMacenski/slam_toolbox/tree/initial_pose_reset_melodic |
nice, I will test it |
@facontidavide let me know how it goes! I don't see a reason it shouldn't work. I dont easily have access to right now to evaluate on, so let me know how it goes. If you don't have any issues I'll PR it and migrate to ROS2 as well |
I also just included the ported versions to Dashing and Eloquent if either interest you. |
@facontidavide have you had a chance to look at it? |
Pinging @facontidavide. It would be good to know if that branch helps / fixes your issues. It's my last action item before a new release |
The next week I will collect a new dataset and it would be ideal for me to test this with that. |
What’s a week amongst friends? 😉 |
@facontidavide hey, did you get a chance to test it? |
This feature is something I am interested in for a project I am currently working on. If you need someone to test it still, I am willing and able. I am currently running Ubuntu 20.04 ROS noetic. I can merge this into the noetic branch on my side and test. |
That would be great! Yes, please let us know your results and I can merge that PR into all the branches immediately if it helps. |
I just had a chance to look at this and realize this is not what I thought it was. I misread purpose of this PR. I was looking for a way to reset the entire mapping occupancy grid during mapping to an initial empty state via a command. |
First of all, thank you for taking the time to add this feature. This is actually something that is very helpful for my use case. So I took a look at your PR (based on the current foxy-devel branch). I used Gazebo for this first test, but would also like to test this on a real robot in our lab afterwards. Resetting the buffer basically works as expected and certainly has a positive effect on re-localization. I also found that the actual size of the scan buffer is |
Is that related to this patch or another issue altogether? Seems unrelated - we should fix it - but making sure we keep things organized. I see what you mean by this.
Wouldn't that still be true regardless of this PR adding the clear buffer? I think what you're pointing out is that the first scan from
Should this be merged in now then? I'm happy to update those branches and merge them into ROS2/Foxy/Melodic/etc - get one step fixed at a time unless there's something in those branches that should be resolved.
Yeah I was generally aware of that when I was developing it, just forgot to fix it it looks, we could change to |
That is exactly what I meant. Now that you say it I also see that this is, at least from a code point of view, independent from this PR. I still think , however, it is the expected behavior to remove also this initial scan form the graph but this could of course be done in another PR.
I can only comment on https://github.com/SteveMacenski/slam_toolbox/tree/initial_pose_reset_eloquent branch (which I rebased on the current foxy-devel branch). However, I could not find any other issues with that PR so I think it should be ready to be merged.
This should indeed fix this, as long as |
I see you filed another ticket #333 about this - we can take it up there since its another topic.
I agree its invalid - a PR for this would be appreciate across the different distributions to change to
Awesome, will start that process and close this ticket once all of the branches contain it
|
Thanks @facontidavide for bringing this topic up, sorry it took so long to get in / tested. All the branches have been updated for this new change! |
and sorry for not doing any follow up ;) As always, I move to other projects and I can't follow up what I started. Great addition! |
No description provided.
The text was updated successfully, but these errors were encountered: