Skip to content

Remove sending an idle command in quintic spline test #275

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

Conversation

urfeex
Copy link
Member

@urfeex urfeex commented Feb 24, 2025

I don't know exactly why it was there but it could break the test quite easily since sending an idle command makes the URScript send a cancelled trajectory result sent back.

@urmahp requesting a review from you as you created the sendIdle call initially and I don't necessarily understand why.

The fact that the script sends a trajectory result when it shouldn't will be handled separately.

@urfeex urfeex requested a review from urmahp February 24, 2025 13:44
@urfeex urfeex force-pushed the test_spline_interpolation_remove_idle branch from 809e51e to bcc4f6f Compare February 24, 2025 13:53
Copy link

codecov bot commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.34%. Comparing base (2627262) to head (1e887e1).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #275   +/-   ##
=======================================
  Coverage   73.34%   73.34%           
=======================================
  Files          80       80           
  Lines        3181     3181           
  Branches      399      399           
=======================================
  Hits         2333     2333           
  Misses        627      627           
  Partials      221      221           
Flag Coverage Δ
ur20-latest 72.02% <ø> (ø)
ur5-3.14.3 72.89% <ø> (-0.07%) ⬇️
ur5e-5.9.4 72.61% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@urmahp urmahp left a comment

Choose a reason for hiding this comment

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

To be honest I cannot remember why I introduced this. My guess would be that it was either introduced for debugging purposes or because of a delay between when the speedscaling is set in the client library and when it is applied on the robot. None of the less since the tests aren't failing I cannot see any reason not to remove it.

I don't know exactly why it was there but it could break the test quite
easily since sending an idle command makes the URScript send a cancelled
trajectory result sent back.
@urfeex urfeex force-pushed the test_spline_interpolation_remove_idle branch from bcc4f6f to 1e887e1 Compare February 25, 2025 09:13
@urfeex urfeex merged commit 66b134e into UniversalRobots:master Feb 25, 2025
19 of 23 checks passed
@urfeex urfeex deleted the test_spline_interpolation_remove_idle branch February 25, 2025 09:37
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.

2 participants