trajopt
 All Classes Namespaces Files Functions Variables Typedefs Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
trajopt::TermInfo Struct Referenceabstract

When cost or constraint element of JSON doc is read, one of these guys gets constructed to hold the parameters. More...

#include <problem_description.hpp>

Inheritance diagram for trajopt::TermInfo:
trajopt::CartVelCntInfo trajopt::CollisionCostInfo trajopt::JointConstraintInfo trajopt::JointPosCostInfo trajopt::JointVelConstraintInfo trajopt::JointVelCostInfo trajopt::PoseCostInfo

Public Types

typedef TermInfoPtr(* MakerFunc )(void)
 Registers a user-defined TermInfo so you can use your own cost see function RegisterMakers.cpp.
 

Public Member Functions

virtual void fromJson (const Json::Value &v)=0
 
virtual void hatch (TrajOptProb &prob)=0
 

Static Public Member Functions

static TermInfoPtr fromName (const string &type)
 
static void RegisterMaker (const std::string &type, MakerFunc)
 

Public Attributes

string name
 
TermType term_type
 

Detailed Description

When cost or constraint element of JSON doc is read, one of these guys gets constructed to hold the parameters.

Then it later gets converted to a Cost object by the hatch method


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