-
Notifications
You must be signed in to change notification settings - Fork 92
Namespace harmonization to private node handles and debug display improvement #103
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
Open
ipa-rmb
wants to merge
10
commits into
ipa320:indigo_dev
Choose a base branch
from
ipa-rmb:indigo_dev
base: indigo_dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
2d903e2
improved comment
ipa-rmb 8349931
Merge branch 'indigo_dev' of github.com:ipa-rmb/cob_navigation into i…
ipa-rmb 3b9189e
Merge branch 'indigo_dev' of https://github.com/ipa320/cob_navigation…
ipa-rmb 08962f1
harmonizing parameter handling
ipa-rmb 1500a45
harmonizing parameter handling
ipa-rmb 97af585
harmonizing namespaces
ipa-rmb d83fcf4
improved debug displays for map_accessibility_analysis
ipa-rmb cd519bd
Merge branch 'indigo_dev' of github.com:ipa-rmb/cob_navigation into i…
ipa-rmb 1f04038
Merge branch 'indigo_dev' of github.com:ipa320/cob_navigation into in…
ipa-rmb 67d381d
Merge branch 'indigo_dev' of github.com:ipa320/cob_navigation into in…
ipa-rmb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
10 changes: 4 additions & 6 deletions
10
cob_map_accessibility_analysis/ros/launch/map_accessibility_analysis.launch
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,13 @@ | ||
| <?xml version="1.0"?> | ||
| <launch> | ||
|
|
||
| <!-- send parameters to parameter server --> | ||
| <rosparam command="load" ns="map_accessibility_analysis" file="$(find cob_map_accessibility_analysis)/ros/launch/map_accessibility_analysis_params.yaml"/> | ||
|
|
||
| <!-- start map accessibility analysis --> | ||
| <node pkg="cob_map_accessibility_analysis" ns="map_accessibility_analysis" type="map_accessibility_analysis_server" name="map_accessibility_analysis" output="screen"> <!-- ns=namespace (arbitrary), type=name of executable, name=node name (arbitrary) --> | ||
| <!--launch-prefix="/usr/bin/gdb"--> | ||
| <remap from="map" to="/map"/> | ||
| <remap from="obstacles" to="/move_base/local_costmap/obstacles"/> | ||
| <remap from="inflated_obstacles" to="/move_base/local_costmap/inflated_obstacles"/> | ||
| <rosparam command="load" file="$(find cob_map_accessibility_analysis)/ros/launch/map_accessibility_analysis_params.yaml"/> | ||
| <remap from="~map" to="/map"/> | ||
| <remap from="~obstacles" to="/move_base/local_costmap/obstacles"/> | ||
| <remap from="~inflated_obstacles" to="/move_base/local_costmap/inflated_obstacles"/> | ||
| </node> | ||
|
|
||
| </launch> |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could simply remove the
ns="map_accessibility_analysis"in the launch file to achieve backwards-compatibility wrt the resulting namespace...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it was with double namespace before. But that's fine, I will change that.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
advertising the topic under the - now private - nodehandle changed the topic/service names advertised by the server (because the nodename itself is now prepended to the topic)...see also that you had to add the extra namespace to the client...!
so for compatibility with external applications you need to keep topic/service namespace as they were before....
if you like the parameters in the private namespace you have to remove the external
nsof the node...