wbc
RigidbodyDynamicsConstraint.hpp
Go to the documentation of this file.
1#ifndef RIGIDBODY_DYNAMICS_CONSTRAINT_HPP
2#define RIGIDBODY_DYNAMICS_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 virtual ~RigidbodyDynamicsConstraint() = default;
24
25 virtual void update(RobotModelPtr robot_model) override;
26
27protected:
28
29 bool reduced;
30};
31typedef std::shared_ptr<RigidbodyDynamicsConstraint> RigidbodyDynamicsConstraintPtr;
32
33} // namespace wbc
34#endif
@ equality
Definition Constraint.hpp:23
Constraint()
Default constructor.
Definition Constraint.cpp:7
virtual ~RigidbodyDynamicsConstraint()=default
bool reduced
Definition RigidbodyDynamicsConstraint.hpp:29
virtual void update(RobotModelPtr robot_model) override
Update constraint matrix and vectors, depending on the type. Abstract method.
Definition RigidbodyDynamicsConstraint.cpp:5
RigidbodyDynamicsConstraint(bool reduced=false)
Default constructor.
Definition RigidbodyDynamicsConstraint.hpp:20
Definition ContactsAccelerationConstraint.cpp:3
std::shared_ptr< RigidbodyDynamicsConstraint > RigidbodyDynamicsConstraintPtr
Definition RigidbodyDynamicsConstraint.hpp:31
std::shared_ptr< RobotModel > RobotModelPtr
Definition RobotModel.hpp:204