CalculateJointAngleConfiguration.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* Copyright (C) 2014-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5
*
6
* ArmarX is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation.
9
*
10
* ArmarX is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* @package RobotSkillTemplates::MotionControlGroup
19
* @author Valerij Wittenbeck ( valerij dot wittenbeck at student dot kit dot edu )
20
* @date 2014
21
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22
* GNU General Public License
23
*/
24
25
#pragma once
26
27
#include <
ArmarXCore/statechart/xmlstates/XMLState.h
>
28
29
#include <
RobotAPI/libraries/core/RobotAPIObjectFactories.h
>
30
#include <
RobotAPI/libraries/core/RobotStatechartContext.h
>
31
32
namespace
armarx::MotionControlGroup
33
{
34
DEFINEEVENT
(EvCalculationDone)
35
36
class
CalculateJointAngleConfiguration
:
37
virtual public
XMLStateTemplate
<
CalculateJointAngleConfiguration
>,
38
public
XMLStateFactoryBase
39
{
40
public
:
41
CalculateJointAngleConfiguration
(
XMLStateConstructorParams
stateData);
42
43
// inherited from StateBase
44
void
run
()
override
;
45
46
// static functions for AbstractFactory Method
47
static
std::string
GetName
();
48
static
XMLStateFactoryBasePtr
CreateInstance
(
XMLStateConstructorParams
stateData);
49
static
SubClassRegistry
Registry
;
50
51
// DO NOT INSERT ANY CLASS MEMBERS,
52
// use stateparameters instead,
53
// if classmember are neccessary nonetheless, reset them in onEnter
54
};
55
}
// namespace armarx::MotionControlGroup
RobotAPIObjectFactories.h
RobotStatechartContext.h
DEFINEEVENT
#define DEFINEEVENT(NEWEVENT)
this macro declares a new event-class derived vom Event, to have a compiletime check for typos in eve...
Definition
StateUtilFunctions.h:36
XMLState.h
armarx::MotionControlGroup::CalculateJointAngleConfiguration::Registry
static SubClassRegistry Registry
Definition
CalculateJointAngleConfiguration.h:49
armarx::MotionControlGroup::CalculateJointAngleConfiguration::GetName
static std::string GetName()
Definition
CalculateJointAngleConfiguration.cpp:162
armarx::MotionControlGroup::CalculateJointAngleConfiguration::run
void run() override
Virtual function, that can be reimplemented to calculate complex operations.
Definition
CalculateJointAngleConfiguration.cpp:52
armarx::MotionControlGroup::CalculateJointAngleConfiguration::CalculateJointAngleConfiguration
CalculateJointAngleConfiguration(XMLStateConstructorParams stateData)
Definition
CalculateJointAngleConfiguration.cpp:45
armarx::MotionControlGroup::CalculateJointAngleConfiguration::CreateInstance
static XMLStateFactoryBasePtr CreateInstance(XMLStateConstructorParams stateData)
Definition
CalculateJointAngleConfiguration.cpp:169
armarx::XMLStateTemplate< CalculateJointAngleConfiguration >::XMLStateTemplate
XMLStateTemplate(const XMLStateConstructorParams ¶ms)
Definition
XMLState.h:149
armarx::MotionControlGroup
Definition
CalculateGazeIk.h:30
armarx::XMLStateFactoryBasePtr
IceInternal::Handle< XMLStateFactoryBase > XMLStateFactoryBasePtr
Definition
XMLState.h:64
armarx::XMLStateConstructorParams
Definition
XMLState.h:50
armarx::XMLStateFactoryBase
Definition
XMLState.h:71
RobotSkillTemplates
statecharts
MotionControlGroup
CalculateJointAngleConfiguration.h
Generated by
1.13.2