-
Notifications
You must be signed in to change notification settings - Fork 105
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
Improve the diagnostic for temperature values and remove calib14 debug lines #1000
Comments
Hi @valegagge, icub-main/src/libraries/icubmod/embObjLib/diagnosticInfoParsers.cpp Lines 704 to 715 in 22c06ce
we would make use of the methods of the interface: yarp::dev::eomc::ITemperatureSensor , which have already been overridden in here: icub-main/src/libraries/icubmod/embObjMotionControl/eomcParser.h Lines 79 to 233 in 22c06ce
Thus, to exploit them, I was thinking to add in the constructor of Diagnostic::LowLevel::MotionControlParser a unique_ptr to each of the override of yarp::dev::eomc::ITemperatureSensor thus to use the method: virtual double convertRawToTempCelsius(const double temperature)
Does it make sense? Can this lead to problem of circular dependencies considering that the diagnostic is part of |
@MSECode , thanks. It is clear. We are going to talk as soon as possible! |
After discussion we proceed in fixed the following bugs:
Regarding the conversion of the temperatures from raw to Celsius on the errors will be addressed later since it cannot be currently done without dealing with circular dependencies on icub-main. The updates have been done at this branch: https://github.com/MSECode/icub-main/tree/feature/updateDiagnosticTempAndCalib14 |
Is your feature request related to a problem?
As highlighted in here: robotology/icub-tech-support#1987 (comment), the diagnostic message for the temperature errors need to be revised as follows:
Moreover, we need to remove the following debug lines from the calibration 14 logs, since we do not need them anymore:
icub-main/src/libraries/icubmod/embObjMotionControl/embObjMotionControl.cpp
Lines 2285 to 2290 in 22c06ce
The solution you would like to have available
Improve diagnostic by:
Alternatives you have considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: