-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add triggers showcase to all demos #52
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
47120fa
feat: add shared triggers API library for demos
bburda 3ff1ccd
feat(sensor_diagnostics): add trigger showcase scripts
bburda 1dec87b
feat(turtlebot3): add trigger showcase scripts
bburda 9908af8
feat(moveit): add trigger showcase scripts
bburda 8469c72
feat: add trigger commands to run-demo.sh daemon output
bburda 747fc61
docs: add triggers showcase documentation to all demos
bburda 0e50518
fix: use API path instead of full URL in trigger resource field
bburda ebbc28e
fix: add connect-timeout and close message to SSE watcher
bburda 0e4ce5a
fix: add idempotency guard and response validation to setup-triggers
bburda 2d2a158
fix: add ordering guidance to trigger hints in run-demo.sh
bburda b2667a5
fix: improve README terminal workflow, add scripts to tables, clean e…
bburda be6bbe6
fix: use correct entity IDs for fault triggers (match reporting_sources)
bburda 3b3c53f
fix: clarify trigger descriptions (OnChange fires on any fault, not j…
bburda 6887107
test: add trigger lifecycle to sensor_diagnostics smoke test
bburda 2393e87
refactor: address review feedback - dedup scripts, add validation, fi…
bburda 14205c5
fix: use manifest entity ID (diagnostic-bridge) in smoke test triggers
bburda 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| #!/bin/bash | ||
| # Create fault-monitoring trigger for moveit pick-and-place demo | ||
| # Alerts on any fault change reported by the manipulation monitor | ||
| export ENTITY_TYPE="apps" | ||
| # Uses ROS node name (underscore) - must match reporting_sources in FaultEvent | ||
| export ENTITY_ID="manipulation_monitor" | ||
| export INJECT_HINT="./inject-planning-failure.sh" | ||
| # shellcheck disable=SC1091 | ||
| source "$(cd "$(dirname "$0")" && pwd)/../../lib/setup-trigger.sh" |
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| #!/bin/bash | ||
| # Watch trigger events for moveit pick-and-place demo | ||
| # Connects to SSE stream and prints fault events in real time | ||
| export ENTITY_TYPE="apps" | ||
| export ENTITY_ID="manipulation_monitor" | ||
| # shellcheck disable=SC1091 | ||
| source "$(cd "$(dirname "$0")" && pwd)/../../lib/watch-trigger.sh" "$@" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| #!/bin/bash | ||
| # Create fault-monitoring trigger for sensor diagnostics demo | ||
| # Alerts on any new fault reported via the diagnostic bridge | ||
| export ENTITY_TYPE="apps" | ||
| # Uses ROS node name (underscore) - must match reporting_sources in FaultEvent | ||
| export ENTITY_ID="diagnostic_bridge" | ||
| export INJECT_HINT="./inject-nan.sh" | ||
| # shellcheck disable=SC1091 | ||
| source "$(cd "$(dirname "$0")" && pwd)/../../lib/setup-trigger.sh" |
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| #!/bin/bash | ||
| # Watch trigger events for sensor diagnostics demo | ||
| # Connects to SSE stream and prints fault events in real time | ||
| export ENTITY_TYPE="apps" | ||
| export ENTITY_ID="diagnostic_bridge" | ||
| # shellcheck disable=SC1091 | ||
| source "$(cd "$(dirname "$0")" && pwd)/../../lib/watch-trigger.sh" "$@" |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.