humoto
configurable_optimization_problem.h
Go to the documentation of this file.
1 /**
2  @file
3  @author Alexander Sherikov
4  @author Jan Michalczyk
5  @copyright 2014-2017 INRIA. Licensed under the Apache License, Version 2.0.
6  (see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
7 
8  @brief
9 */
10 
11 #pragma once
12 
13 namespace humoto
14 {
15  namespace pepper_ik
16  {
17  /**
18  * @brief Class representing the hierarchy of the problem
19  */
20  template <int t_features>
23  {
24  protected:
25  /**
26  * @brief Fill map with all pointers to all tasks for given module
27  */
28  humoto::TaskSharedPointer getTask(const std::string &string_id) const
29  {
30  if (string_id == "TaskBaseCoMTracking")
31  {
33  }
34  if (string_id == "TaskBaseOrientation")
35  {
37  }
38  if (string_id == "TaskBodyCoMTracking")
39  {
41  }
42  if (string_id == "TaskFixArms")
43  {
45  }
46  if (string_id == "TaskFixHead")
47  {
49  }
50  if (string_id == "TaskJointsBounds")
51  {
53  }
54  if (string_id == "TaskJointsReference")
55  {
57  }
58  if (string_id == "TaskTagOrientation")
59  {
61  }
62  if (string_id == "TaskTagAngularVelocity")
63  {
65  }
66  if (string_id == "TaskTagCompleteVelocity")
67  {
69  }
70  if (string_id == "TaskTagPose")
71  {
73  }
74  if (string_id == "TaskTagPose3Dof")
75  {
77  }
78 
80  }
81  };
82  }
83 }
#define HUMOTO_LOCAL
Definition: export_import.h:26
Tag pose with 3dofs (around x axis, around y axis, along z axis) This task is used when moving the ba...
humoto::TaskSharedPointer getTask(const std::string &string_id) const
Fill map with all pointers to all tasks for given module.
Prevents motion of the head.
Definition: task_fixhead.h:20
virtual humoto::TaskSharedPointer getTask(const std::string &string_id) const
Fill map with all pointers to all tasks for given module.
boost::shared_ptr< humoto::TaskBase > TaskSharedPointer
Definition: task.h:584
Tag complete velocity (translational and rotational)
The root namespace of HuMoTo.
Definition: config.h:12
Class representing the hierarchy of the problem.
Prevents motion of arms.
Definition: task_fixarms.h:20
Class representing the hierarchy of the problem.
maintain reference joint angles