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

Only warn if system is not setup for FIFO scheduling #170

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

RobertWilbrandt
Copy link
Collaborator

Based on UniversalRobots/Universal_Robots_ROS_Driver#654

I agree that an error message seems too hard here, as you are still able to operate the driver even if you are not setup for FIFO scheduling. We also shouldn't error out twice, if we cannot change the scheduling parameters the second check seems redundant.

@codecov
Copy link

codecov bot commented Aug 24, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01% 🎉

Comparison is base (03d879e) 70.32% compared to head (4c04b88) 70.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #170      +/-   ##
==========================================
+ Coverage   70.32%   70.33%   +0.01%     
==========================================
  Files          69       69              
  Lines        2534     2535       +1     
  Branches      324      324              
==========================================
+ Hits         1782     1783       +1     
- Misses        563      565       +2     
+ Partials      189      187       -2     
Files Changed Coverage Δ
src/helpers.cpp 40.90% <100.00%> (-11.48%) ⬇️

... and 1 file with indirect coverage changes

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

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.

From my memory we explicitly decided to make this an error as we wanted to emphasis that we expect things to go wrong when not using a PREEMPT_RT kernel. However, also from the experience I've collected over the years developing with a standard kernel without any special setup I agree that going to a warning seems fine.

@fmauch fmauch merged commit f328157 into UniversalRobots:master Aug 29, 2023
18 of 19 checks passed
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