8 #ifndef __JOINTLIMITCONSTRAINT_H__ 9 #define __JOINTLIMITCONSTRAINT_H__ 84 void setJointLimits(
const Eigen::VectorXd& lowerLimits,
const Eigen::VectorXd& upperLimits);
91 void setJointLimit(
int i,
double newLowerLimit,
double newUpperLimit);
108 void computeFullb(
const Eigen::VectorXd& gpos,
const Eigen::VectorXd& gvel, Eigen::VectorXd& fullb)
const;
133 boost::shared_ptr<Pimpl> pimpl;
158 boost::shared_ptr<Pimpl> pimpl;
186 void setJointLimits(
const Eigen::VectorXd& lowerLimits,
const Eigen::VectorXd& upperLimits);
193 void setJointLimit(
int i,
double newLowerLimit,
double newUpperLimit);
202 virtual void disconnectFromController();
214 Eigen::VectorXd _lowerLimits;
215 Eigen::VectorXd _upperLimits;
LinearFunction functionType_t
Create a linear function that represents the joint limit function for the reduced formalism...
virtual void doUpdateInputSizeEnd()
void setJointUpperLimit(int i, double newUpperLimit)
double getJointUpperLimit(int i) const
virtual void updateJacobian() const
Eigen::VectorXd jointUpperLimits
void setJointLimit(int i, double newLowerLimit, double newUpperLimit)
JointLimitFunction(const Model &m, Variable &var)
double getJointLowerLimit(int i) const
virtual ~JointLimitConstraint()
virtual void updateb() const
Eigen::VectorXd jointLowerLimits
void setJointLimits(const Eigen::VectorXd &lowerLimits, const Eigen::VectorXd &upperLimits)
void setHorizonOfPrediction(double newHpos)
const Eigen::VectorXd & getJointUpperLimits() const
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 joint limit function.
Create a linear function that represents the joint limit function for the full formalism.
void computeFullb(const Eigen::VectorXd &gpos, const Eigen::VectorXd &gvel, Eigen::VectorXd &fullb) const
void setJointLowerLimit(int i, double newLowerLimit)
double getHorizonOfPrediction() const
LinearFunction functionType_t
void computeFullJacobian(int varDofs, int nIDofs, Eigen::MatrixXd &fullJacobian) const
This class represents a variable in a mathematical sense.
Create a linear function that represents the dynamic equation of motion.
const Eigen::VectorXd & getJointLowerLimits() const
void setJointUpperLimits(const Eigen::VectorXd &newUpperLimits)
virtual void doUpdateInputSizeBegin()
Define base class that can be used as constraints in wOcra controller.
void setJointLowerLimits(const Eigen::VectorXd &newLowerLimits)