Search found 70 matches

by Ana de Sousa
Tue Jan 28, 2025 3:17 am
Forum: OpenSim Moco
Topic: MocoInverse vs MocoTrack
Replies: 5
Views: 375

Re: MocoInverse vs MocoTrack

Hi Jon, Thanks again for this conversation. Reviewing the modeling part is indeed on my to-do list. Here are the answers to your questions: 1. "Do you have the same constraints for the pelvis and feet (or ankles?) for both the torque-driven and muscle-driven problems? How are these constraints set u...
by Ana de Sousa
Fri Jan 24, 2025 3:37 am
Forum: OpenSim Moco
Topic: MocoInverse vs MocoTrack
Replies: 5
Views: 375

Re: MocoInverse vs MocoTrack

Hi Jon, thanks a lot for your detailed response - it is really helpful. I want to share more about my setup so you can hopefully provide further guidance. I'm working with fully predictive simulations, so I use no experimental data. I can reliably predict a torque-driven problem (e.g., maintaining 3...
by Ana de Sousa
Thu Jan 23, 2025 2:36 am
Forum: OpenSim Moco
Topic: MocoInverse vs MocoTrack
Replies: 5
Views: 375

MocoInverse vs MocoTrack

Hi! I have a question regarding the use of MocoInverse in simulations, particularly when pipelining predictions for muscle-driven models. Here's the context: In my cycling simulations, I initially used torque-driven models (without muscles) for their speed and simplicity, which allowed me to quickly...
by Ana de Sousa
Tue Oct 15, 2024 2:05 am
Forum: OpenSim Moco
Topic: Capturing terminal output in Google Colab
Replies: 2
Views: 1418

Re: Capturing terminal output in Google Colab

Hi Nick, for the purpose of this workshop that works well, thanks a lot. # Create ipopt.opt file with the specified options with open("ipopt.opt", "w") as file: file.write("output_file opensim.log\n") file.write("file_append yes\n") solution = study.solve() # Display the content of the Ipopt output ...
by Ana de Sousa
Mon Oct 14, 2024 4:22 am
Forum: OpenSim Moco
Topic: Capturing terminal output in Google Colab
Replies: 2
Views: 1418

Capturing terminal output in Google Colab

Hi everyone! I'm preparing a workshop on Moco and setting up an environment in Google Colab to run some examples. Here's the link: https://colab.research.google.com/drive/1rzxUwK_c0FF4HxPmxMkvLQYZBjtDsTzs?usp=sharing Everything works well: I installed OpenSim successfully and was able to run a simpl...
by Ana de Sousa
Wed Sep 04, 2024 9:04 am
Forum: OpenSim Moco
Topic: Grouping muscle activations
Replies: 11
Views: 2545

Re: Grouping muscle activations

Hi Nick! Thank you so much for your response, it couldn't have come at a better time for my project! The recent release was exactly what I needed. :D I just updated my Conda environment to the latest version and downloaded the new Moco inverse example from the official OpenSim documentation. Then, I...
by Ana de Sousa
Fri Aug 30, 2024 6:30 am
Forum: OpenSim Moco
Topic: Grouping muscle activations
Replies: 11
Views: 2545

Re: Grouping muscle activations

Hey Pasha, thanks again for your suggestions! Unfortunately, I can't create a Controller because it's an abstract class and can't be instantiated. I tried a quick workaround using PrescribedController: my_controller = osim.PrescribedController() my_controller.addActuator(muscle_rect_fem_r) model.add...
by Ana de Sousa
Thu Aug 29, 2024 9:32 am
Forum: OpenSim Moco
Topic: Grouping muscle activations
Replies: 11
Views: 2545

Re: Grouping muscle activations

Hi Pasha, thanks a lot for the response! I need to understand more about OpenSim's structure to implement this properly. For instance, I'm a bit confused about the roles of muscles, actuators, and controllers in the framework. I was playing around with your code today: 1. I cannot seem to be able to...
by Ana de Sousa
Tue Aug 27, 2024 2:35 am
Forum: OpenSim Moco
Topic: Grouping muscle activations
Replies: 11
Views: 2545

Grouping muscle activations

Hi everyone! I'm working on a project, and I need some advice. I want to group muscles in a specific area to share the same activation . Is there a way to do this in OpenSim Moco, or does it need to be handled in OpenSim itself (by modelling)? For example, my model has two muscles: the rectus femori...
by Ana de Sousa
Wed Jul 31, 2024 11:41 pm
Forum: Control strategies for functional electrical stimulation (FES) cycling
Topic: FES Cycling model latest release
Replies: 3
Views: 2410

Re: FES Cycling model latest release

Hi Johanna, for your information, we've included a new version (1.1) that solves the path issue.