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

Added tcp_offset #110

Merged
merged 2 commits into from
Sep 30, 2022
Merged

Added tcp_offset #110

merged 2 commits into from
Sep 30, 2022

Conversation

urmahp
Copy link
Collaborator

@urmahp urmahp commented Aug 12, 2022

The function tcp_offset isn't available before software version 3.12.0 and 5.5.1. It is needed in the ROS driver to transform the the force/torque measurements to the tcp frame.

Copy link
Collaborator

@fmauch fmauch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot find tcp_offset inside the RTDE guide.

Since you didn't modify the recipe file: Where is that supposed to come from?

@urmahp
Copy link
Collaborator Author

urmahp commented Sep 26, 2022

I cannot find tcp_offset inside the RTDE guide.

Since you didn't modify the recipe file: Where is that supposed to come from?

It is correct that the function isn't documented in the RTDE guide, but it is still part of the interface.

I have modified the recipe file in the ROS driver, but I will go ahead and do it in the examples and the test in this repo as well.

@fmauch
Copy link
Collaborator

fmauch commented Sep 26, 2022

Should we add a version requirement to the README or maybe even have a version check inside the interfaces where we can do that? Or would that be out of scope for this PR. Since we're raising the required Polyscope version with this PR, I think it makes sense to include something to the README at least.

@urmahp
Copy link
Collaborator Author

urmahp commented Sep 26, 2022

Should we add a version requirement to the README or maybe even have a version check inside the interfaces where we can do that? Or would that be out of scope for this PR. Since we're raising the required Polyscope version with this PR, I think it makes sense to include something to the README at least.

I definitely agree that we should update the README with the required polyscope versions.

I think that it would be a good idea to have some kind of version check, since we might add more features in the future that is not supported by older versions of polyscope. Since the version is already available in the rtde client it shouldn't be to much of a hassle to add it to this PR.

There is probably a bit more work to figure out how to handle older versions in the ROS driver, since the function publishing the wrench is highly dependent on this function, at least for the e-series robots.

@fmauch
Copy link
Collaborator

fmauch commented Sep 26, 2022

The version would not only affect the RTDE interface, but also primary and dashboard interfaces. Since all of them can be used standalone from this library, version checks would be needed everywhere.

@fmauch
Copy link
Collaborator

fmauch commented Sep 26, 2022

a5e177b would be my suggestion for a minimal version compatibility notice (The tag does not yet exist, it would point to the last commit before this branch is merged). @urmahp @urrsk what do you think about that? This should give us the flexibility to announce such changes in the future, as well.

@fmauch fmauch requested a review from urrsk September 26, 2022 19:32
@codecov
Copy link

codecov bot commented Sep 26, 2022

Codecov Report

Base: 40.35% // Head: 41.07% // Increases project coverage by +0.71% 🎉

Coverage data is based on head (df548d0) compared to base (ba604f7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
+ Coverage   40.35%   41.07%   +0.71%     
==========================================
  Files          78       78              
  Lines        2166     2167       +1     
  Branches      265      266       +1     
==========================================
+ Hits          874      890      +16     
+ Misses       1179     1159      -20     
- Partials      113      118       +5     
Impacted Files Coverage Δ
src/rtde/data_package.cpp 78.12% <ø> (+15.62%) ⬆️
src/comm/tcp_server.cpp 76.74% <0.00%> (-0.78%) ⬇️
src/rtde/rtde_client.cpp 45.97% <0.00%> (+1.86%) ⬆️
include/ur_client_library/types.h 66.66% <0.00%> (+66.66%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@urrsk
Copy link
Member

urrsk commented Sep 30, 2022

a5e177b would be my suggestion for a minimal version compatibility notice (The tag does not yet exist, it would point to the last commit before this branch is merged). @urmahp @urrsk what do you think about that? This should give us the flexibility to announce such changes in the future, as well.

Yes that look good and gives transparency

urmahp and others added 2 commits September 30, 2022 16:30
Also added a document for version compatibility in case we ever to a breaking
change, again.
@fmauch fmauch merged commit 4db1d2b into UniversalRobots:master Sep 30, 2022
@urmahp urmahp deleted the tcp_offset branch October 3, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants