API  4.3
For MATLAB, Python, Java, and C++ users
OpenSim::MocoTropterSolver::TropterProblemBase< T > Class Template Reference
+ Inheritance diagram for OpenSim::MocoTropterSolver::TropterProblemBase< T >:

Public Member Functions

template<typename MocoTrajectoryType , typename tropIterateType >
MocoTrajectoryType convertIterateTropterToMoco (const tropIterateType &tropSol) const
 
MocoTrajectory convertToMocoTrajectory (const tropter::Iterate &tropSol) const
 
MocoSolution convertToMocoSolution (const tropter::Solution &tropSol) const
 
tropter::Iterate convertToTropterIterate (const MocoTrajectory &mocoIter) const
 

Constructor & Destructor Documentation

◆ TropterProblemBase()

Member Function Documentation

◆ addControlVariables()

◆ addCosts()

◆ addGenericPathConstraints()

◆ addKinematicConstraints()

◆ addParameters()

◆ addStateVariables()

◆ applyParametersToModelProperties()

template<typename T >
void OpenSim::MocoTropterSolver::TropterProblemBase< T >::applyParametersToModelProperties ( const tropter::VectorX< T > &  parameters) const
inlineprotected

◆ calc_cost()

◆ calc_cost_integrand()

◆ calcAndApplyKinematicConstraintForces()

◆ calcKinematicConstraintErrors()

◆ calcPathConstraintErrors()

◆ convertIterateTropterToMoco()

template<typename T >
template<typename MocoTrajectoryType , typename tropIterateType >
MocoTrajectoryType OpenSim::MocoTropterSolver::TropterProblemBase< T >::convertIterateTropterToMoco ( const tropIterateType &  tropSol) const

◆ convertToMocoSolution()

template<typename T >
MocoSolution OpenSim::MocoTropterSolver::TropterProblemBase< T >::convertToMocoSolution ( const tropter::Solution &  tropSol) const

◆ convertToMocoTrajectory()

template<typename T >
MocoTrajectory OpenSim::MocoTropterSolver::TropterProblemBase< T >::convertToMocoTrajectory ( const tropter::Iterate &  tropSol) const

◆ convertToTropterIterate()

template<typename T >
tropter::Iterate OpenSim::MocoTropterSolver::TropterProblemBase< T >::convertToTropterIterate ( const MocoTrajectory mocoIter) const

◆ initialize_on_iterate()

template<typename T >
void OpenSim::MocoTropterSolver::TropterProblemBase< T >::initialize_on_iterate ( const Eigen::VectorXd &  parameters) const
inlinefinaloverrideprotected

◆ setSimTKState() [1/2]

◆ setSimTKState() [2/2]

◆ setSimTKStateForCostFinal()

template<typename T >
void OpenSim::MocoTropterSolver::TropterProblemBase< T >::setSimTKStateForCostFinal ( const tropter::CostInput< T > &  in) const
inlineprotected

◆ setSimTKStateForCostInitial()

template<typename T >
void OpenSim::MocoTropterSolver::TropterProblemBase< T >::setSimTKStateForCostInitial ( const tropter::CostInput< T > &  in) const
inlineprotected

◆ setSimTKTimeAndStates()

template<typename T >
void OpenSim::MocoTropterSolver::TropterProblemBase< T >::setSimTKTimeAndStates ( const T &  time,
Eigen::Ref< const tropter::VectorX< T >>  states,
SimTK::State &  simTKState 
) const
inlineprotected

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