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

Use handle_name_ variable instead of allocating for every get_name call #1706

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

saikishor
Copy link
Member

A minor fix to avoid memory allocations in RT thread

Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.81%. Comparing base (40ea191) to head (b6d9c64).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1706   +/-   ##
=======================================
  Coverage   86.81%   86.81%           
=======================================
  Files         116      116           
  Lines       10595    10599    +4     
  Branches      975      975           
=======================================
+ Hits         9198     9202    +4     
  Misses       1047     1047           
  Partials      350      350           
Flag Coverage Δ
unittests 86.81% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
...re_interface/include/hardware_interface/handle.hpp 100.00% <100.00%> (ø)

Copy link
Contributor

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

LGTM

@bmagyar bmagyar merged commit 0a607fe into ros-controls:master Aug 22, 2024
17 of 19 checks passed
@bmagyar bmagyar deleted the use/handle_name branch August 22, 2024 09:02
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