OpenSim Moco  0.4.0
Public Member Functions | List of all members
OpenSim::MeyerFregly2016Force Class Reference

Description

This contact model is from the following paper: Meyer A.

J., Eskinazi, I., Jackson, J. N., Rao, A. V., Patten, C., & Fregly, B. J. (2016). Muscle Synergies Facilitate Computational Prediction of Subject-Specific Walking Motions. Frontiers in Bioengineering and Biotechnology, 4, 1055–27. http://doi.org/10.3389/fbioe.2016.00077

Inheritance diagram for OpenSim::MeyerFregly2016Force:
OpenSim::StationPlaneContactForce

#include <Moco/Moco/Components/StationPlaneContactForce.h>

Public Member Functions

 OpenSim_DECLARE_PROPERTY (stiffness, double, "Spring stiffness in N/m (default: 1e4).")
 
 OpenSim_DECLARE_PROPERTY (dissipation, double, "Dissipation coefficient in s/m (default: 0.01).")
 
 OpenSim_DECLARE_PROPERTY (tscale, double, "TODO")
 
SimTK::Vec3 calcContactForceOnStation (const SimTK::State &s) const override
 Compute the force applied to body to which the station is attached, at the station, expressed in ground. More...
 
- Public Member Functions inherited from OpenSim::StationPlaneContactForce
 OpenSim_DECLARE_OUTPUT (force_on_station, SimTK::Vec3, calcContactForceOnStation, SimTK::Stage::Velocity)
 
 OpenSim_DECLARE_SOCKET (station, Station, "The body-fixed point that can contact the plane.")
 
void computeForce (const SimTK::State &s, SimTK::Vector_< SimTK::SpatialVec > &bodyForces, SimTK::Vector &) const override
 
OpenSim::Array< std::string > getRecordLabels () const override
 
OpenSim::Array< double > getRecordValues (const SimTK::State &s) const override
 
void generateDecorations (bool fixed, const ModelDisplayHints &hints, const SimTK::State &s, SimTK::Array_< SimTK::DecorativeGeometry > &geoms) const override
 

Member Function Documentation

◆ calcContactForceOnStation()

SimTK::Vec3 OpenSim::MeyerFregly2016Force::calcContactForceOnStation ( const SimTK::State &  s) const
inlineoverridevirtual

Compute the force applied to body to which the station is attached, at the station, expressed in ground.

Normal force.

Friction force.

Implements OpenSim::StationPlaneContactForce.


The documentation for this class was generated from the following file: