-
Notifications
You must be signed in to change notification settings - Fork 11
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
Make SOFA Binary #2
Comments
Hi, |
Hi, There is a binary for SOFA in the official website here. The binary include all the plugins you need. Cheers, Etienne |
Thanks for your fast reply Etienne! I just downloaded the binary from the website you said, and as said in the quickstart section I put:
I don't know if there is an additional step to make things work, I just create my own python environment (Python 3.8) with the libraries listed as requirements in the documentation
I got the following error: Santiago |
It seems that it is a problem with STLIB. Could you indicate in your pythonpath the path to stlib3 and splib3? |
Thanks for your answer I set the pythonpath where it looks the stlib3 and splib3 are located in the folder of sofa binary after unzip it: now when I run the example:
there is the following error:
And also when I tried to run the scene as recommended #24 with the runSofa the scene is not loaded:
Is there something I still need to configure to make it work? thank you in advanced! |
Are you both SPLIB and SofaPyhton in your PythonPath? Look like your SofaPython3 is not in your python path ... (error: ModuleNotFoundError: No module named 'Sofa') |
I added the SofaPython3 as well as indicated in the cd ~/SOFA_BUNDLE_* and then it didn't recognize sofagym:
so I added to the path as well by:
I don't know if it is a problem adding the Python path, should I add it differently or is it located in a different folder in the zip file of the binary? thank you in advanced! |
Two thing to test:
@samuelmyoussef do you know why there is a splib and not splib3 in the toolbox? |
Not sure why, but if you try to replace splib with splib3 in trunk toolbox it causes an error.
|
Thank you for your replies! I did change the lines on
I tried to test on other environments to see if it has the same problem and it happens the same to the
But when I run the |
Can you try to change render to 0 in test_env.py l.71 and run the trunk env again using the script to see if it's working or not? If it's working correctly, it will be giving the 'no rendering' message similar to the bubblemotion env. |
Thanks for your answer! I changed render on
The bubblemotion gives
I think the splib3 problem is solved since |
Hi, I am having the same issue, could someone please consolidate these instructions so I could have an easier time getting this running? My issue is when I try to run the example scene it can't find the necessary plugins. I am working in a virtual machine with Ubuntu 20.04 LTS but can set up the machine in any way that is easiest. My goal is to use the SOFA binary and not have to build the SOFA installation, as this also causes errors. Thanks! |
@maddy-weaver it should be possible. The instructions in the readme file have been updated recently. Could you read them carefully? |
Make SOFA binary and test code with binary
Need to add a SOFA Binary with compiled plugins to allow to test the code and free users from compiling SOFA from scratch
Needed plugins:
SP3
STLIB
SoftRobots
SoftRobots.Inverse
BeamAdapter
Cosserat
MOR
The text was updated successfully, but these errors were encountered: