wbc
JointLimitsAccelerationConstraint.hpp
Go to the documentation of this file.
1#ifndef WBC_CORE_JOINT_LIMIT_ACCELERATION_CONSTRAINT_HPP
2#define WBC_CORE_JOINT_LIMIT_ACCELERATION_CONSTRAINT_HPP
3
5#include <memory>
6
7namespace wbc{
8
13public:
14
18
19 explicit JointLimitsAccelerationConstraint(double dt, bool reduced=false, uint dim_contact = 3);
20
22
23 virtual void update(RobotModelPtr robot_model) override;
24
25protected:
26
28 double dt;
29 bool reduced;
32};
33typedef std::shared_ptr<JointLimitsAccelerationConstraint> JointLimitsAccelerationConstraintPtr;
34
35} // namespace wbc
36#endif // WBC_CORE_JOINT_LIMIT_ACCELERATION_CONSTRAINT_HPP
@ bounds
Definition Constraint.hpp:23
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 JointLimitsAccelerationConstraint.cpp:14
types::JointLimits joint_limits
Definition JointLimitsAccelerationConstraint.hpp:31
JointLimitsAccelerationConstraint(bool reduced=false, uint dim_contact=3)
Default constructor.
Definition JointLimitsAccelerationConstraint.hpp:16
virtual ~JointLimitsAccelerationConstraint()=default
uint dim_contact
Definition JointLimitsAccelerationConstraint.hpp:30
bool reduced
Definition JointLimitsAccelerationConstraint.hpp:29
double dt
Definition JointLimitsAccelerationConstraint.hpp:28
Definition JointLimits.hpp:29
Definition ContactsAccelerationConstraint.cpp:3
std::shared_ptr< RobotModel > RobotModelPtr
Definition RobotModel.hpp:315
std::shared_ptr< JointLimitsAccelerationConstraint > JointLimitsAccelerationConstraintPtr
Definition JointLimitsAccelerationConstraint.hpp:33