wbc
ContactsFrictionSurfaceConstraint.hpp
Go to the documentation of this file.
1#ifndef WBC_CORE_CONTACTS_FRICTION_SURFACE_CONSTRAINT_HPP
2#define WBC_CORE_CONTACTS_FRICTION_SURFACE_CONSTRAINT_HPP
3
5
6namespace wbc {
7
9public:
11 explicit ContactsFrictionSurfaceConstraint(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_SURFACE_CONSTRAINT_HPP
@ inequality
Definition Constraint.hpp:22
Constraint()
Default constructor.
Definition Constraint.cpp:5
virtual void update(RobotModelPtr robot_model) override
Update constraint matrix and vectors, depending on the type. Abstract method.
Definition ContactsFrictionSurfaceConstraint.cpp:5
ContactsFrictionSurfaceConstraint(bool _reduced=false)
Default constructor.
Definition ContactsFrictionSurfaceConstraint.hpp:11
virtual ~ContactsFrictionSurfaceConstraint()=default
Definition ContactsAccelerationConstraint.cpp:3
std::shared_ptr< RobotModel > RobotModelPtr
Definition RobotModel.hpp:315