Main Page
Namespaces
Classes
Files
File List
File Members
include
optimizer_goal_global_position.h
Go to the documentation of this file.
1
19
#ifndef __INC_OPTIMIZER_GOAL_GLOBAL_POSITION
20
#define __INC_OPTIMIZER_GOAL_GLOBAL_POSITION
21
22
#include <vector>
23
#include <
optimizer_goal_global.h
>
24
25
namespace
robotLibPbD
{
26
27
class
OptimizerGoalGlobalPosition
:
public
OptimizerGoalGlobal
28
{
29
protected
:
30
CMatrix
pose
;
31
public
:
32
virtual
void
add
()
33
{
34
item
.resize(3);
35
LOG_MSG
(6,
"Position: %s \n"
,
first
->
getRelativeToBase
()[3].
toString
().c_str());
36
37
38
pose =
first
->
getRelativeToBase
();
39
item
[0] = pose.a[12];
40
item
[1] = pose.a[13];
41
item
[2] = pose.a[14];
42
data
.push_back(
item
);
43
};
44
};
45
46
};
47
48
#endif
robotLibPbD::OptimizerGoalGlobalPosition::add
virtual void add()
Definition:
optimizer_goal_global_position.h:32
robotLibPbD::OptimizerGoalGlobal::item
std::vector< double > item
Definition:
optimizer_goal_global.h:32
robotLibPbD::CFrame::getRelativeToBase
virtual CMatrix getRelativeToBase()
Returns pose in the base (frame with no predecessor) frame.
Definition:
frame.h:508
optimizer_goal_global.h
robotLibPbD
Definition:
config.h:22
robotLibPbD::OptimizerGoalGlobal
Definition:
optimizer_goal_global.h:29
robotLibPbD::OptimizerGoalGlobalPosition::pose
CMatrix pose
Definition:
optimizer_goal_global_position.h:30
robotLibPbD::CMatrix
Homogenous matrix.
Definition:
vecmath.h:187
robotLibPbD::CMatrix::toString
std::string toString(bool round=false)
Definition:
vecmath.cpp:221
LOG_MSG
#define LOG_MSG(index, format,...)
Definition:
log.h:32
robotLibPbD::OptimizerGoalGlobal::data
std::vector< std::vector< double > > data
Definition:
optimizer_goal_global.h:35
robotLibPbD::OptimizerGoalGlobalPosition
Definition:
optimizer_goal_global_position.h:27
robotLibPbD::OptimizerGoal::first
CFrame * first
Definition:
optimizer_goal.h:36
asr_kinematic_chain_optimizer
Author(s): Aumann Florian, Heller Florian, Jäkel Rainer, Wittenbeck Valerij
autogenerated on Mon Jun 10 2019 12:35:36