Search found 51 matches

by Kenechukwu Mbanisi
Sat Oct 28, 2017 9:14 am
Forum: 2017 Fall OpenSim Virtual Workshop
Topic: Simbody 3.6 Documentation
Replies: 1
Views: 1072

Simbody 3.6 Documentation

Hello All,

I realize that the OpenSim 4.0 API works with a new Simbody version 3.6.

Is there any access to the Simbody 3.6 documentation online?

Thank you.

Kenechukwu
by Kenechukwu Mbanisi
Sat Oct 28, 2017 9:12 am
Forum: Simbody: SimTK multibody dynamics API
Topic: Simbody 3.6 Documentation
Replies: 1
Views: 863

Simbody 3.6 Documentation

Hello All,

I am currently testing OpeSim 4.0 API which works with Simbody 3.6.

I'd like to know if there's online documentation available for Simbody 3.6.

Thank you.

Kenechukwu
by Kenechukwu Mbanisi
Fri Oct 27, 2017 12:54 am
Forum: 2017 Fall OpenSim Virtual Workshop
Topic: Measuring Contact Force Vectors in Forward Simulation
Replies: 16
Views: 2290

Re: Measuring Contact Force Vectors in Forward Simulation

Hello Ajay, Thank you for your comment. I am designing a controller which considers the forces acting on the model in order to compute the controls in the next time step. With the limitation (inability to call realizeDynamics in computeControls), how would you suggest I obtain and use contact forces...
by Kenechukwu Mbanisi
Thu Oct 26, 2017 5:35 pm
Forum: 2017 Fall OpenSim Virtual Workshop
Topic: Measuring Contact Force Vectors in Forward Simulation
Replies: 16
Views: 2290

Re: Measuring Contact Force Vectors in Forward Simulation

Hello, Maybe something to try is to avoid any copying to intermediate variables, so your ForceValue() function looks something like this: CODE: SELECT ALL _model->getMultibodySystem().realize(s, SimTK::Stage::Dynamics); Array<double> F = _model->getForceSet().get(index).getRecordValues(s) This was d...
by Kenechukwu Mbanisi
Wed Oct 25, 2017 3:00 pm
Forum: 2017 Fall OpenSim Virtual Workshop
Topic: Measuring Contact Force Vectors in Forward Simulation
Replies: 16
Views: 2290

Re: Measuring Contact Force Vectors in Forward Simulation

Hello, I don't know whether you're using 3.3 or 4.0, but it looks like your PDController2 class derives from OpenSim's Controller class and I don't see setKp() or setKv() methods in the Controller class in either OpenSim version (e.g., http://myosin.sourceforge.net/1987/classOpenSim_1_1Controller.ht...
by Kenechukwu Mbanisi
Tue Oct 24, 2017 5:40 pm
Forum: 2017 Fall OpenSim Virtual Workshop
Topic: Measuring Contact Force Vectors in Forward Simulation
Replies: 16
Views: 2290

Re: Measuring Contact Force Vectors in Forward Simulation

Hello, Thanks for your response. I am still experiencing the challenge. I realized the state to Dynamic (and also Acceleration) stage and the result is still same. It fails at the "F = contact.getRecordValues(s)" line and the error is "Access violation reading location 0x0000000000001030" I added th...
by Kenechukwu Mbanisi
Tue Oct 24, 2017 4:48 pm
Forum: 2017 Fall OpenSim Virtual Workshop
Topic: Trouble building OpenSim 4.0 from source
Replies: 13
Views: 1411

Re: Trouble building OpenSim 4.0 from source

Hello Tom,

Thanks for getting back. Please I am not clear on what you mean. Can you please expatiate on what you would like me to try out?

Kenechukwu
by Kenechukwu Mbanisi
Tue Oct 24, 2017 3:59 pm
Forum: 2017 Fall OpenSim Virtual Workshop
Topic: Trouble building OpenSim 4.0 from source
Replies: 13
Views: 1411

Re: Trouble building OpenSim 4.0 from source

Hello Carmichael,

I ran the INSTALL build and then re-ran the test, but the test is still failing.

Not sure what's causing this.
by Kenechukwu Mbanisi
Tue Oct 24, 2017 1:16 pm
Forum: 2017 Fall OpenSim Virtual Workshop
Topic: Measuring Contact Force Vectors in Forward Simulation
Replies: 16
Views: 2290

Re: Measuring Contact Force Vectors in Forward Simulation

Hello Carmichael, Thanks for the suggestion. I tried that out with my model, but I am getting an access violation error (Access violation reading location 0x0000000000001030). Here's how I set up my code: ForceSet forces = _model->getForceSet(); OpenSim::Force& contact = forces.get(3); // the elasti...
by Kenechukwu Mbanisi
Tue Oct 24, 2017 12:18 pm
Forum: 2017 Fall OpenSim Virtual Workshop
Topic: Trouble building OpenSim 4.0 from source
Replies: 13
Views: 1411

Re: Trouble building OpenSim 4.0 from source

Hello Chris, Thanks for the pointer. With Git installed on my PC, I was able to build the OpenSim dependencies and generate the project files successfully. I also completed the ALL_BUILD process, but the RUN_TESTS_PARALLEL failed. The MATLAB tests are failing. Here's the error: The following tests F...