Search found 43 matches

by Musa Audu
Wed May 26, 2021 5:56 am
Forum: OpenSim
Topic: error for unregistered Objects in OpenSim 4.2:
Replies: 1
Views: 256

error for unregistered Objects in OpenSim 4.2:

Hi, I obseve that the new OpenSim 4.2 GUI considers an unregistered object as an error that aborts loading a model (.osim) file that contains that object. This is not the case for OpenSim 4.0 where one is only given a warning of the form: Object::newInstanceOfType(): object type 'MyController' is no...
by Musa Audu
Wed Jul 08, 2020 2:09 pm
Forum: OpenSim
Topic: Saving state vector and using it as initial state:
Replies: 1
Views: 184

Re: Saving state vector and using it as initial state:

I got around the problem using the States Table facility of OpenSim API. Thanks.
by Musa Audu
Wed Jul 08, 2020 12:02 pm
Forum: OpenSim
Topic: Saving state vector and using it as initial state:
Replies: 1
Views: 184

Saving state vector and using it as initial state:

I want to use the state vector at the end of a simulation to be the starting vector of a new simulation after making some changes to the model and calling initSystem. I am working in C++ API. I need guidance on the following questions: 1. How do I save the state vector at the end of a simulation? 2....
by Musa Audu
Mon Mar 30, 2020 12:54 pm
Forum: OpenSim
Topic: Prescribed coordinate not working:
Replies: 4
Views: 564

Re: Prescribed coordinate not working:

Thanks Chris. Below is the snippet of code immediately the model is fully defined: // Define the integrator and its options SimTK::RungeKuttaMersonIntegrator integrator(osimModel.getMultibodySystem()); initialTime = 0.0; finalTime = 1.0; stepSize = 0.1; TINY_TIME = 1.0e-6; Manager manager(osimModel)...
by Musa Audu
Mon Mar 30, 2020 11:27 am
Forum: OpenSim
Topic: Prescribed coordinate not working:
Replies: 4
Views: 564

Prescribed coordinate not working:

Hi, My model has several degrees of freedom and I prescribed one of the generalized coordinates and saved the model. The section of the model file displaying information on that coordinate is shown below: <coordinates> <Coordinate name="walkerToGround_coord_0"> <!--The value of this coordinate befor...
by Musa Audu
Tue Nov 19, 2019 5:33 pm
Forum: OpenSim
Topic: Inverse Dynamics in Closed-Chain Systems:
Replies: 4
Views: 389

Re: Inverse Dynamics in Closed-Chain Systems:

Excellent! Thank you Sherm.
by Musa Audu
Tue Nov 19, 2019 4:23 pm
Forum: OpenSim
Topic: Inverse Dynamics in Closed-Chain Systems:
Replies: 4
Views: 389

Re: Inverse Dynamics in Closed-Chain Systems:

Thanks Sherm. Could you provide us any hints on how to proceed in SimBody - anything similar to the sdfulltrq() function in SDFAST that has been defined in SimBody? Thanks.
Musa
by Musa Audu
Tue Nov 19, 2019 1:55 pm
Forum: OpenSim
Topic: Inverse Dynamics in Closed-Chain Systems:
Replies: 4
Views: 389

Inverse Dynamics in Closed-Chain Systems:

I am wondering if anyone can help us out with solving inverse dynamics (ID) problem in systems with closed kinematic chains. A good way to solve the problem is to prescribe a number of generalized coordinates that equal the number of free degrees-of-freedom of the system. The advantage of doing this...
by Musa Audu
Sun Oct 06, 2019 3:54 pm
Forum: OpenSim
Topic: Re-initializing Model:
Replies: 2
Views: 118

Re-initializing Model:

Hi, I am trying to change the parameters of some objects in my model during integration of the equations. Following is a snippet of the code I am using. After time t=1, I change the properties of HuntCrossley force and then re-initialize the model so the new values assume after that. snippet.cpp My ...
by Musa Audu
Sat Apr 06, 2019 4:09 pm
Forum: OpenSim
Topic: Force Visualization:
Replies: 0
Views: 91

Force Visualization:

Does OpenSim GUI have a way to display the force vector (arrow) of an arbitrary force applied on a segment as was the case in SIMM?