wbc
ContactsFrictionPointConstraint.hpp
Go to the documentation of this file.
1#ifndef WBC_CORE_CONTACTS_FRICTION_POINT_CONSTRAINT_HPP
2#define WBC_CORE_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 // WBC_CORE_CONTACTS_FRICTION_POINT_CONSTRAINT_HPP
@ inequality
Definition Constraint.hpp:22
Constraint()
Default constructor.
Definition Constraint.cpp:5
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:315