Add more RobotAPI commands to PolyScope X Dashboard Client#435
Open
urfeex wants to merge 17 commits intoUniversalRobots:masterfrom
Open
Add more RobotAPI commands to PolyScope X Dashboard Client#435urfeex wants to merge 17 commits intoUniversalRobots:masterfrom
urfeex wants to merge 17 commits intoUniversalRobots:masterfrom
Conversation
Added - is_in_remote_control - robot_mode - safety_mode - operational_mode
The trailing / in 10.11.0 was an error which has been fixed later.
Squashed commit of the following:
commit 7fa40d1427e36069ef93caaed136351fc810afda
Author: Jacob Larsen <jala@universal-robots.com>
Date: Fri Jan 23 13:39:49 2026 +0000
Make tests version sensitive and implement suggestions
commit ea3d8a3b263d983cf614c60575a81c8da08574b4
Author: Jacob Larsen <jala@universal-robots.com>
Date: Wed Jan 21 14:45:33 2026 +0000
Add tests for get_x dashboard calls
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #435 +/- ##
==========================================
- Coverage 75.33% 73.10% -2.23%
==========================================
Files 102 102
Lines 5120 5269 +149
Branches 544 566 +22
==========================================
- Hits 3857 3852 -5
- Misses 980 1130 +150
- Partials 283 287 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
urrsk
reviewed
Feb 12, 2026
Comment on lines
795
to
807
| /*! | ||
| * \brief Sets the polyscope version manually. | ||
| * | ||
| * If the dashboard client implementation is not able to query the version from the robot | ||
| * automatically, this function can be used to set it manually. | ||
| * | ||
| * \param version The version string as returned by the robot | ||
| */ | ||
| void setPolyscopeVersion(const VersionInformation& version) | ||
| { | ||
| polyscope_version_ = version; | ||
| } | ||
|
|
Member
Author
There was a problem hiding this comment.
The dashboard client itself doesn't necessarily know its version (at least on PolyScope X). With this, we can query the version elsewhere (e.g. the primary interface) and let the Robot API client know which version it is running on.
urrsk
reviewed
Feb 12, 2026
Setting the PolyScope version helps making version-dependent calls
Some targets have changed between versions redirecting to the correct endpoint. For this to work, we'll have to follow redirects, which is not the default for httplib.
d67f8dd to
1cdae9e
Compare
1d7b659 to
1541b4a
Compare
This was referenced Feb 13, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This adds the endpoints as added in PolyScope 10.12.0