TrackingGroupStatechartContext.cpp
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::TrackingGroup
19
* @author Manfred Kroehnert ( Manfred dot Kroehnert at kit dot edu )
20
* @date 2015
21
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22
* GNU General Public License
23
*/
24
25
#include "
TrackingGroupStatechartContext.h
"
26
27
//#include <RobotAPI/libraries/core/remoterobot/RemoteRobot.h>
28
//#include <RobotAPI/libraries/core/Pose.h>
29
30
#include <
ArmarXCore/core/Component.h
>
31
#include <
ArmarXCore/core/system/ImportExportComponent.h
>
32
#include <
ArmarXCore/statechart/Statechart.h
>
33
34
35
36
namespace
armarx::TrackingGroup
37
{
38
void
TrackingGroupStatechartContext::onInitStatechartContext
()
39
{
40
// Register dependencies
41
// usingProxy(getProperty<std::string>("KinematicUnitName").getValue());
42
// usingProxy(getProperty<std::string>("KinematicUnitObserverName").getValue());
43
// usingProxy(getProperty<std::string>("RobotStateComponentName").getValue());
44
// usingProxy(getProperty<std::string>("TCPControlUnitName").getValue());
45
}
46
47
48
void
TrackingGroupStatechartContext::onConnectStatechartContext
()
49
{
50
51
// retrieve proxies
52
// robotStateComponent = getProxy<RobotStateComponentInterfacePrx>(getProperty<std::string>("RobotStateComponentName").getValue());
53
// kinematicUnitPrx = getProxy<KinematicUnitInterfacePrx>(getProperty<std::string>("KinematicUnitName").getValue());
54
// kinematicUnitObserverPrx = getProxy<KinematicUnitObserverInterfacePrx>(getProperty<std::string>("KinematicUnitObserverName").getValue());
55
// tcpControlPrx = getProxy<TCPControlUnitInterfacePrx>(getProperty<std::string>("TCPControlUnitName").getValue());
56
57
// // initialize remote robot
58
// remoteRobot.reset(new RemoteRobot(robotStateComponent->getSynchronizedRobot()));
59
}
60
61
PropertyDefinitionsPtr
TrackingGroupStatechartContext::createPropertyDefinitions()
62
{
63
return
PropertyDefinitionsPtr
(
new
TrackingGroupStatechartContextProperties
(
64
getConfigIdentifier
()));
65
}
66
}
TrackingGroupStatechartContext.h
armarx::TrackingGroup::TrackingGroupStatechartContext::onInitStatechartContext
void onInitStatechartContext() override
onInitStatechartonInitStatechartContext can be implemented by subclasses
Definition:
TrackingGroupStatechartContext.cpp:38
armarx::TrackingGroup::TrackingGroupStatechartContext::onConnectStatechartContext
void onConnectStatechartContext() override
onConnectStatechartContext can be implemented by subclasses
Definition:
TrackingGroupStatechartContext.cpp:48
Statechart.h
Component.h
armarx::TrackingGroup::TrackingGroupStatechartContextProperties
Definition:
TrackingGroupStatechartContext.h:45
armarx::Component::getConfigIdentifier
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Definition:
Component.cpp:74
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::PropertyDefinitionsPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
Definition:
forward_declarations.h:34
armarx::TrackingGroup
Definition:
DetectObject.h:29
ImportExportComponent.h
RobotSkillTemplates
statecharts
TrackingGroup
TrackingGroupStatechartContext.cpp
Generated on Sat Oct 12 2024 09:14:13 for armarx_documentation by
1.8.17