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

Custom names for FrequencyStatus and TimeStampStatus #86

Merged
merged 3 commits into from
Aug 19, 2018
Merged

Custom names for FrequencyStatus and TimeStampStatus #86

merged 3 commits into from
Aug 19, 2018

Conversation

icolwell
Copy link
Contributor

Expanded on #84 to allow custom names for both of the provided diagnostic tasks (FrequencyStatus and TimeStampStatus). Also provided the same functionality for the python API.

Looks like my editor caught some trailing white space. Let me know if you'd like those differences removed.

Copy link
Contributor

@trainman419 trainman419 left a comment

Choose a reason for hiding this comment

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

Looks great aside from the C++11 features that have crept in. Unfortunately this code still has to support C++03 😭

Copy link
Contributor

@trainman419 trainman419 left a comment

Choose a reason for hiding this comment

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

Looks great aside from the C++11 features that have crept in. Unfortunately this code still has to support C++03 😭

clear();
}
FrequencyStatus(const FrequencyStatusParam &params) :
FrequencyStatus(params, "Frequency Status") {}
Copy link
Contributor

Choose a reason for hiding this comment

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

While this is convenient, delegating constructors is a C++11 feature, and this package is still supporting Indigo which only supports C++03.

*/

TimeStampStatus(const TimeStampStatusParam &params) :
TimeStampStatus(params, "Timestamp Status") {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, delegating constructors is a C++11 feature, and this package is still supporting Indigo which only supports C++03.

@icolwell
Copy link
Contributor Author

Wasn't aware of the C++03 requirement, thanks for pointing that out! All fixed now.

@trainman419 trainman419 merged commit 1532c70 into ros:indigo-devel Aug 19, 2018
@trainman419
Copy link
Contributor

Thanks!

@icolwell icolwell deleted the diagnostic_status_custom_names branch August 20, 2018 14:03
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