Search found 1790 matches

by Thomas Uchida
Wed Aug 28, 2024 7:18 pm
Forum: OpenSim
Topic: batch processing about pointkinematics
Replies: 1
Views: 356

Re: batch processing about pointkinematics

Two examples demonstrating batch processing can be found on GitHub in the Bindings/Java/Matlab/examples directory: - setupAndRunIKBatchExample.m ( https://github.com/opensim-org/opensim-core/blob/main/Bindings/Java/Matlab/examples/setupAndRunIKBatchExample.m ) - setupAndRunAnalyzeBatchExample.m ( ht...
by Thomas Uchida
Mon Aug 19, 2024 8:06 pm
Forum: OpenSim
Topic: opensim model help
Replies: 1
Views: 350

Re: opensim model help

There is one available here: https://simtk.org/projects/ulb_project.
by Thomas Uchida
Thu Aug 15, 2024 5:40 pm
Forum: OpenSim
Topic: Inquiry of CustomJoint and coordinate
Replies: 1
Views: 723

Re: Inquiry of CustomJoint and coordinate

A CustomJoint is created in Python at line 126 in test_swig_additional_interface.py here: https://github.com/opensim-org/opensim-core/blob/48154edea02008a36875f712e1893242d4f27b25/Bindings/Python/tests/test_swig_additional_interface.py#L126 . Note that a SpatialTransform ( https://simtk.org/api_docs...
by Thomas Uchida
Sat Aug 10, 2024 8:47 am
Forum: OpenSim
Topic: Can this bug be worked around?
Replies: 4
Views: 1918

Re: Can this bug be worked around?

The integrator step size must be sufficiently small to capture the highest-frequency content in the response. To use fixed steps, you would need to either modify the system so its response doesn't change more quickly than the integrator can capture, or accept lower tolerances in the solution. You co...
by Thomas Uchida
Thu Aug 08, 2024 2:23 pm
Forum: OpenSim
Topic: Spatial Vectors in Python
Replies: 3
Views: 1489

Re: Spatial Vectors in Python

The method takes a reference. I don't know what your code looks like, but I'm guessing that you're passing in "opensim.VectorOfSpatialVec(size,osim.SpatialVec(osim.Vec3(0), osim.Vec3(0)))" as the third argument. If so, I would instead try assigning this to a variable on the line above and passing in...
by Thomas Uchida
Thu Aug 08, 2024 10:32 am
Forum: OpenSim
Topic: Spatial Vectors in Python
Replies: 3
Views: 1489

Re: Spatial Vectors in Python

The third argument of calcResidualForceIgnoringConstraints() is a Vector of SpatialVecs (doxygen: https://simtk.org/api_docs/simbody/3.5/classSimTK_1_1SimbodyMatterSubsystem.html#a9402191ff489fae227969ed43db05df0 ), which is bound to "VectorOfSpatialVec" in Python (see https://github.com/opensim-org...
by Thomas Uchida
Tue Aug 06, 2024 11:45 am
Forum: OpenSim
Topic: Can this bug be worked around?
Replies: 4
Views: 1918

Re: Can this bug be worked around?

If the integrator is being run with fixed time steps, then there is no guarantee that the solution will meet a desired tolerance. You may wish to switch to an integration strategy that uses variable time steps, particularly if the excitation is discontinuous. The integrator can then take more steps ...
by Thomas Uchida
Mon Aug 05, 2024 9:29 am
Forum: OpenSim
Topic: Creating a ligament via C++
Replies: 3
Views: 2052

Re: Creating a ligament via C++

I think model.finalizeConnections(); (or model.initSystem(); ) may need to be called before model.print(...); to resolve the Sockets. Some information about OpenSim's architecture can be found in the API Guide in the doxygen documentation ( https://simtk.org/api_docs/opensim/api_docs/md_doc_APIGuide...
by Thomas Uchida
Sun Aug 04, 2024 4:46 pm
Forum: OpenSim
Topic: Importing APDM IMU Data - Broken Link
Replies: 1
Views: 1970

Re: Importing APDM IMU Data - Broken Link

The link points to a specific section on the "OpenSense - Kinematics with IMU Data" page in the documentation ( https://opensimconfluence.atlassian.net/wiki/spaces/OpenSim/pages/53084203/OpenSense+-+Kinematics+with+IMU+Data ). Please follow the link to the page (without the deep link) and search for...
by Thomas Uchida
Wed Jul 31, 2024 7:49 am
Forum: OpenSim
Topic: Creating a ligament via C++
Replies: 3
Views: 2052

Re: Creating a ligament via C++

I think the line

Code: Select all

GeometryPath geopath = newLigament->upd_GeometryPath();
Is creating a copy. Perhaps use the Ligament::updGeometryPath() method instead, which returns a reference (see https://simtk.org/api_docs/opensim/api_ ... 806d234bfb).