Search found 67 matches
- Tue Oct 15, 2024 2:05 am
- Forum: OpenSim Moco
- Topic: Capturing terminal output in Google Colab
- Replies: 2
- Views: 304
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 ...
- Mon Oct 14, 2024 4:22 am
- Forum: OpenSim Moco
- Topic: Capturing terminal output in Google Colab
- Replies: 2
- Views: 304
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...
- Wed Sep 04, 2024 9:04 am
- Forum: OpenSim Moco
- Topic: Grouping muscle activations
- Replies: 10
- Views: 1033
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...
- Fri Aug 30, 2024 6:30 am
- Forum: OpenSim Moco
- Topic: Grouping muscle activations
- Replies: 10
- Views: 1033
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...
- Thu Aug 29, 2024 9:32 am
- Forum: OpenSim Moco
- Topic: Grouping muscle activations
- Replies: 10
- Views: 1033
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...
- Tue Aug 27, 2024 2:35 am
- Forum: OpenSim Moco
- Topic: Grouping muscle activations
- Replies: 10
- Views: 1033
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...
- 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: 1893
Re: FES Cycling model latest release
Hi Johanna, for your information, we've included a new version (1.1) that solves the path issue.
- Thu Jul 25, 2024 2:30 am
- Forum: OpenSim
- Topic: Applicability of Residuals Reduction Algorithm (RRA) for incomplete data
- Replies: 2
- Views: 3494
Re: Applicability of Residuals Reduction Algorithm (RRA) for incomplete data
Thanks a lot for your response, Thomas. In our cycling analysis, we are using the marker positions and external forces applied to the feet to calculate the joint moments through ID. However, since we do not have data on the forces exerted at the seat, the computed residual wrench encompasses these u...
- Tue Jul 23, 2024 11:12 pm
- Forum: OpenSim
- Topic: Applicability of Residuals Reduction Algorithm (RRA) for incomplete data
- Replies: 2
- Views: 3494
Applicability of Residuals Reduction Algorithm (RRA) for incomplete data
Hi all, I'm working with some data and considering using the Residuals Reduction Algorithm (RRA). My datasets are 1. Leg extension exercise: I collected markers data and force platform data (both feet). But I'm missing the forces on the chair as the person is seated. 2. Seated cycling: I collected m...
- Fri Apr 19, 2024 2:20 am
- Forum: Control strategies for functional electrical stimulation (FES) cycling
- Topic: FES Cycling model latest release
- Replies: 3
- Views: 1893
Re: FES Cycling model latest release
Hi Johanna, thanks for the message. I'll add the relative paths in a future version!
Meanwhile, you can edit the XML file and point to the path in your computer to CyclingGeometry. Worst case scenario this is just a matter of visualisation and shouldn't matter in terms of simulations.
Meanwhile, you can edit the XML file and point to the path in your computer to CyclingGeometry. Worst case scenario this is just a matter of visualisation and shouldn't matter in terms of simulations.