KeypointsImpedanceController.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 2021
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22
23#pragma once
24
25#include <armarx/control/common/mps/JSMP.h>
26#include <armarx/control/common/mps/KeypointsMP.h>
27#include <armarx/control/common/mps/MPPool.h>
29
30//#include <armarx/control/njoint_mp_controller/task_space/ControllerInterface.h>
31
32
34{
35 using namespace armarx::control::njoint_controller::task_space;
36 using namespace armarx::control::common;
37 /**
38 * @defgroup Library-NJointKeypointsImpedanceMPController NJointKeypointsImpedanceMPController
39 * @ingroup Library-RobotUnit-NJointControllers
40 * A description of the library NJointKeypointsImpedanceMPController.
41 *
42 * @class NJointKeypointsImpedanceMPController
43 * @ingroup Library-NJointKeypointsImpedanceMPController
44 * @brief Brief description of class NJointKeypointsImpedanceMPController.
45 *
46 * Detailed description of class NJointKeypointsImpedanceMPController.
47 */
50 virtual public mp::MPPool
51 // , virtual public NJointKeypointsImpedanceMPControllerInterface
52 {
53 public:
55 const NJointControllerConfigPtr& config,
57
58 std::string getClassName(const Ice::Current&) const override;
59 void reconfigureController(const std::string& filename, const Ice::Current&) override;
60 void rtPreActivateController() override;
61 void additionalTask() override;
62
63
64 // // NJointControllerInterface interface
65 // public:
66 // void deactivateController(const Ice::Current &) override;
67 };
68} // namespace armarx::control::njoint_mp_controller::task_space
NJointKeypointsImpedanceController(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
NJointKeypointsImpedanceMPController(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
void reconfigureController(const std::string &filename, const Ice::Current &) override
void rtPreActivateController() override
This function is called before the controller is activated.
std::shared_ptr< class Robot > RobotPtr
Definition Bus.h:19
IceUtil::Handle< class RobotUnit > RobotUnitPtr
Definition FTSensor.h:34