ColAvoid.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
29
31{
32 using namespace armarx::control::njoint_controller::task_space;
33 using namespace armarx::control::common;
34
35 class TSMPImpCol: public TSMPController<NJointTSImpColController, TSMPColAvoidCtrlInterface>
36 {
37 public:
39 const NJointControllerConfigPtr& config,
40 const VirtualRobot::RobotPtr& robot);
41
42 std::string getClassName(const Ice::Current& = Ice::emptyCurrent) const override;
43 };
44
45 // class TSMPAdmCol: public TSMPController<NJointTSAdmColController>
46 // {
47 // public:
48 // TSMPAdmCol(const RobotUnitPtr& robotUnit,
49 // const NJointControllerConfigPtr& config,
50 // const VirtualRobot::RobotPtr& robot);
51 //
52 // std::string getClassName(const Ice::Current& = Ice::emptyCurrent) const override;
53 // };
54
55 class TSMPVelCol: public TSMPController<NJointTSVelColController, TSMPColAvoidCtrlInterface>
56 {
57 public:
59 const NJointControllerConfigPtr& config,
60 const VirtualRobot::RobotPtr& robot);
61
62 std::string getClassName(const Ice::Current& = Ice::emptyCurrent) const override;
63 };
64
65 class TSMPVeloCol: public TSMPController<NJointTSVeloColController, TSMPColAvoidCtrlInterface>
66 {
67 public:
69 const NJointControllerConfigPtr& config,
70 const VirtualRobot::RobotPtr& robot);
71
72 std::string getClassName(const Ice::Current& = Ice::emptyCurrent) const override;
73 };
74
75 class TSMPMixImpVelCol: public TSMPController<NJointTSMixImpVelColController, TSMPColAvoidCtrlInterface>
76 {
77 public:
79 const NJointControllerConfigPtr& config,
80 const VirtualRobot::RobotPtr& robot);
81
82 std::string getClassName(const Ice::Current& = Ice::emptyCurrent) const override;
83 };
84} // namespace armarx::control::njoint_mp_controller::task_space
TSMPController(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &)
Definition Template.h:82
std::string getClassName(const Ice::Current &=Ice::emptyCurrent) const override
Definition ColAvoid.cpp:48
TSMPImpCol(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &robot)
Definition ColAvoid.cpp:39
std::string getClassName(const Ice::Current &=Ice::emptyCurrent) const override
Definition ColAvoid.cpp:143
TSMPMixImpVelCol(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &robot)
Definition ColAvoid.cpp:134
std::string getClassName(const Ice::Current &=Ice::emptyCurrent) const override
Definition ColAvoid.cpp:105
TSMPVelCol(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &robot)
Definition ColAvoid.cpp:96
std::string getClassName(const Ice::Current &=Ice::emptyCurrent) const override
Definition ColAvoid.cpp:124
TSMPVeloCol(const RobotUnitPtr &robotUnit, const NJointControllerConfigPtr &config, const VirtualRobot::RobotPtr &robot)
Definition ColAvoid.cpp:115
std::shared_ptr< class Robot > RobotPtr
Definition Bus.h:19
IceUtil::Handle< class RobotUnit > RobotUnitPtr
Definition FTSensor.h:34