Search found 14 matches

by John Olthoff
Mon Apr 25, 2016 3:31 pm
Forum: OpenSim
Topic: Question about scaling vs. processing times
Replies: 1
Views: 393

Question about scaling vs. processing times

So I'm working with a small model (a modification of the rat model in the online library), and the forward simulation often has problems running. The original model and paper describes some muscles as lacking tendons, so I put in very small tendon slack lengths or else the simulation won't run. So 2...
by John Olthoff
Thu Feb 04, 2016 12:50 pm
Forum: OpenSim
Topic: Accessing setDefaultFiberLength() in GUI scripting
Replies: 1
Views: 562

Accessing setDefaultFiberLength() in GUI scripting

So I'm trying to set the default fiber length in the GUI, but I can't seem to access the ActivationFiberLengthMuscle class. I'm new to casting, so maybe I did it wrong... but I also can't access the constructor for that class. Here's a relevant thread, but I can't make sense of it: https://simtk.org...
by John Olthoff
Fri Jan 22, 2016 12:30 pm
Forum: OpenSim
Topic: Friction in joints?
Replies: 1
Views: 1049

Friction in joints?

Is there a way (or is it already there) to implement friction in joints?

Thanks!
by John Olthoff
Sun Dec 27, 2015 7:49 pm
Forum: OpenSim
Topic: Restricting movement to one plane?
Replies: 3
Views: 455

Re: Restricting movement to one plane?

Is it possible to do this with a custom joint perhaps? Make a joint for the end-effector(foot) and limit it's movement to a whole plane?
by John Olthoff
Sun Dec 27, 2015 5:35 pm
Forum: OpenSim
Topic: Restricting movement to one plane?
Replies: 3
Views: 455

Re: Restricting movement to one plane?

Hi, thanks for your reply. Unfortunately, what I desire is more complicated than this: I want to keep the end effector (the foot) constrained to move in a plane (with some room for error) while all the joints can move as long as it's within their constraints (will use coordinate limiting forces). Do...
by John Olthoff
Sun Dec 27, 2015 5:26 pm
Forum: OpenSim
Topic: Question about angle constraints violated in simulation
Replies: 2
Views: 264

Re: Question about angle constraints violated in simulation

Thanks! That completely clears up my confusion.

Just one more question-- I can see how to do this in a C example I found, but what's the method for doing it in the gui scripting, if at all possible?

Thanks again.
by John Olthoff
Sun Dec 27, 2015 5:24 pm
Forum: OpenSim
Topic: Question about scripting in the GUI
Replies: 1
Views: 175

Re: Question about scripting in the GUI

I answered my own question, well, at least I got around the problem by creating a controller.

But for future reference: are the default_activation variable and setActivation() method not accessible/available from the gui scripting?

Thanks!
by John Olthoff
Sun Dec 27, 2015 8:50 am
Forum: OpenSim
Topic: Question about scripting in the GUI
Replies: 1
Views: 175

Question about scripting in the GUI

I want to look at the effect of activating different pairs of muscles on the movement of the limbs. I am having a problem with automating this, however. I can get the simulation to run and save a .mot file, but I can't get it to set the activations and actually work (they stay at the default instead...
by John Olthoff
Tue Dec 08, 2015 4:22 am
Forum: OpenSim
Topic: Question about angle constraints violated in simulation
Replies: 2
Views: 264

Question about angle constraints violated in simulation

Hi! I'm having a problem where, in using the forward dynamics tool, the joint angles aren't constrained as they should be and as prescribed in coordinate set range. For example: <Coordinate name="ankle_flx"> <!--Coordinate can describe rotational, translational, or coupled motion. Defaults to rotati...
by John Olthoff
Sun Sep 27, 2015 11:36 pm
Forum: OpenSim
Topic: Restricting movement to one plane?
Replies: 3
Views: 455

Restricting movement to one plane?

For complicated reasons not worth explaining, is there a way to restrict the movement of an end effector-- say the foot-- to a certain plane? Basically, I want to test how activation of different muscles contribute to moving the foot in the x-y plane, and thus restricting any movement in the z plane...