8 #ifndef __TORQUELIMITCONSTRAINT_H__ 9 #define __TORQUELIMITCONSTRAINT_H__ 76 _torqueLimitFunction->setTorqueLimits(torqueLimits);
81 delete _torqueLimitFunction;
84 void setTorqueLimits(
const Eigen::VectorXd& torqueLimits) {_torqueLimitFunction->setTorqueLimits(torqueLimits);};
85 const Eigen::VectorXd&
getTorqueLimits()
const {
return _torqueLimitFunction->getTorqueLimits();};
91 return _torqueLimitFunction;
Eigen::VectorXd _torqueLimits
Declaration file of the Model class.
virtual ~TorqueLimitConstraint()
LinearFunction functionType_t
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
Create a linear function that represents the torque limit function.
Declaration file of the LinearFunction class.
TorqueLimitFunction(const Model &model)
TorqueLimitConstraint(const Model &model, const Eigen::VectorXd &torqueLimits)
Declaration file of the Constraint class.
void updateJacobian() const
TorqueLimitConstraint(const Model &model)
const Eigen::VectorXd & getTorqueLimits() const
void setTorqueLimits(const Eigen::VectorXd &torqueLimits)
const Eigen::VectorXd & getTorqueLimits() const
void setTorqueLimits(const Eigen::VectorXd &torqueLimits)