Search found 11 matches

by cedric attias
Thu Oct 17, 2024 10:25 am
Forum: OpenSim Moco
Topic: Linear Velocity Constraint or Goal
Replies: 9
Views: 594

Re: Linear Velocity Constraint or Goal

Sorry to resurface an old post, but I cannot seem to identify the units for speed in Moco.
by cedric attias
Mon Oct 07, 2024 8:37 am
Forum: OpenSim Moco
Topic: MocoTrack: Muscle Driven vs. Actuator Driven Problem
Replies: 2
Views: 196

Re: MocoTrack: Muscle Driven vs. Actuator Driven Problem

As a follow up: Does a coordinate actuator integrated directly into the model work like a reserve actuator (implemented using: ModOpAddReserves)? Do the reserve actuators added using ModOpAddReserves only activate if the coordinate actuator does not generate sufficient force, or are they used simult...
by cedric attias
Mon Oct 07, 2024 8:12 am
Forum: OpenSim Moco
Topic: MocoTrack: Muscle Driven vs. Actuator Driven Problem
Replies: 2
Views: 196

MocoTrack: Muscle Driven vs. Actuator Driven Problem

Hello, Question about MocoTrack, and Moco in general. Let's say I am trying to drive a specific motion using a set of muscles. I am only interested in a particular subset of muscles, but more muscles/actuators may be required to actually initiate the motion I desire. If I am using MocoTrack, but I a...
by cedric attias
Tue Sep 24, 2024 11:17 am
Forum: OpenSim Moco
Topic: Performance Issues Out of Nowhere
Replies: 5
Views: 294795

Re: Performance Issues Out of Nowhere

Thanks so much for the suggestions.

I currently do not have any residual actuators.

How necessary are they to getting a suitable convergence and are there exampled I can draw from to implement these successfully?
by cedric attias
Tue Sep 24, 2024 10:25 am
Forum: OpenSim Moco
Topic: Performance Issues Out of Nowhere
Replies: 5
Views: 294795

Re: Performance Issues Out of Nowhere

Thanks for the response. I actually managed to fix the issue, but now I have other problems. In my Tracking simulation (where I provide kinematic data as reference), I am really struggling to get it to converge, and as time and iterations go on, the tracking gets worse... I have been working on this...
by cedric attias
Mon Sep 23, 2024 9:03 am
Forum: OpenSim Moco
Topic: Performance Issues Out of Nowhere
Replies: 5
Views: 294795

Performance Issues Out of Nowhere

Hello, I am running an instance of MocoTrack on MATLAB, and suddenly, the simulation has been taking forever to run, even initialize, despite me not having made significant changes to the code. For example, my last simulation took over 55 hours over the weekend, and did not even converge. I tried lo...
by cedric attias
Mon Aug 26, 2024 9:25 am
Forum: OpenSim Moco
Topic: Linear Velocity Constraint or Goal
Replies: 9
Views: 594

Re: Linear Velocity Constraint or Goal

Thanks for all the help Nick. I see your responses across a number of forum posts, and the efforts are very much appreciated. Regarding my question, is there a way to specify a direction for my linear velocity? For example, if I want the hand to reach a final velocity along the positive x-axis? Than...
by cedric attias
Fri Aug 23, 2024 9:13 am
Forum: OpenSim Moco
Topic: Linear Velocity Constraint or Goal
Replies: 9
Views: 594

Re: Linear Velocity Constraint or Goal

Nick, you are a lifesaver!

But unfortunately, append seems to require a text input. I used add instead of append and that seemed to work, but wanted to check and confirm if that was a viable solution.

Thanks again,

Cedric
by cedric attias
Fri Aug 23, 2024 8:35 am
Forum: OpenSim Moco
Topic: Linear Velocity Constraint or Goal
Replies: 9
Views: 594

Re: Linear Velocity Constraint or Goal

Thank you Nick! I am having an issue with the following line: setEndpointConstraintBounds(MocoBounds(10)); Where it says; Incorrect number or types of inputs or outputs for function setEndpointConstraintBounds. From my understanding, setEndpointConstraintBounds requires a vector with the length equa...
by cedric attias
Tue Aug 20, 2024 10:39 am
Forum: OpenSim Moco
Topic: Linear Velocity Constraint or Goal
Replies: 9
Views: 594

Linear Velocity Constraint or Goal

I am attempting to constrain the motion of my model so that the final velocity of the hand is a certain linear speed as such: problem.setStateInfo('/bodyset/hand/speed', [0,50], 0, 10); I am realizing that the setStatInfo does not recognize a body, and requires a joint speed to constrain. The proble...