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

Create python bindings of VectorsCollection #854

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

FabioBergonti
Copy link
Member

@FabioBergonti FabioBergonti commented Jun 17, 2024

My previous PR #850 was not working as expected because I forgot to create the bindings for VectorsCollection. In particular, when you call read_data you get the following error:

TypeError: Unable to convert function return value to a Python type! The signature was
        (self: bipedal_locomotion_framework.bindings.yarp_utilities.VectorsCollectionClient, arg0: bool) -> BipedalLocomotion::YarpUtilities::VectorsCollection

This PR creates Python bindings for VectorsCollection and modifies the behavior of read_data to provide an empty collection as output when it is unable to retrieve data.

@FabioBergonti FabioBergonti marked this pull request as ready for review June 18, 2024 11:55
@GiulioRomualdi GiulioRomualdi merged commit 9de1451 into ami-iit:master Jun 18, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants