Forum Replies Created
-
AuthorPosts
-
GuillaumeKeymaster
Hi Kliment,
What are the versions and installation directories of Qt and Boost on your computer?
Here is what I have on mine:
– Qt installed inC:\dev\Qt\5.7\msvc2015_64
– Boost installed inC:\dev\boost\boost_1_59_0\lib64-msvc-14.0
To configure SOFA (in CMake GUI), I set these CMake variables:
– For Qt detection:CMAKE_PREFIX_PATH=C:\dev\Qt\5.7\msvc2015_64
– For Boost detection:BOOST_LIBRARYDIR=C:\dev\boost\boost_1_59_0\lib64-msvc-14.0
Note:BOOST_ROOT=C:\dev\boost\boost_1_59_0
may also be needed depending on what you have in your PATH.Speaking of PATH, I suggest you to install Windows Path Editor to easily edit your system PATH.
On my side I added:
– For Qt detection:C:\dev\Qt\5.7\msvc2015_64\bin
andC:\dev\Qt\5.7\msvc2015_64\lib
– For Boost detection:C:\dev\boost\boost_1_59_0\lib64-msvc-14.0
Hope this helps.
Guillaume.GuillaumeKeymasterHi Wendy,
Do you mean formal verification? If yes, the SOFA code source (including LeapMotion plugin) has not been through such a process yet.
Please tell us if you are interested in doing this for LeapMotion plugin. I don’t think it would be very difficult for a non-beginner since it is just a driver (there is no simulation algorithm in this plugin).Cheers,
Guillaume.GuillaumeKeymasterHi Lionel,
It has been a long time since you opened this topics and unfortunately no one answered.
Did you manage to solve the issue yourself? Could you share some tips?Thanks,
Guillaume.GuillaumeKeymasterHi Sen,
The purpose of this forum is to get in touch with other SOFA users. Each one has his own priorities and is active when he wants/can. The only daily active users are @hugo and me, and Hugo is actually spending a lot more time on the forum than me. We obviously can’t be active in every topic.
So I guess you have to be patient. Sureley if someone has the answers you need, he will comment in your topics.
Cheers,
Guillaume.GuillaumeKeymasterHi Keshav,
If you mean that you want to bundle your SOFA in a .exe installer, have a look at https://www.sofa-framework.org/community/doc/contributing-to-sofa/how-to-release/.
Cheers,
Guillaume10 March 2017 at 15:44 in reply to: [SOLVED] How to generate one specific deformation in two different mesh resolutions? #8773GuillaumeKeymasterJust edited your post with the code 😉
Guillaume
10 March 2017 at 11:15 in reply to: [SOLVED] Cannot access private member while building SofaCore #8769GuillaumeKeymasterHi Siming,
I looked at your CMakeCache.txt but couldn’t find anything suspicious 🙁
Any progress on your side?
Guillaume.
GuillaumeKeymasterHi,
Here is what I have for a Windows build:
LEAP_INCLUDE_DIR=path/to/LeapSDK/include LEAP_LIBRARY=path/to/LeapSDK/lib/x64/Leap.lib
These two variables are used to find the Leap Motion SDK so they shouldn’t be pointing to SOFA plugin.
Hope this helps,
Guillaume.10 March 2017 at 10:48 in reply to: [SOLVED] How to generate one specific deformation in two different mesh resolutions? #8767GuillaumeKeymasterHi Zahra,
Our anti-spam may detect something suspicious in your scene.
Could you share it via an online pad like https://titanpad.com/6wuBrtFOxI?
I will then add your code here.Cheers,
Guillaume.GuillaumeKeymasterHi Michel,
Sensable plugin is not maintained anymore. We advise you to use the Geomagic plugin instead (included in SOFA repository).
The documentation has not been updated yet but it is basically the same as Sensable.To download Geomagic drivers, try these urls:
Windows: https://3dsystems.teamplatform.com/pages/102774?t=r4nk8zvqwa91
Linux: https://3dsystems.teamplatform.com/pages/102863?t=fptvcy2zbkccHope this helps,
Guillaume.GuillaumeKeymasterHi @jpsilvaj,
I just moved your reply to its own topic.
I’m not sure that your
LEAP_INCLUDE_DIR
andLEAP_LIBRARY
are set correctly.
Did you install the LeapMotion SDK on your computer?Cheers,
Guillaume.GuillaumeKeymasterHi Zahra,
I don’t know the Flexible plugin so this answer may not help you much.
I was able to find MuscleMaterialForceField and TendonMaterialForceField components in applications/plugins/Flexible/material. You should have them too.
About the examples, did you check in applications/plugins/Flexible/examples/demo ? It seems to contain basic and advanced scenes using the plugin.
Cheers,
Guillaume.2 March 2017 at 17:40 in reply to: [SOLVED] Cannot access private member while building SofaCore #8744GuillaumeKeymasterHi Sisi,
Sorry for the delay.
Your error seems strange since SOFA v16.12 has been tested with VS2015.Could you show your CMakeCache.txt please?
Guillaume.
GuillaumeKeymasterHi,
Thank you for your interest in SOFA!
To get you started I strongly suggest you to check the examples in
– examples/Components: basic examples for a lot of SOFA Components in XML
– examples/Demos: ready-to-use complete demos in XML
– examples/Tutorials: very nice step by step tutorials in XML
– applications/tutorials: basic to advanced SOFA simulations in C++The last folder may interest you most since it is in C++ but reading some XML examples can also be a good way to understand SOFA architecture.
Hope this helps,
Guillaume.GuillaumeKeymasterHi jjcasmar,
Thank you for your feedback!
This Boost::filesystem dependency problem has been fixed some days ago by pull request #122.We will apply this fix to the v16.12 branch asap.
Best,
Guillaume.GuillaumeKeymasterHi pun,
Sorry for the late answer. Thank you for your report.
Could you explain more precisely the steps to reproduce this crash?
When you execute runSofa, does the caduceus scene load and run?Thank you,
Guillaume.GuillaumeKeymasterHi jjcasmar,
Could you please copy/paste your CMakeCache.txt file?
Thanks,
Guillaume.GuillaumeKeymasterHi Stefan,
First please notice that the SOFA dev mailing list has changed.
To subscribe: https://sympa.inria.fr/sympa/subscribe/sofa-devThere is indeed some mess in SOFA licenses. I created a pull request to clean all this a few days ago: https://github.com/sofa-framework/sofa/pull/139
Thank you for your notes, I could indeed improve my work by cleaning getModuleLicense functions for examples. The question of transitive licenses is also important.Could you please paste and update your topic in the pull request?
It would be better to continue this discussion there.Best,
Guillaume.GuillaumeKeymasterHi Jeremy,
That’s a nice and very interesting project! I think your are in the right direction with (1) but you are missing the component-oriented aspect of SOFA.
Here is my suggestion:
– Create a simple and empty plugin. Refer to plugins/Geomagic or plugins/LeapMotion (these are driver plugins that link to external libraries).
– In your plugin, create a SOFA Component. It could inherit from sofa::component::controller::Controller like GeomagicDriver or LeapMotionDriver. This component will create (and discuss with) a thread dedicated to speech listening and will use the event handler of SOFA.
– In your scene, add your Component to activate your awesome feature.
– In runSofa, load your plugin and run your scene 🙂Some topics about events in SOFA:
https://www.sofa-framework.org/community/forum/topic/keyboard-events-in-sofa/
https://www.sofa-framework.org/community/forum/topic/how-to-send-data-to-sofa-through-socket/
https://www.sofa-framework.org/community/forum/topic/how-to-use-external-data-in-sofa/Hope this helps,
GuillaumeGuillaumeKeymasterHi jjcasmar,
Sorry for the late answer.
I don’t understand why you get this error since everything is fine in our gcc testing.
Could you paste the output of CMake generation please?Best,
Guillaume.GuillaumeKeymasterAs you can see on the download page, the last stable branch is v16.08.
If you want to get the last developments, you can clone the (unstable) master branch but beware of which commit you choose. Checkout the right commit by looking at our dashboard.The commit you specify is compiling well on GCC 4.8 but has not been tested on all other compilers.
What is your compiler? What error did you get?Hope that helps,
Guillaume.GuillaumeKeymasterHi jjcasmar,
Thank you for your involvement!
Please find our contributing guide on GitHub: https://github.com/sofa-framework/sofa/blob/master/CONTRIBUTING.mdBest wishes,
Guillaume.6 December 2016 at 17:20 in reply to: [SOLVED] Using Sensable plugin in custion c++ application #8046GuillaumeKeymasterHi Rus,
I am not an expert with SOFA but here are some hints:
If you just want to copy GeomagicDevice.positionDevice into MechanicalObject.position, have a look at DiagonalMass_test::createSceneGraph.
If you want to link GeomagicDevice.positionDevice to MechanicalObject.position, check BezierTetrahedronTopology::createScene.
I guess what you want is the link solution.
Basically you can find a lot of C++ scene creations in all *_test.cpp files.Hope this helps,
Guillaume.GuillaumeKeymasterHi Luigi,
Your link seems malformed.
jt
is a Component and not a Node so you can’t dojt/q1
.Did you mean
<ArticulatedHierarchyContainer q1="@../joints/jt.q1"/>
?Cheers,
Guillaume.GuillaumeKeymasterHi Moonfaxx,
Sorry but I can’t help you with so few information.
Did you carefully follow our documentation?
What is your output?Guillaume.
-
AuthorPosts