-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add joint limits to the diagnostics #92
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for PR! Could you please follow the naming convention ?
src/converters/diagnostics.cpp
Outdated
@@ -65,6 +65,9 @@ DiagnosticsConverter::DiagnosticsConverter(const std::string& name, | |||
p_body_temperature_.call<void>("setEnableNotifications", true); | |||
} | |||
|
|||
std::vector<std::vector<float> > jointLimits; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use the naming convention: joint_limits
src/converters/diagnostics.cpp
Outdated
@@ -65,6 +65,9 @@ DiagnosticsConverter::DiagnosticsConverter(const std::string& name, | |||
p_body_temperature_.call<void>("setEnableNotifications", true); | |||
} | |||
|
|||
std::vector<std::vector<float> > jointLimits; | |||
qi::AnyValue qiJointLimits; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use the naming convention
Should be a bit better |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you squash commits 2 and 3?
src/converters/diagnostics.cpp
Outdated
@@ -1,5 +1,5 @@ | |||
/* | |||
* Copyright 2015 Aldebaran | |||
* Copyright 2017 Aldebaran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please keep this line as it is?
Add double layered float vector converter method Add the joints limit map, and add the joints limits to the diagnostic message
Add the joint limits to the diagnostic message :