8 #include "sco/modeling.hpp"
9 #include "trajopt/common.hpp"
15 JointPosCost(
const VarVector& vars,
const VectorXd& vals,
const VectorXd& coeffs);
16 virtual ConvexObjectivePtr convex(
const vector<double>& x,
Model* model);
17 virtual double value(
const vector<double>&);
20 VectorXd vals_, coeffs_;
27 virtual ConvexObjectivePtr convex(
const vector<double>& x,
Model* model);
28 virtual double value(
const vector<double>&);
38 virtual ConvexObjectivePtr convex(
const vector<double>& x,
Model* model);
39 virtual double value(
const vector<double>&);