-
Notifications
You must be signed in to change notification settings - Fork 104
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 MotorTemperaturePublisher tool #951
Add MotorTemperaturePublisher tool #951
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.
Some points to address:
- Missing copyright in the code files.
- App files need to be moved to
icub-main/app
. Get inspired by how it's done from one example there. - We don't use README but rather doxygen to publish documentation.
- We also need to account for the new addition by extending the
src/tools/CMakeLists.txt
file.
b5d4c87
to
623fcba
Compare
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
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.
Some further comments to address, plus these general indications:
- We need also to take into consideration the update of https://github.com/robotology/icub-main/blob/master/src/tools/CMakeLists.txt#L5-L17.
- You need to provide a
CMakeLists.txt
file to install the conf files. Check out all the other app folders to have a baseline. - We need also to update the https://github.com/robotology/icub-main/blob/master/app/CMakeLists.txt
src/tools/motorTemperaturePublisher/temperatureScopeUpperArm.xml
Outdated
Show resolved
Hide resolved
src/tools/motorTemperaturePublisher/src/MotorTemperaturePublisher.cpp
Outdated
Show resolved
Hide resolved
623fcba
to
d3d2aac
Compare
d3d2aac
to
48e7718
Compare
Co-authored-by: Ugo Pattacini <ugo.pattacini@iit.it>
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.
The very last point is to extend this CMakeLists.txt file:
00e512c
to
8e2424d
Compare
8e2424d
to
60e8b64
Compare
Add to
src/tools
a new tool calledmotorTemperaturePublisher
which might be helpful for publishing the motor temperatures read from the ETH callback on the software. As things now the module can be started and used on a single robot subpart at the same time. So, if you need to check the temperature of multiple subparts or you start multiple instances of the application or you change theapp/conf/config.ini
file each time defining underportprefix
the subpart that you need and inlistofjoints
the list of the jonts you desire to read the temperature.All other specific info about what the module does and how to build it can be found in the
README.md