wbc
JointLimitsAccelerationConstraint.hpp
Go to the documentation of this file.
1#ifndef JOINT_LIMIT_ACCELERATION_CONSTRAINT_HPP
2#define JOINT_LIMIT_ACCELERATION_CONSTRAINT_HPP
3
5
6#include <base/Eigen.hpp>
7#include <base/Time.hpp>
8#include <base/NamedVector.hpp>
9#include <memory>
10
11namespace wbc{
12
17public:
18
22
23 explicit JointLimitsAccelerationConstraint(double dt, bool reduced=false);
24
26
27 virtual void update(RobotModelPtr robot_model) override;
28
29protected:
30
32 double dt;
33
34 bool reduced;
35
36};
37typedef std::shared_ptr<JointLimitsAccelerationConstraint> JointLimitsAccelerationConstraintPtr;
38
39} // namespace wbc
40#endif
@ bounds
Definition Constraint.hpp:25
Constraint()
Default constructor.
Definition Constraint.cpp:7
virtual void update(RobotModelPtr robot_model) override
Update constraint matrix and vectors, depending on the type. Abstract method.
Definition JointLimitsAccelerationConstraint.cpp:13
JointLimitsAccelerationConstraint(bool reduced=false)
Default constructor.
Definition JointLimitsAccelerationConstraint.hpp:20
virtual ~JointLimitsAccelerationConstraint()=default
bool reduced
Definition JointLimitsAccelerationConstraint.hpp:34
double dt
Definition JointLimitsAccelerationConstraint.hpp:32
Definition ContactsAccelerationConstraint.cpp:3
std::shared_ptr< RobotModel > RobotModelPtr
Definition RobotModel.hpp:204
std::shared_ptr< JointLimitsAccelerationConstraint > JointLimitsAccelerationConstraintPtr
Definition JointLimitsAccelerationConstraint.hpp:37