NJointControllers.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/VirtualRobot.h>
26
29
30#include <armarx/control/common/common.aron.generated.h>
32// #include <armarx/control/common/coordination/SyncCoordination.h>
33// #include <armarx/control/common/device.h>
34// #include <armarx/control/njoint_controller/core/HandControlBase.h>
35#include <armarx/control/njoint_controller/task_space/NJointControllersBase.h>
36#include <armarx/control/njoint_controller/task_space/ControllerInterface.h>
37
39{
40 namespace law = armarx::control::common::control_law;
41
43 public NJointTaskspaceController<law::TSMixImpVelController>
44 {
45 public:
46 std::string getClassName(const Ice::Current& = Ice::emptyCurrent) const override;
47 void validateConfigDataCheckSize(Config& configData, ArmPtr& arm) override;
48 void limbPublishConfig(StringVariantBaseMap& datafields, ArmPtr& arm) override;
49 // static ConfigPtrT GenerateConfigFromVariants(const StringVariantBaseMap& values);
50 };
51
53 public NJointTaskspaceController<law::TSImpController>
54 {
55 public:
56 std::string getClassName(const Ice::Current& = Ice::emptyCurrent) const override;
57 void validateConfigDataCheckSize(Config& configData, ArmPtr& arm) override;
58 void limbPublishConfig(StringVariantBaseMap& datafields, ArmPtr& arm) override;
59 // static ConfigPtrT GenerateConfigFromVariants(const StringVariantBaseMap& values);
60 };
61
62} // namespace armarx::control::njoint_controller::task_space
std::string getClassName(const Ice::Current &=Ice::emptyCurrent) const override
void limbPublishConfig(StringVariantBaseMap &datafields, ArmPtr &arm) override
void validateConfigDataCheckSize(Config &configData, ArmPtr &arm) override
std::string getClassName(const Ice::Current &=Ice::emptyCurrent) const override
void limbPublishConfig(StringVariantBaseMap &datafields, ArmPtr &arm) override
void validateConfigDataCheckSize(Config &configData, ArmPtr &arm) override
Brief description of class NJointTaskspaceController.
Definition Base.h:59
std::map< std::string, VariantBasePtr > StringVariantBaseMap