Skip to content
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

Service to get software version of robot (backport #964) #1127

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Oct 8, 2024

This PR implements a service to get the software version of the robot (useful for certain functionalities, for example tool contact can only work on e-series robots). This PR depends on PR for functionality and PR for the tests to work.


This is an automatic backport of pull request #964 done by Mergify.

* Implemented get_version service

* Implemented test of get_version service and integrated it with the test of tool contact

* Update ur_robot_driver/test/test_common.py

Co-authored-by: Felix Exner (fexner) <[email protected]>

* Renamed service to "GetRobotSoftwareVersion" everywhere.

Also moved the version information from being stored in the command interface to be stored in the state interface

* Remove tool contact from test.

* Implemented test of get_version service and integrated it with the test of tool contact

* Renamed service to "GetRobotSoftwareVersion" everywhere.

Also moved the version information from being stored in the command interface to be stored in the state interface

* Remove tool contact from test.

* Create new URConfigurationController

And moved the get_robot_software_version service in to it.

* Make configuration controller thread safe

Also minor cleanup and add testing of the robot software version service

* Use ptr-safe RealTimeBoxBestEffort

the RealTimeBox used before is not really real-time safe and the way it was
implemented there was unnecessary data allocation in both, the activate method
and the service callback.

Using the RealTimeBoxBestEffort makes allocating additional memory unnecessary
and makes things really thread-safe.

* Added back files that were mistakenly deleted

(cherry picked from commit d1290a7)
@mergify mergify bot added the humble Relevant for humble and higher ROS versions label Oct 8, 2024
@fmauch fmauch merged commit 6be649f into humble Oct 8, 2024
5 of 6 checks passed
@fmauch fmauch deleted the mergify/bp/humble/pr-964 branch October 8, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
humble Relevant for humble and higher ROS versions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants