dart
Humanoid.hpp
1 /*
2  * Copyright (c) 2011-2019, The DART development contributors
3  * All rights reserved.
4  *
5  * The list of contributors can be found at:
6  * https://github.com/dartsim/dart/blob/master/LICENSE
7  *
8  * This file is provided under the following "BSD-style" License:
9  * Redistribution and use in source and binary forms, with or
10  * without modification, are permitted provided that the following
11  * conditions are met:
12  * * Redistributions of source code must retain the above copyright
13  * notice, this list of conditions and the following disclaimer.
14  * * Redistributions in binary form must reproduce the above
15  * copyright notice, this list of conditions and the following
16  * disclaimer in the documentation and/or other materials provided
17  * with the distribution.
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
19  * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
20  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
26  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
29  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30  * POSSIBILITY OF SUCH DAMAGE.
31  */
32 
33 #ifndef EXAMPLES_ATLASSIMBICON_HUMANOID_HPP_
34 #define EXAMPLES_ATLASSIMBICON_HUMANOID_HPP_
35 
36 #include <string>
37 #include <vector>
38 
39 #include <Eigen/Dense>
40 
41 #include <dart/dart.hpp>
42 
43 class State;
44 
45 //==============================================================================
48 class Humanoid
49 {
50 public:
53 
55  virtual ~Humanoid();
56 
59 
62 
65 
68 
71 
74 
75 protected:
78 
81 
84 
87 
90 
93 
96 
99 
102 
105 };
106 
107 //==============================================================================
110 class AtlasRobot : public Humanoid
111 {
112 public:
115 
117  virtual ~AtlasRobot();
118 
119 protected:
120 };
121 
122 #endif // EXAMPLES_ATLASSIMBICON_HUMANOID_HPP_
Humanoid(dart::dynamics::Skeleton *_skeleton)
Constructor.
Definition: Humanoid.cpp:49
class Joint
Definition: Joint.hpp:56
dart::dynamics::Joint * mLeftAnkleSagital
Left ankle on sagital plane.
Definition: Humanoid.hpp:95
dart::dynamics::BodyNode * mRightThigh
LeftThigh.
Definition: Humanoid.hpp:86
dart::dynamics::Joint * mRightAnkleCoronal
Right ankle on coronal plane.
Definition: Humanoid.hpp:104
dart::dynamics::Skeleton * getSkeleton()
Get skeleton.
Definition: Humanoid.cpp:65
dart::dynamics::BodyNode * getPelvis()
Get pelvis.
Definition: Humanoid.cpp:71
dart::dynamics::Joint * mRightAnkleSagital
Right ankle on sagital plane.
Definition: Humanoid.hpp:101
dart::dynamics::BodyNode * mLeftFoot
Left foot.
Definition: Humanoid.hpp:89
dart::dynamics::BodyNode * mPelvis
Pelvis.
Definition: Humanoid.hpp:80
dart::dynamics::BodyNode * getRightFoot()
Get right foot.
Definition: Humanoid.cpp:95
dart::dynamics::Skeleton * mSkeleton
State.
Definition: Humanoid.hpp:77
dart::dynamics::BodyNode * mLeftThigh
LeftThigh.
Definition: Humanoid.hpp:83
class State
Definition: State.hpp:65
virtual ~Humanoid()
Destructor.
Definition: Humanoid.cpp:60
dart::dynamics::BodyNode * mRightFoot
Right foot.
Definition: Humanoid.hpp:92
class AtlasRobot
Definition: Humanoid.hpp:110
BodyNode class represents a single node of the skeleton.
Definition: BodyNode.hpp:73
dart::dynamics::BodyNode * getRightThigh()
Get right thigh.
Definition: Humanoid.cpp:83
dart::dynamics::BodyNode * getLeftThigh()
Get left thigh.
Definition: Humanoid.cpp:77
dart::dynamics::BodyNode * getLeftFoot()
Get left foot.
Definition: Humanoid.cpp:89
class Humanoid
Definition: Humanoid.hpp:48
class Skeleton
Definition: Skeleton.hpp:54
dart::dynamics::Joint * mLeftAnkleCoronal
Left ankle on coronal plane.
Definition: Humanoid.hpp:98