tsid
1.8.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
contact-level.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2021 University of Trento
3
//
4
// This file is part of tsid
5
// tsid is free software: you can redistribute it
6
// and/or modify it under the terms of the GNU Lesser General Public
7
// License as published by the Free Software Foundation, either version
8
// 3 of the License, or (at your option) any later version.
9
// tsid is distributed in the hope that it will be
10
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
11
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
// General Lesser Public License for more details. You should have
13
// received a copy of the GNU Lesser General Public License along with
14
// tsid If not, see
15
// <http://www.gnu.org/licenses/>.
16
//
17
18
#ifndef __tsid_contact_level_hpp__
19
#define __tsid_contact_level_hpp__
20
21
#include "
tsid/math/fwd.hpp
"
22
#include "
tsid/contacts/contact-base.hpp
"
23
24
namespace
tsid
{
25
33
struct
ContactLevel
{
34
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
35
36
contacts::ContactBase
&
contact
;
37
std::shared_ptr<math::ConstraintBase>
motionConstraint
;
38
std::shared_ptr<math::ConstraintInequality>
forceConstraint
;
39
std::shared_ptr<math::ConstraintEquality>
forceRegTask
;
40
unsigned
int
index
;
42
43
ContactLevel
(
contacts::ContactBase
&
contact
);
44
};
45
46
}
// namespace tsid
47
48
#endif
// ifndef __tsid_contact_level_hpp__
tsid::contacts::ContactBase
Base template of a Contact.
Definition:
contact-base.hpp:31
contact-base.hpp
fwd.hpp
tsid
Definition:
constraint-bound.hpp:25
tsid::ContactLevel
Definition:
contact-level.hpp:33
tsid::ContactLevel::ContactLevel
ContactLevel(contacts::ContactBase &contact)
Definition:
contact-level.cpp:22
tsid::ContactLevel::contact
EIGEN_MAKE_ALIGNED_OPERATOR_NEW contacts::ContactBase & contact
Definition:
contact-level.hpp:36
tsid::ContactLevel::forceConstraint
std::shared_ptr< math::ConstraintInequality > forceConstraint
Definition:
contact-level.hpp:38
tsid::ContactLevel::index
unsigned int index
Definition:
contact-level.hpp:40
tsid::ContactLevel::motionConstraint
std::shared_ptr< math::ConstraintBase > motionConstraint
Definition:
contact-level.hpp:37
tsid::ContactLevel::forceRegTask
std::shared_ptr< math::ConstraintEquality > forceRegTask
Definition:
contact-level.hpp:39
include
tsid
formulations
contact-level.hpp
Generated by
1.9.1