Problems running the SofaRos example #2695
-
Hey everyone! I am trying to run the Sofa ROS example, using version 20.12.01 downloaded from the SOFA website on Ubuntu Ubuntu 20.04.3 LTS, as explained here However I am getting the following error and I do not know how to resolve it: Am I missing something? Best regards and many thanks in advance, Tori |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @ToriWalnuss Thank you for reporting this issue. It has been a long time I didn't looked at this example. @samFabrice could you update the example (as you probably have to do sofa+ros very soon) ? EDIT: |
Beta Was this translation helpful? Give feedback.
-
Hi @damienmarchal , @ToriWalnuss |
Beta Was this translation helpful? Give feedback.
Hi @ToriWalnuss
Thank you for reporting this issue.
It has been a long time I didn't looked at this example.
The example we not updated since SOFA switched from python2 to python3, so it is not surprising it is not working anymore.
@samFabrice could you update the example (as you probably have to do sofa+ros very soon) ?
EDIT:
@ToriWalnuss if you are willing to fix it yourself, they way to go is to learn how the SofaPython2's PythonScriptController was transformed into a SofaPython3's Sofa.Core.Controller. There are examples for python3 controller in Sofapython3's plugin