NJointHolonomicPlatformUnitVelocityPassThroughController.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 RobotAPI::ArmarXObjects::NJointHolonomicPlatformUnitVelocityPassThroughController
17  * @author Raphael Grimm ( raphael dot grimm at kit dot edu )
18  * @date 2017
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 
28 
29 #include "../ControlTargets/ControlTargetHolonomicPlatformVelocity.h"
30 #include "../util.h"
32 
33 namespace armarx
34 {
35 
36  TYPEDEF_PTRS_HANDLE(NJointHolonomicPlatformUnitVelocityPassThroughControllerConfig);
37 
39  virtual public NJointControllerConfig
40  {
41  public:
42  std::string platformName;
46  };
47 
49 
50  /**
51  * @brief The NJointHolonomicPlatformUnitVelocityPassThroughController class
52  * @ingroup Library-RobotUnit-NJointControllers
53  */
56  {
57  public:
58  using ConfigPtrT = NJointHolonomicPlatformUnitVelocityPassThroughControllerConfigPtr;
59 
61  RobotUnit* prov,
62  NJointHolonomicPlatformUnitVelocityPassThroughControllerConfigPtr config,
63  const VirtualRobot::RobotPtr&);
64 
65  void rtRun(const IceUtil::Time&, const IceUtil::Time&) override;
66 
67  //ice interface
68  std::string
69  getClassName(const Ice::Current& = Ice::emptyCurrent) const override
70  {
71  return "NJointHolonomicPlatformUnitVelocityPassThroughController";
72  }
73 
74  protected:
77  };
78 } // namespace armarx
armarx::ControlTargetHolonomicPlatformVelocity
Brief description of class ControlTargetHolonomicPlatformVelocity.
Definition: ControlTargetHolonomicPlatformVelocity.h:38
armarx::NJointHolonomicPlatformVelocityControllerInterface
Definition: NJointHolonomicPlatformVelocityControllerInterface.h:43
NJointControllerWithTripleBuffer.h
armarx::NJointHolonomicPlatformUnitVelocityPassThroughController::initialSettings
NJointHolonomicPlatformVelocityControllerControlData initialSettings
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.h:76
NJointHolonomicPlatformVelocityControllerInterface.h
armarx::TYPEDEF_PTRS_HANDLE
TYPEDEF_PTRS_HANDLE(NJointCartesianNaturalPositionController)
armarx::NJointHolonomicPlatformUnitVelocityPassThroughController::NJointHolonomicPlatformUnitVelocityPassThroughController
NJointHolonomicPlatformUnitVelocityPassThroughController(RobotUnit *prov, NJointHolonomicPlatformUnitVelocityPassThroughControllerConfigPtr config, const VirtualRobot::RobotPtr &)
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.cpp:32
armarx::NJointHolonomicPlatformUnitVelocityPassThroughControllerConfig
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.h:38
armarx::NJointHolonomicPlatformUnitVelocityPassThroughController
The NJointHolonomicPlatformUnitVelocityPassThroughController class.
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.h:54
armarx::NJointControllerBase::ConfigPtrT
NJointControllerConfigPtr ConfigPtrT
Definition: NJointControllerBase.h:586
armarx::NJointHolonomicPlatformUnitVelocityPassThroughController::target
ControlTargetHolonomicPlatformVelocity * target
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.h:75
armarx::NJointHolonomicPlatformUnitVelocityPassThroughControllerConfig::platformName
std::string platformName
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.h:42
armarx::armem::Time
armarx::core::time::DateTime Time
Definition: forward_declarations.h:13
armarx::NJointHolonomicPlatformUnitVelocityPassThroughControllerConfig::initialVelocityRotation
float initialVelocityRotation
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.h:45
armarx::NJointHolonomicPlatformVelocityControllerControlData
Definition: NJointHolonomicPlatformVelocityControllerInterface.h:32
armarx::RobotUnit
The RobotUnit class manages a robot and its controllers.
Definition: RobotUnit.h:180
armarx::NJointHolonomicPlatformUnitVelocityPassThroughControllerConfig::initialVelocityY
float initialVelocityY
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.h:44
armarx::NJointHolonomicPlatformUnitVelocityPassThroughControllerConfig::initialVelocityX
float initialVelocityX
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.h:43
armarx::NJointHolonomicPlatformUnitVelocityPassThroughController::rtRun
void rtRun(const IceUtil::Time &, const IceUtil::Time &) override
TODO make protected and use attorneys.
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.cpp:50
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
VirtualRobot::RobotPtr
std::shared_ptr< class Robot > RobotPtr
Definition: Bus.h:18
armarx::NJointHolonomicPlatformUnitVelocityPassThroughController::getClassName
std::string getClassName(const Ice::Current &=Ice::emptyCurrent) const override
Definition: NJointHolonomicPlatformUnitVelocityPassThroughController.h:69