30 #ifndef TOWR_COSTS_NODE_COST_H_ 31 #define TOWR_COSTS_NODE_COST_H_ 36 #include <ifopt/cost_term.h> 55 NodeCost (
const std::string& nodes_id,
Dx deriv,
int dim);
60 double GetCost ()
const override;
virtual void InitVariableDependedQuantities(const VariablesPtr &x) override
virtual ~NodeCost()=default
NodeCost(const std::string &nodes_id, Dx deriv, int dim)
Constructs a cost term for the optimization problem.
double GetCost() const override
std::shared_ptr< Nodes > nodes_
void FillJacobianBlock(std::string var_set, Jacobian &) const override
Assigns a cost to node values.
Dx
< the values or derivative. For motions e.g. position, velocity, ...