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

SOFA-ROS: update example for python3 #106

Merged
merged 2 commits into from
Feb 17, 2022
Merged

Conversation

EulalieCoevoet
Copy link
Member

@EulalieCoevoet EulalieCoevoet commented Feb 15, 2022

We had a simple publisher/subscription example using SOFA with SofaPython plugin and ROS1 (both are based on python2).
This PR adds an example for python3 users, which require to install SofaPython3 plugin for SOFA and ROS2.

WIP:
I'm new to ROS, so the migration from ROS1 to ROS2 is not straightforward for me.
Although I feel like I'm almost there: ROS node and topics seem to be correctly created, the subscriptions look good as well (looking at the topics info), yet something is missing... the callback function from SOFA's subscription is never called.

@akruszew are you familiar with ROS2?

EDIT:
The example is working now. We found the problem with Alex.

@EulalieCoevoet EulalieCoevoet changed the title [WIP] sofaros: update example for python3 SOFA-ROS: update example for python3 Feb 16, 2022
@VannesteFelix
Copy link
Contributor

Hello, seems good to me !
But I am not authorized to merge, @damienmarchal ?

@EulalieCoevoet EulalieCoevoet merged commit 10b4f86 into master Feb 17, 2022
@EulalieCoevoet
Copy link
Member Author

Thanks Felix.

@EulalieCoevoet EulalieCoevoet deleted the pr-updatesofaros branch February 17, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants