-
Notifications
You must be signed in to change notification settings - Fork 12
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
wholebodydynamics: Remove support for reading FT and IMU using IAnalogSensor and IGenericSensor interfaces #181
Conversation
…gSensor and IGenericSensor interfaces This support was not explicitly declared deprecated in wholebodydynamics, however the related interfaces have been deprecated in YARP for a long time. For users interested in using them, please use whole-body-estimators v0.10.0 . The HW_USE_MAS_IMU group is now compulsory.
rawIMUMeasurements.linProperAcc(2) = imuMeasurement[5]; | ||
} | ||
} | ||
else | ||
{ |
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.
This parenthesis "{" is not needed anymore since the if-else
has been deleted
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.
Yes, I know, but I did not want to add unnecessary noise in the PR, with all those lines that just changed due to indentation.
* implements the ISixAxisForceTorqueSensors interface | ||
* and getNrOfSixAxisForceTorqueSensors() >= 1 . | ||
* If the device also implements the ITemperatureSensors | ||
* interface, that is handled. |
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.
that is handled ?
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.
Not sure about this comment, what do you mean? That the phrase is not clear?
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.
Sorry @traversaro I missed this message !I was not super sure about the meaning of the sentence but it is fine :)
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.
Ack, I will change it in a future PR then. I meant. If the device also implements the yarp::dev::ITemperatureSensors
interface, this interface will be viewed and configured in this method.
Fix #179 .
Fix #170 .
This support was not explicitly declared deprecated in wholebodydynamics, however the related interfaces have been deprecated in YARP for a long time. For users interested in using them, please use whole-body-estimators v0.10.0 . The
HW_USE_MAS_IMU
group is now compulsory.Further cleanup is probably possible (especially in the FT handling logic), but I did not want to mix up the removal of support from the further cleanup.