-
Notifications
You must be signed in to change notification settings - Fork 38
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
All manager services available and working on new map type #44
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Navigation.py was checking the existence of move base params without providing the namespace.
Fixed issue that broke dynamic reconfigure of move base params.
… the origin map manager. map manager 2 can now load a new format topomap from a given file path.
- `get_topological_map ` - `get_tagged_nodes` - `get_tags` - `get_node_tags`
…ew msg and srv types for the new format topomap. Added services `/topological_map_manager2/switch_topological_map` and `/topological_map_manager2/get_edges_between_nodes`. Added function in map manager 2 that warns if you are trying to use it to load an old-format topomap. Some minor improvements.
… into manager2_srvs
… manager 2 class. Added service `/topological_map_manager2/write_topological_map` for writing new format topological maps to yaml files. If you dont specify the path/name of the map then it will just write to the one given to the manager 2 class. When loading a tmap (`tmap.tmap`) from a file using the original map manager, the converted tmap can now be written to a file (`tmap.yaml`) using the `write_topological_map` service. Added map sanity checking function to the manager 2 class.
…/topological_map_manager2/add_edges_between_nodes`
Corrected error when generating influence zone vertices removed unnecessary msg definition General improvements
…d `/topological_map_manager2/remove_edge`. General improvements.
…ical_map_manager2/update_node_tolerance`. General improvements.
…ical_map_manager2/add_tag_to_node`
…ical_map_manager2/update_edge`
…os/topological_maps`. General improvements.
Ready for testing/review @gpdas @Jailander |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To resolve #34.
These services have namespace
/topological_map_manager2
.Service definitions are used from the strands navigation repo: https://github.com/strands-project/strands_navigation/tree/indigo-devel/strands_navigation_msgs/srv
New package
topological_navigation_msgs
added to store additional service and message definitions.Currently one srv has been added
WriteTopologicalMap.srv
used by the services/topological_map_manager2/write_topological_map
and/topological_map_manager2/switch_topological_map
.To create a map in the new format, load in an old format map
tmap.tmap
directly from a file using the old map manager. The new manager will automatically convert it to the new format. Then call the/topological_map_manager2/write_topological_map
service or use a service to modify the new map and it will be written totmap.yaml
Whenever a service is used that modifies the map, the file is automatically overwritten.
Therefore when loading a map using the map manager 2, it is cached in
$HOME/.ros/topological_maps
so a backup is available if mistakes are made.To load a new format map use the new node
topological_navigation/scripts/map_manager2.py
.To load an existing map
rosrun topological_navigation map_manager2.py MAP_FILENAME
To create a new map
rosrun topological_navigation map_manager2.py -n MAP_FILENAME