Search found 58 matches

by Ana de Sousa
Tue Dec 05, 2023 2:23 pm
Forum: OpenSim Moco
Topic: Moco goals for average speed in cycling model
Replies: 39
Views: 4309

Re: Moco goals for average speed in cycling model

Hi! Nick, thanks for clearing that up! I hadn't considered the impact of the list as well. It's good to know. Feeling more confident about the ExpressionBasedCoordinateForce solution for crank resistance, I want to dive back into the " goals for average speed .", which was supposed to be the topic h...
by Ana de Sousa
Mon Dec 04, 2023 10:06 am
Forum: OpenSim Moco
Topic: Moco goals for average speed in cycling model
Replies: 39
Views: 4309

Re: Moco goals for average speed in cycling model

Hi Carlos, appreciate the quick response! Do you mean /.*/ instead of /.*/.*/ ? I tested that. It behaves the same way, i.e., defining the initial speed incorrectly. One thing I missed mentioning, and I suspect it might be the reason: initially, I assumed it would take precedence without prior defin...
by Ana de Sousa
Mon Dec 04, 2023 8:58 am
Forum: OpenSim Moco
Topic: Moco goals for average speed in cycling model
Replies: 39
Views: 4309

Re: Moco goals for average speed in cycling model

Hey guys! Just wanted to drop a quick update and a big thank you for all the support. After diving into some simulations, I found out a couple of things that I was doing incorrectly. I'll post it here in case someone else also does the same. To Ross Yes, this paper is gold, thank you. It's on my to-...
by Ana de Sousa
Wed Nov 29, 2023 7:19 am
Forum: OpenSim Moco
Topic: Moco goals for average speed in cycling model
Replies: 39
Views: 4309

Re: Moco goals for average speed in cycling model

Oops, my bad. I goofed up in my last post. The problem I'm solving: the crank model has only the crank (no human) and an actuator. I asked Moco to solve the required torque to move the crank from 0 to 180, minimising the time. What I get is the following (check out the torque plots here ) Without an...
by Ana de Sousa
Wed Nov 29, 2023 5:05 am
Forum: OpenSim Moco
Topic: Moco goals for average speed in cycling model
Replies: 39
Views: 4309

Re: Moco goals for average speed in cycling model

Hi again, Nick, thanks a lot for the motivation! Your explanation was really great, and I'm starting to wrap my head around it. I reckon what I'm after is a generalised force applied at a joint (crank). But here's the hiccup I've run into: I managed to model crank resistance based on velocity, where...
by Ana de Sousa
Tue Nov 28, 2023 5:35 am
Forum: OpenSim Moco
Topic: Moco goals for average speed in cycling model
Replies: 39
Views: 4309

Re: Moco goals for average speed in cycling model

Hi Nicolas! Thanks a lot for the idea! Using your suggestion, I implemented the expression-based coordinate force, and it worked like a charm! expression = osim.ExpressionBasedCoordinateForce("crank_angle", "-200*qdot") model.addComponent(expression) Now, it is just a matter of modelling this proper...
by Ana de Sousa
Mon Nov 27, 2023 7:32 am
Forum: OpenSim Moco
Topic: Moco goals for average speed in cycling model
Replies: 39
Views: 4309

Re: Moco goals for average speed in cycling model

Hi everyone, First, I appreciate all the insights! I'm conducting tests based on your comments, and I'll make sure to respond to each of you ASAP. Meanwhile, I've encountered another challenge that might have a quicker solution, can you help me out? I'm working on introducing resistance to the crank...
by Ana de Sousa
Fri Nov 24, 2023 10:09 am
Forum: OpenSim Moco
Topic: Moco goals for average speed in cycling model
Replies: 39
Views: 4309

Re: Moco goals for average speed in cycling model

Hi everyone! First off, I want to express my gratitude for all the valuable suggestions and comments. It's been a good learning experience, and I genuinely appreciate the help. I'd like to share some follow-up thoughts and questions regarding your suggestions, and I'll delve into work over the comin...
by Ana de Sousa
Wed Nov 22, 2023 7:11 am
Forum: OpenSim
Topic: Moco goals for average speed in cycling model
Replies: 2
Views: 373

Re: Moco goals for average speed in cycling model

Hi Carmichael, thanks for the suggestion, it makes more sense indeed. If someone wants to follow, it is here.
by Ana de Sousa
Wed Nov 22, 2023 7:09 am
Forum: OpenSim Moco
Topic: Moco goals for average speed in cycling model
Replies: 39
Views: 4309

Moco goals for average speed in cycling model

Hello! (I've posted this in the OpenSim forum , but someone suggested I post it here). I'm currently working on a project involving a human model (with joint torques) connected to a crank, capable of pedalling from position 0 to 360 degrees. I can successfully predict pedal motion using MocoFinalTim...