Search found 52 matches

by Musa Audu
Wed Jan 15, 2025 1:47 pm
Forum: Simbody: SimTK multibody dynamics API
Topic: system accelerations vector:
Replies: 4
Views: 1075

Re: system accelerations vector:

Great! Thank you very much for that insight. It works very well.
by Musa Audu
Wed Jan 15, 2025 6:47 am
Forum: OpenSim
Topic: system accelerations vector:
Replies: 2
Views: 164

Re: system accelerations vector:

Hi Nicos,
That works perfectly. Thank you very much.
by Musa Audu
Tue Jan 14, 2025 7:25 pm
Forum: Simbody: SimTK multibody dynamics API
Topic: system accelerations vector:
Replies: 4
Views: 1075

Re: system accelerations vector:

I apologize Sherm. However, I want to cast my question to target the SimTK Community. If one has the position, velocity and hinge torque values for a system such as a double pendulum, it should be possible to use these to compute the resulting acceleration. If so, what is the Simbody function to use...
by Musa Audu
Tue Jan 14, 2025 4:38 pm
Forum: OpenSim
Topic: system accelerations vector:
Replies: 2
Views: 164

system accelerations vector:

We have a system with three degrees-of-freedom and we set out to solve for the accelerations given the position, velocity and torque values. Our code looks like the following: const ForceSet& fSet = model.getForceSet(); for (i = 0; i < numActuators; i++) { ScalarActuator* act = dynamic_cast<ScalarAc...
by Musa Audu
Tue Jan 14, 2025 2:35 pm
Forum: Simbody: SimTK multibody dynamics API
Topic: system accelerations vector:
Replies: 4
Views: 1075

system accelerations vector:

We have a system with three degrees-of-freedom and we set out to solve for the accelerations given the position, velocity and torque values. Our code looks like the following: const ForceSet& fSet = model.getForceSet(); for (i = 0; i < numActuators; i++) { ScalarActuator* act = dynamic_cast<ScalarAc...
by Musa Audu
Wed Jul 17, 2024 1:58 pm
Forum: Simbody: SimTK multibody dynamics API
Topic: SimTK Initial Velocity Analysis:
Replies: 2
Views: 3071

Re: SimTK Initial Velocity Analysis:

Great! Thanks Sherm. I'll look into that. I appreciate your help.
by Musa Audu
Wed Jul 17, 2024 1:14 pm
Forum: Simbody: SimTK multibody dynamics API
Topic: SimTK Initial Velocity Analysis:
Replies: 2
Views: 3071

SimTK Initial Velocity Analysis:

Is there a SimTK function to do initial velocity analysis for a closed-loop system? Something similar to sdinitvel function of good old SDFAST?
Thanks.
Musa
by Musa Audu
Thu Jul 11, 2024 12:13 pm
Forum: OpenSim
Topic: Using SimTK Assemblar object to assemble Closed-Chain systems
Replies: 2
Views: 3300

Re: Using SimTK Assemblar object to assemble Closed-Chain systems

Thanks a lot Sherm. That works for compilation. Now I have another problem. The assembler only runs once: assembler.getNumAssemblySteps() = 1 and assembler.getNumGoalEvals() = 1. The gen coords are not changed from their mis-assembled values. Am I doing something wrong or missing a step somewhere? T...
by Musa Audu
Thu Jul 11, 2024 9:58 am
Forum: OpenSim
Topic: Using SimTK Assemblar object to assemble Closed-Chain systems
Replies: 2
Views: 3300

Using SimTK Assemblar object to assemble Closed-Chain systems

We are trying to enforce constraints for a system with closed-chains using the Assembler object using the following: auto &system = osimModel.getMultibodySystem(); Assembler assembler(system); assembler.assemble(state); This assembles the model but most of the generalized coordinate bounds were viol...
by Musa Audu
Fri Apr 12, 2024 12:14 pm
Forum: OpenSim
Topic: MocoOutputTracking Goal Problems:
Replies: 2
Views: 700

Re: MocoOutputTracking Goal Problems:

Great. Thanks Nick. We do use the setOutputIndex() function to select the desired index of the vector to use for the foot position. We appreciate your insight and look forward to a future version that allows inclusion of dynamic stretching of the reference desired trajectory to match the current tim...