wbc
ContactsFrictionPointConstraint.hpp
Go to the documentation of this file.
1#ifndef CONTACTS_FRICTION_POINT_CONSTRAINT_HPP
2#define CONTACTS_FRICTION_POINT_CONSTRAINT_HPP
3
5
6namespace wbc {
7
9public:
11 explicit ContactsFrictionPointConstraint(bool _reduced = false) : Constraint(Constraint::inequality), reduced(_reduced) { }
12
14
15 virtual void update(RobotModelPtr robot_model) override;
16
17private:
18 bool reduced; // if torques are removed from the qp formulation or not
19};
20
21}
22
23#endif
Abstract class to represent a generic hard (linear) constraint for a WBC optimization problem....
Definition Constraint.hpp:19
@ inequality
Definition Constraint.hpp:24
Definition ContactsFrictionPointConstraint.hpp:8
ContactsFrictionPointConstraint(bool _reduced=false)
Default constructor.
Definition ContactsFrictionPointConstraint.hpp:11
virtual void update(RobotModelPtr robot_model) override
Update constraint matrix and vectors, depending on the type. Abstract method.
Definition ContactsFrictionPointConstraint.cpp:5
virtual ~ContactsFrictionPointConstraint()=default
Definition ContactsAccelerationConstraint.cpp:3
std::shared_ptr< RobotModel > RobotModelPtr
Definition RobotModel.hpp:204