MocoExtendProblem: Interface Between OpenSim and MATLAB for Rapidly Developing Direct Collocation Goals in Moco 1.1.0
add custom Moco goals to existing matlab scripts
extendProblem Class Reference

Public Member Functions

 extendProblem (const __int64 p)
 
 ~extendProblem ()
 
void addMocoActivationGoal (const std::string &goalName, double weight, bool div_disp, bool div_dur, bool div_mass, double end_point_goal, int ex, std::vector< std::string > refCoordNames, std::vector< double > refWeights)
 
void addMocoActivationSquaredGoal (const std::string &goalName, double weight, bool div_disp, bool div_dur, bool div_mass, double end_point_goal)
 
void addMocoBOSGoal (const std::string &goalName, double weight, bool div_disp, bool div_dur, bool div_mass, int ex, std::string left_foot, std::string right_foot)
 
void addMocoCoordinateAccelerationGoal (const std::string &goalName, double weight, bool div_disp, bool div_dur, bool div_mass, std::vector< std::string > refCoordNames)
 
void addMocoMarkerAccelerationGoal (const std::string &goalName, double weight, bool div_disp, bool div_dur, bool div_mass, std::string name)
 
void addMocoMaxCoordinateGoal (const std::string &goalName, double weight, bool div_disp, bool div_dur, bool div_mass, std::string refCoordName)
 
void addMocoZMPGoal (const std::string &goalName, double weight, bool div_disp, bool div_dur, bool div_mass, int ex)
 

Private Attributes

OpenSim::MocoProblem * m_p = NULL
 

Constructor & Destructor Documentation

◆ extendProblem()

extendProblem ( const __int64 p)
inline

◆ ~extendProblem()

~extendProblem ( )
inline

Member Function Documentation

◆ addMocoActivationGoal()

void addMocoActivationGoal ( const std::string & goalName,
double weight,
bool div_disp,
bool div_dur,
bool div_mass,
double end_point_goal,
int ex,
std::vector< std::string > refCoordNames,
std::vector< double > refWeights )
inline
Here is the call graph for this function:

◆ addMocoActivationSquaredGoal()

void addMocoActivationSquaredGoal ( const std::string & goalName,
double weight,
bool div_disp,
bool div_dur,
bool div_mass,
double end_point_goal )
inline
Here is the call graph for this function:

◆ addMocoBOSGoal()

void addMocoBOSGoal ( const std::string & goalName,
double weight,
bool div_disp,
bool div_dur,
bool div_mass,
int ex,
std::string left_foot,
std::string right_foot )
inline
Here is the call graph for this function:

◆ addMocoCoordinateAccelerationGoal()

void addMocoCoordinateAccelerationGoal ( const std::string & goalName,
double weight,
bool div_disp,
bool div_dur,
bool div_mass,
std::vector< std::string > refCoordNames )
inline
Here is the call graph for this function:

◆ addMocoMarkerAccelerationGoal()

void addMocoMarkerAccelerationGoal ( const std::string & goalName,
double weight,
bool div_disp,
bool div_dur,
bool div_mass,
std::string name )
inline
Here is the call graph for this function:

◆ addMocoMaxCoordinateGoal()

void addMocoMaxCoordinateGoal ( const std::string & goalName,
double weight,
bool div_disp,
bool div_dur,
bool div_mass,
std::string refCoordName )
inline
Here is the call graph for this function:

◆ addMocoZMPGoal()

void addMocoZMPGoal ( const std::string & goalName,
double weight,
bool div_disp,
bool div_dur,
bool div_mass,
int ex )
inline
Here is the call graph for this function:

Member Data Documentation

◆ m_p

OpenSim::MocoProblem* m_p = NULL
private

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