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

[core] create FrequencyCalculator class for sender / receiver frequency calculation. #1449

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

KerstinKeller
Copy link
Contributor

No description provided.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

}

private:
long long counted_elements;
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: use default member initializer for 'counted_elements' [modernize-use-default-member-init]

ecal/core/src/util/frequency_calculator.h:53:

-       : counted_elements(0)
+       : 
Suggested change
long long counted_elements;
long long counted_elements{0};

long long counted_elements;
time_point first_tick;
time_point last_tick;
double previous_frequency;
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: use default member initializer for 'previous_frequency' [modernize-use-default-member-init]

ecal/core/src/util/frequency_calculator.h:56:

-       , previous_frequency(0.0)
+       , 
Suggested change
double previous_frequency;
double previous_frequency{0.0};

@KerstinKeller KerstinKeller merged commit be012e7 into support/v5.13 Mar 13, 2024
10 checks passed
@KerstinKeller KerstinKeller deleted the feature/frequency-checker-5-13 branch April 15, 2024 12:44
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