-
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
Nav2-rviz-plugin changes. #937
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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 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 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 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.
What's special about 5? This should be parameterized
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.
Nothing is special about 5. I don't think there is any perfect number for these timeouts. I will make it a parameter. Should there be two separate parameters for each timeout?
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.
It looks like both of thost
5
s are accomplishing the same thing: checking if we are able to get some basic response from the action server, so I think 1 parameter is all that is needed.Make sure when you add a parameter you add the field to the nav2_params file so that we have a fully-described parameter file, there's a number of them missing right now (and on my queue to deal with) but it would make my life easier if it more were there than not.
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.
Thank you for your help in my on-going war against magic numbers
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.
haha.. Thanks for your guidance. From now on, I will be after the magic numbers in our stack :)
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.
@SteveMacenski Regarding your full-described parameter file... FYI - I've written a parameter dumping utility. One can launch the nav2 stack and then invoke startup to take all of the nodes through configure and activate states. Then, run this utility. It will iterate over all of the nodes and dump every parameter in either MD or YAML formats, as specified with a command-line parameter. It's useful to document the default parameter values. I was thinking that one could start the stack without any nav2_params.yaml file and then dump the parameters. We'd probably have to specify the BT navigation XML file and map file from the launch script in this case.
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.
@SteveMacenski I left the timeouts as hard coded values for now. I think we agreed on we should parameterize all the hard codded magic numbers in the stack during our previous weekly work group meeting, but we haven't decided how we are going to do these changes yet. Since I think the Rviz crashing issue can be a blocking problem for some users, we can merge this PR if everything looks good in my changes. I will submit a different issue "parameterize all the hard coded values in the stack" for this discussion.