-
Notifications
You must be signed in to change notification settings - Fork 143
Support running PolyScope X robot in remote control mode in CI #553
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
urfeex
merged 14 commits into
UniversalRobots:master
from
urfeex:feat/polyscope-x-remote-control-runtime-flag
Aug 20, 2026
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
77a35cd
Support loading robot in remote control mode
urfeex 174e2fc
Updating citadelDB for robot to be in remote control mode
urfeex 5e9b428
Take screenshots on failed tests
urfeex 0c3347f
Fix boolean check
urfeex 021b428
Use playwright to take screenshots
urfeex 103ffe7
Update volumes
urfeex 7afd5ac
Increase timeout for screenshots
urfeex f8c89a5
Attempt to robustify program interaction test
urfeex 529c838
Add tests for modified start_ursim.sh
urfeex 5ea8599
Wait for robot to be powered off
urfeex 92e243f
Fix word splitting issues with start_ursim.sh
urfeex 48347f3
Use fork instead of std::system to generate the screenshots
urfeex cd2f8ca
Use python3 venv for installing playwright
urfeex 1a92f65
Use pip to install pywright
urfeex 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
Some comments aren't visible on the classic Files Changed page.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 @@ | ||
| ¼ò%¬{.AØGéÛzHello Badger |
Binary file not shown.
Empty file.
4 changes: 4 additions & 0 deletions
4
tests/resources/dockerursim/programs/polyscopex/10.13.0/ur7e/.id-counters.json
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,4 @@ | ||
| { | ||
| "application": 0, | ||
| "program": 0 | ||
| } |
Binary file added
BIN
+34 KB
tests/resources/dockerursim/programs/polyscopex/10.13.0/ur7e/00000000000.xd
Binary file not shown.
1 change: 1 addition & 0 deletions
1
tests/resources/dockerursim/programs/polyscopex/10.13.0/ur7e/blobs/4.blob
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
tests/resources/dockerursim/programs/polyscopex/10.13.0/ur7e/blobs/5.blob
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+4 Bytes
tests/resources/dockerursim/programs/polyscopex/10.13.0/ur7e/blobs/version
Binary file not shown.
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,28 @@ | ||
| #!/usr/bin/env python3 | ||
| """Take a screenshot of the PolyScope X UI with a real post-load delay for SPA rendering. | ||
|
|
||
| Usage: polyscopex_screenshot.py <url> <output_file> <delay_ms> | ||
| """ | ||
| import sys | ||
|
|
||
| from playwright.sync_api import sync_playwright | ||
|
|
||
|
|
||
| def main(): | ||
| if len(sys.argv) != 4: | ||
| print(f"Usage: {sys.argv[0]} <url> <output_file> <delay_ms>") | ||
| sys.exit(1) | ||
|
|
||
| url, output_file, delay_ms = sys.argv[1], sys.argv[2], int(sys.argv[3]) | ||
|
|
||
| with sync_playwright() as p: | ||
| browser = p.chromium.launch(args=["--no-sandbox", "--disable-setuid-sandbox"]) | ||
| page = browser.new_page(viewport={"width": 1920, "height": 1080}) | ||
| page.goto(url, wait_until="load") | ||
| page.wait_for_timeout(delay_ms) | ||
| page.screenshot(path=output_file) | ||
| browser.close() | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| main() |
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.