-
Jonny replied to the topic Error when compiling SofaPython3 in the forum Getting Started 3 days, 5 hours ago
Went back to an older commit that worked, so I will mark this topic as resolved.
-
Jonny started the topic Error when compiling SofaPython3 in the forum Getting Started 2 weeks, 2 days ago
Hi,
I am trying to compile Sofa v20.12 with SofaPython3. When running
make install
I get the following error.CMake Error at Sofa.Config/cmake_install.cmake:72 (file):
[Read more]
file INSTALL cannot find
"/Users/jona/sofa_20.12/build_20.12/cmake/Sofa.ConfigConfig.cmake": No such
file or directory.
Call Stack (most recent call first):… -
Jonny replied to the topic Combining meshes with different force fields in the forum Using SOFA 1 month ago
I see, that makes things a little more complicated.
There are other options to define ROI – you can read more about them and find example scenes here: ROI selection
Maybe a combination of those will work for you. -
Jonny replied to the topic Combining meshes with different force fields in the forum Using SOFA 1 month ago
Hi @anoushs,
you should be able to define different sections of your finger with BoxROI and then create a child of your object with a separate forcefield. Following the pneunet gripper tutorial it would look like this (step3-StiffLayer):
finger.createObject('BoxROI', name='boxROISubTopo', box='-100 22.5 -8 -19 28 8')
[Read more]
modelSubTopo =… -
Jonny replied to the topic About the unit in the forum Using SOFA 1 month ago
Hi @biu,
there is no fixed unit system in sofa, you just have to make sure that units are correct relative to each other. This is also explained at around 4:30 min in Sofa & Soft Robotics: First Steps Tutorial.Btw this tutorial is a good starting point in terms of understanding some of the main concepts of Sofa and the general structure of a…[Read more]
-
Jonny replied to the topic Creating a 3D mesh using GMSH in the forum Using SOFA 1 month ago
I don’t know for sure if this helps with .igs but I had a similar issue when using stl files in Gmsh that also only contain surface information. I opened my file with File -> Merge and used Geometry -> Elementary entities -> Add -> Volume. After selecting your mesh and following the on-screen instructions you should be able to 3D Mesh, export the…[Read more]
-
Jonny replied to the topic Navigation Recorded Camera in the forum Using SOFA 1 month ago
Ok, so I just figured that the entire sequence loops after 200 s and all of the moves take up the same fraction of that – adding points in the middle of movements should then enable me to influence the speed the way I want to.
What is strange about the stuff regarding orientation is that when I manually configure a camera pose that I like and…[Read more]
-
Jonny started the topic Navigation Recorded Camera in the forum Using SOFA 1 month ago
Hi,
when using the RecordedCamera component in navigation mode is there a way to manually set the speed of the camera moving for each movement (i.e. determine key times at which the camera reaches each way point)? As far as my understanding goes it takes 50s for every move to happen right now.
Also, is it possible to use lookAt values rather…[Read more] -
Jonny replied to the topic Get/change camera parameters in the forum Programming with SOFA 2 months, 3 weeks ago
Thanks @hugo and @froy for you replies.
I got the SLAM to run without giving my any error messages, that’s why I closed this topic. However, it is not working very well atm and I am not exactly sure why that is. So far I have calibrated the camera using SOFA screenshots of a floor with checkerboard texture (like you would do with real physical…[Read more]
-
Jonny replied to the topic Apply translation to mechanical object in the forum Programming with SOFA 2 months, 3 weeks ago
Hi @scheikl,
I’m currently trying all the different options/components that could be useful in the two scenes in order to figure out which work best. I will post an update as soon as I meet another problem or get everything to work 🙂 Once again thanks for you help so far!
Cheers
-
Jonny replied to the topic Apply translation to mechanical object in the forum Programming with SOFA 2 months, 4 weeks ago
Hi @scheikl,
thanks for your fast response again. Indeed, using Rigid3d template simplified the use of
LinearMovementConstraint
quite a bit.Next thing I am stuck with is the connection between bellow and floor (more important in the other scene with two bellows). From what I have seen
AttachConstraint
andBilateralInteractionConstraint
would…[Read more] -
Jonny replied to the topic Apply translation to mechanical object in the forum Programming with SOFA 3 months ago
Hi @hugo,
I am still struggling with this. Can you help me with any of my questions or poke someone who can please?
Cheers,
Jonny -
Jonny replied to the topic NavigationRecordedCamera.scn not working ? in the forum Using SOFA 3 months, 2 weeks ago
Hi Camille,
you have to change “View” to OpenGL via the SOFA GUI in order to see the camera moving. Hope this helps!
-
Jonny started the topic Get/change camera parameters in the forum Programming with SOFA 3 months, 3 weeks ago
Hi everybody,
I am trying to use an image sequence from my Sofa scene with a SLAM algorithm to create a map of my scene/track the camera movement. Capturing the images works fine but I was wondering if there is any chance I can get a calibration of the camera used in Sofa and/or even change the parameters of the camera because currently the SLAM…[Read more]
-
Jonny replied to the topic Apply translation to mechanical object in the forum Programming with SOFA 3 months, 3 weeks ago
Hi,
thank you for your replies and sorry for answering so late but I was working on something different in the meantime.
@schweikl: Thanks for the provided example. So far I haven’t been able to get it working that way but I am sure it will come in handy at a later point and has given me a good idea of how to avoid inflating/deflating manually…[Read more]
-
Jonny started the topic Apply translation to mechanical object in the forum Programming with SOFA 4 months, 1 week ago
Hi,
I’m trying to simulate a pneumatic robot with SofaPython (actually using the Soft Robots plugin binaries). In my scene one bellow of the robot(looks like an ellipsoid) inflates using a Python Controller and SurfacePressureConstraint. The inflation is limited by two floors, one above and one below the bellow forcing it to deform when…[Read more]
-
Jonny replied to the topic Soft Robots plugin build error in the forum Building SOFA 7 months, 1 week ago
Yes, I think so! Thanks again for your help.
-
Jonny replied to the topic Soft Robots plugin build error in the forum Building SOFA 7 months, 2 weeks ago
I didn’t have the flag you recommended activated but now, after recompiling, it works! Thank you so much. Also the few scenes I checked today did not have the issue with the coordinate system – though I am not sure whether that is because I tried different scenes or if the problem was fixed somehow.
-
Jonny replied to the topic Soft Robots plugin build error in the forum Building SOFA 7 months, 3 weeks ago
Thank you so much for your help!
Here is a screenshot for the “orientation vectors”/coordinate system issue as reference
About QT: I don’t really know what the problem is. I am using QT 5.15.0 and installed QT Charts and WebEngine using the Maintenance Tool. I added the CMAKE_PREFIX_PATH and everything seemed to work. But when I try to open the…[Read more]
-
Jonny replied to the topic Soft Robots plugin build error in the forum Building SOFA 7 months, 3 weeks ago
Hi,
here is a quick update on my current status: after successfully configuring and generating with CMake (apart from the warnings), I tried to compile. It took a couple of attempts but in the end seemed to work. Now I can open the GUI in bin directory and the caduceus scene shows. Also, apart from CGAL (which I was giving me troubles while…[Read more]
- Load More