-
Notifications
You must be signed in to change notification settings - Fork 181
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
Sort-of rebase of 83: traj action aborts on error #271
Open
gavanderhoorn
wants to merge
25
commits into
ros-industrial:melodic-devel
Choose a base branch
from
gavanderhoorn:rebase_83_abort_on_error
base: melodic-devel
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.
+274
−12
Open
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
55034f5
jta: abort goal on e-stop or error
gavanderhoorn 054559b
traj_action: abort/reject based on motion server state
gavanderhoorn 2cbfac3
traj_action: support ignoring motion server state
gavanderhoorn 3a7f82a
traj_action: use TriState convenience functions
gavanderhoorn ad85a38
traj_action: silence within-goal-constraints check
gavanderhoorn c71746c
traj_action: formatting
gavanderhoorn 16082f8
traj_action: move is_*(..) to utils
gavanderhoorn e1d78ce
robot_client: configure new params
gavanderhoorn 22e3a09
traj_action: split cancelling goal and stopping relay
gavanderhoorn d488591
Make param read DRY (ignore srvr error)
gavanderhoorn d254877
Make param read DRY (unknowns OK)
gavanderhoorn fad1597
traj_action: use camelCase, not snake_case
gavanderhoorn 805b15c
traj_action: put TriState helpers in ns
gavanderhoorn 9d4a5f3
traj_action: init new members where declared
gavanderhoorn fc00588
traj_action: clarify ctor overrides param values
gavanderhoorn b288ca5
traj_action: can only set params to defaults
gavanderhoorn 5d25268
traj_action: expose new params as args in the launch file
gavanderhoorn 68bccd4
traj_action: explain what the new launch args are for
gavanderhoorn ef1bb32
We only need TriState, not the full RobotStatus
gavanderhoorn 0fa8bba
Send abort_msg back to client
gavanderhoorn 0eeb23f
Send reject_msg back to client
gavanderhoorn 98b6c7b
Be clear about which controller reported a problem
gavanderhoorn c64243a
Be clear about which controller reported a problem
gavanderhoorn 2b5b079
Be clear about which controller reported a problem
gavanderhoorn 8db3016
traj_action: also expose params as args in download launch file
gavanderhoorn 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
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.
I really appreciate this being tunable but I think we should be strict by default as it can introduce surprising delayed movements if you later enable movements (maybe ... maybe 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.
So this is indeed the main point of discussion here.
Doing this by default has the potential to break ppl's setups.
We could merge this PR as-is and not enable it on Melodic, then branch for Noetic and enable it there by default.
I hate branching for these little things, but I don't really see another option.
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.
If we leave it disabled, how would you enable it manually? copy paste the launch file?
I totally agree on avoiding branch-mess where possible
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 see now that I forgot to export the
param
s usingarg
s. I'll add that. That would allow overriding the defaults.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.
Seems I've forgotten to fix the
arg
s missing. I'll need to address that before merging this.