- 3.0.2 optimal control module.
utilities.hpp File Reference
#include <iostream>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/info_parser.hpp>
#include <ct/optcon/costfunction/term/TermBase.hpp>
#include "../CostFunction.hpp"

Go to the source code of this file.

Namespaces

 ct
 
 ct::optcon
 

Functions

template<typename SCALAR >
void ct::optcon::loadScalarCF (const std::string &filename, const std::string &scalarName, SCALAR &scalar, const std::string &termName="")
 
template<typename SCALAR >
void ct::optcon::loadScalarOptionalCF (const std::string &filename, const std::string &scalarName, SCALAR &scalar, const std::string &termName, const SCALAR &defaultValue)
 
template<typename SCALAR , int ROW, int COL>
void ct::optcon::loadMatrixCF (const std::string &filename, const std::string &matrixName, Eigen::Matrix< SCALAR, ROW, COL > &matrix, const std::string &termName="")
 
template<typename TERM_PTR , typename costFuncType >
void ct::optcon::addTerm (const std::string &filename, std::string &currentTerm, int currentTermType, TERM_PTR term, costFuncType *costFunc, bool verbose=false)
 
template<typename TERM_PTR , typename costFuncType >
void ct::optcon::addADTerm (const std::string &filename, std::string &currentTerm, int currentTermType, TERM_PTR term, costFuncType *costFunc, bool verbose=false)