30 #ifndef TOWR_CONSTRAINTS_FORCE_CONSTRAINT_H_ 31 #define TOWR_CONSTRAINTS_FORCE_CONSTRAINT_H_ 33 #include <ifopt/constraint_set.h> 65 double force_limit_in_normal_direction,
std::vector< int > pure_stance_force_node_ids_
PhaseNodes::Ptr ee_force_
the current xyz foot forces.
double mu_
friction coeff between robot feet and terrain.
void FillJacobianBlock(std::string var_set, Jacobian &) const override
ForceConstraint(const HeightMap::Ptr &terrain, double force_limit_in_normal_direction, EE endeffector_id)
Constructs a force contraint.
std::shared_ptr< PhaseNodes > Ptr
virtual void InitVariableDependedQuantities(const VariablesPtr &x) override
virtual ~ForceConstraint()=default
double fn_max_
force limit in normal direction.
VecBound GetBounds() const override
PhaseNodes::Ptr ee_motion_
the current xyz foot positions.
EE ee_
The endeffector force to be constrained.
int n_constraints_per_node_
number of constraint for each node.
VectorXd GetValues() const override
Ensures foot force that is unilateral and inside friction cone.
HeightMap::Ptr terrain_
gradient information at every position (x,y).
std::shared_ptr< HeightMap > Ptr