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"
23 
24 namespace tsid {
25 
33 struct ContactLevel {
34  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
35 
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;
41 
44 };
45 
46 } // namespace tsid
47 
48 #endif // ifndef __tsid_contact_level_hpp__
std::shared_ptr< math::ConstraintBase > motionConstraint
Base template of a Contact.
unsigned int index
ContactLevel(contacts::ContactBase &contact)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW contacts::ContactBase & contact
std::shared_ptr< math::ConstraintEquality > forceRegTask
std::shared_ptr< math::ConstraintInequality > forceConstraint


tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Sun Jul 2 2023 02:21:51