CoordinatorBase.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @package ...
17
* @author Jianfeng Gao ( jianfeng dot gao at kit dot edu )
18
* @date 2025
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
#include <VirtualRobot/Robot.h>
26
27
#include <
ArmarXCore/util/CPPUtility/TripleBuffer.h
>
28
29
// #include <armarx/control/common/control_law/CollisionAvoidance.h>
30
// #include <armarx/control/common/control_law/aron/CollisionAvoidanceConfig.aron.generated.h>
31
32
// #include <simox/control/dynamics/RBDLModel.h>
33
// #include <simox/control/environment/CollisionRobotInterface.h>
34
// #include <simox/control/environment/fwd.h>
35
// #include <simox/control/impl/simox/robot/Robot.h>
36
// #include <simox/control/robot/RobotInterface.h>
37
38
//#include <armarx/control/common/common.aron.generated.h>
39
//#include <armarx/control/common/coordination/CoordinationCore.h>
40
//#include <armarx/control/common/coordination/SyncCoordination.h>
41
42
namespace
armarx::control::njoint_controller::core
43
{
44
45
// namespace law = armarx::control::common::control_law;
46
47
/**
48
* @defgroup Library-njoint_controller/core CoordinatorBase
49
* @ingroup Library-njoint_controller/core
50
* A description of the library CoordinatorBase.
51
*
52
* @class CoordinatorBase
53
* @ingroup Library-CoordinatorBase
54
* @brief Brief description of class CoordinatorBase.
55
*
56
* Detailed description of class CoordinatorBase.
57
*/
58
class
CoordinatorBase
59
{
60
61
public
:
62
// using PoseFrameMode = armarx::control::common::arondto::PoseFrameMode;
63
64
struct
NodeSetData
65
{
66
};
67
68
CoordinatorBase
();
69
~CoordinatorBase
();
70
71
// void useCoordinator(const std::string& type,
72
// const ::armarx::aron::data::dto::DictPtr& dto,
73
// const Ice::Current& iceCurrent = Ice::emptyCurrent) override;
74
// void disableCoordinator(const Ice::Current& iceCurrent = Ice::emptyCurrent) override;
75
76
// void rtRunCoordinator(double deltaT);
77
// void updateInputData(const std::string& key,
78
// const Eigen::Matrix4f& targetPose,
79
// const PoseFrameMode targetPoseMode,
80
// const Eigen::Matrix4f& pose,
81
// const Eigen::Vector6f& vel,
82
// const Eigen::Vector6f& ft,
83
// const Eigen::Vector6f& stiffness);
84
85
86
// protected:
87
// /// coordinator
88
// std::atomic_bool coordinatorEnabled = false;
89
// std::shared_ptr<common::coordination::SyncCoordination> coordinator = nullptr;
90
// std::map<std::string, common::coordination::InputData> coordinatorInputData;
91
92
// // private:
93
};
94
95
// using CoordinatorBasePtr = std::shared_ptr<CoordinatorBase>;
96
}
// namespace armarx::control::njoint_controller::core
armarx::control::njoint_controller::core::CoordinatorBase::CoordinatorBase
CoordinatorBase()
Definition
CoordinatorBase.cpp:16
armarx::control::njoint_controller::core::CoordinatorBase::~CoordinatorBase
~CoordinatorBase()
Definition
CoordinatorBase.cpp:21
armarx::control::njoint_controller::core
This file is part of ArmarX.
Definition
CollisionAvoidanceCore.cpp:14
armarx::control::njoint_controller::core::CoordinatorBase::NodeSetData
Definition
CoordinatorBase.h:65
TripleBuffer.h
armarx
control
njoint_controller
core
CoordinatorBase.h
Generated by
1.13.2