-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Map server] Cleanup map server action items #1010
Comments
From high-level point of view, the following refactoring changes seems are required in
After all changed applied,
Note1: This refactor should not brake initial concept to have multiple mapLoaders for |
Is there also a I see the output as needing 4 things:
Some of the design intent was to be able to store other types of maps, but that should just be another package and another server. This should be dramatically simplified for dealing with image-based maps only (occupancy grids [free, unknown, occupied], probability grids [0-100 probabilities], vector grids [3-channel information]). I didn't follow all of your specific suggestions, but I'll default to your opinion. |
Initially, I planned to merge
I am not sure, do you mean the same as in previous paragraph: separate
I think here we are on the same wave.
That is the big question I think. Is your vision - to remain map_server only for handling 2D |
I've created WIP PR for intermediate review. Any comments/thoughts are welcome! Changes briefly:
Future works on this:
|
Added comments - in addition I think something useful would be to remove the futures, I don't know what that really adds here. We give it a topic to subscribe to, it gets an image, it saves. We run on single threaded executor so only 1 request at a time. We can have a timeout to get the subscriber and fail. But I don't know what getting the future and then spinning it accomplishes other than making it more challenging to read a single-threaded blocking call for a map that we can't do anything in the mean-time while waiting for |
Thank you very much for detailed review! As you recommended, I've moved all OccupancyGrid save/load functions to new
Also, there are other changes were made to fulfill all WIP review items. The new WIP change is: 84cff7d. There is still required to fix PR testing and also fix & cover the change by ROS2 tests. |
The text was updated successfully, but these errors were encountered: