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

wholebodydynamics: Remove support for reading FT and IMU using IAnalogSensor and IGenericSensor interfaces #181

Merged
merged 4 commits into from
Mar 6, 2024

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Mar 5, 2024

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.

…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
{
Copy link
Contributor

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

Copy link
Member Author

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.
Copy link
Contributor

Choose a reason for hiding this comment

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

that is handled ?

Copy link
Member Author

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?

Copy link
Contributor

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 :)

Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants