humoto
task_copposition.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 wpg04
16  {
17  /**
18  * @brief [task_cop.m]
19  */
21  {
22  #define HUMOTO_CONFIG_ENTRIES \
23  HUMOTO_CONFIG_PARENT_CLASS(TaskZeroVariables)
24  #include HUMOTO_CONFIG_DEFINE_ACCESSORS
25 
26 
27  protected:
28  void setDefaults()
29  {
32  setGain(12.2474487139159);
33  }
34 
35 
36  void finalize()
37  {
39  }
40 
41 
42  public:
43  explicit TaskCoPPosition(const double gain = 12.2474487139159)
44  : TaskZeroVariables(gain, "TaskCoPPosition", COP_VARIABLES_ID)
45  {
46  // nothing to do
47  };
48  };
49  }
50 }
static const char * COP_VARIABLES_ID
Definition: common.h:17
#define HUMOTO_LOCAL
Definition: export_import.h:26
void finalize()
This function is called automaticaly after reading a configuration file. Does nothing by default...
void finalize()
This function is called automaticaly after reading a configuration file. Does nothing by default...
Definition: task.h:428
[task_zerovars.m] Set given variables to zero, i.e. minimize these variables.
Definition: task_generic.h:26
The root namespace of HuMoTo.
Definition: config.h:12
void setDefaults()
Set members to their default values.
void setVariablesID(const std::string &variables_id)
Set variables string id to a given value.
Definition: task_generic.h:46
virtual void setDefaults()
Set members to their default values.
Definition: task.h:424
TaskCoPPosition(const double gain=12.2474487139159)