humoto
configurable_optimization_problem.h
Go to the documentation of this file.
1 /**
2  @file
3  @author Alexander Sherikov
4  @copyright 2014-2017 INRIA. Licensed under the Apache License, Version 2.0.
5  (see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
6 
7  @brief
8 */
9 
10 #pragma once
11 
12 
13 namespace humoto
14 {
15  namespace pepper_mpc
16  {
17  /**
18  * @brief Class representing the hierarchy of the problem
19  */
22  {
23  protected:
24  /**
25  * @brief Fill map with all pointers to all tasks for given module
26  */
27  humoto::TaskSharedPointer getTask(const std::string &string_id) const
28  {
29  if (string_id == "TaskBaseAccelerationBounds")
30  {
32  }
33  if (string_id == "TaskBaseJerkMinimization")
34  {
36  }
37  if (string_id == "TaskBasePositionReference")
38  {
40  }
41  if (string_id == "TaskBaseVelocityBounds")
42  {
44  }
45  if (string_id == "TaskBaseVelocityReference")
46  {
48  }
49  if (string_id == "TaskBodyJerkMinimization")
50  {
52  }
53  if (string_id == "TaskBodyPositionBounds")
54  {
56  }
57  if (string_id == "TaskBodyPositionReference")
58  {
60  }
61  if (string_id == "TaskCoPCentering")
62  {
64  }
65  if (string_id == "TaskCoPPositionBounds")
66  {
68  }
69 
71  }
72  };
73  }
74 }
Task for minimizing base position against base reference position.
#define HUMOTO_LOCAL
Definition: export_import.h:26
Task for minimizing base velocity against base reference velocity.
virtual humoto::TaskSharedPointer getTask(const std::string &string_id) const
Fill map with all pointers to all tasks for given module.
Task for bounding base velocity to a square.
boost::shared_ptr< humoto::TaskBase > TaskSharedPointer
Definition: task.h:584
base and body jerk minimization task
Class representing the hierarchy of the problem.
Task for bounding body position to a square.
The root namespace of HuMoTo.
Definition: config.h:12
Class representing the hierarchy of the problem.
humoto::TaskSharedPointer getTask(const std::string &string_id) const
Fill map with all pointers to all tasks for given module.