opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
758 stars 308 forks source link

Add `MocoGeneralizedForceTrackingGoal` and utilities for computing joint moments from a `MocoTrajectory` #3755

Closed nickbianco closed 2 months ago

nickbianco commented 3 months ago

Fixes issue #3689

Brief summary of changes

These changes introduce new features to Moco for tracking joint moments (i.e., generalized coordinate forces) and computing them from an existing MocoTrajectory. Various other small changes to enable these features have been included.

The full list of changes:

Testing I've completed

Added a test for MocoGeneralizedForceTrackingGoal and beefed up the surrounding "tracking" tests. Incorporated the new goal into exampleMocoTrack and tested the examples locally.

Looking for feedback on...

CHANGELOG.md (choose one)


This change is Reviewable