NJointHolonomicPlatformVelocityControllerInterface.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::NJointHolonomicPlatformVelocityControllerInterface
17  * @author Tobias Gröger ( tobias dot groeger at student dot kit dot edu )
18  * @date 2024
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
23 #pragma once
24 
26 
27 namespace armarx
28 {
29 
30  TYPEDEF_PTRS_HANDLE(NJointHolonomicPlatformVelocityControllerControlData);
31 
33  {
34  public:
35  float velocityX = 0;
36  float velocityY = 0;
37  float velocityRotation = 0;
39  };
40 
42 
44  virtual public NJointControllerWithTripleBuffer<
45  NJointHolonomicPlatformVelocityControllerControlData>
46  {
47  public:
49 
50 
51  void setVelocites(float velocityX, float velocityY, float velocityRotation);
52 
55 
56  protected:
58  };
59 } // namespace armarx
armarx::NJointHolonomicPlatformVelocityControllerInterface
Definition: NJointHolonomicPlatformVelocityControllerInterface.h:43
NJointControllerWithTripleBuffer.h
armarx::TYPEDEF_PTRS_HANDLE
TYPEDEF_PTRS_HANDLE(NJointCartesianNaturalPositionController)
armarx::NJointHolonomicPlatformVelocityControllerControlData::velocityRotation
float velocityRotation
Definition: NJointHolonomicPlatformVelocityControllerInterface.h:37
armarx::NJointControllerWithTripleBuffer
Definition: NJointControllerWithTripleBuffer.h:10
armarx::NJointHolonomicPlatformVelocityControllerInterface::NJointHolonomicPlatformVelocityControllerInterface
NJointHolonomicPlatformVelocityControllerInterface()
Definition: NJointHolonomicPlatformVelocityControllerInterface.cpp:32
armarx::NJointHolonomicPlatformVelocityControllerControlData::velocityX
float velocityX
Definition: NJointHolonomicPlatformVelocityControllerInterface.h:35
armarx::NJointHolonomicPlatformVelocityControllerInterface::getMaxCommandDelay
IceUtil::Time getMaxCommandDelay() const
Definition: NJointHolonomicPlatformVelocityControllerInterface.cpp:51
armarx::NJointHolonomicPlatformVelocityControllerInterface::setVelocites
void setVelocites(float velocityX, float velocityY, float velocityRotation)
Definition: NJointHolonomicPlatformVelocityControllerInterface.cpp:38
armarx::NJointHolonomicPlatformVelocityControllerInterface::setMaxCommandDelay
void setMaxCommandDelay(const IceUtil::Time &value)
Definition: NJointHolonomicPlatformVelocityControllerInterface.cpp:57
armarx::NJointHolonomicPlatformVelocityControllerInterface::maxCommandDelay
IceUtil::Time maxCommandDelay
Definition: NJointHolonomicPlatformVelocityControllerInterface.h:57
cxxopts::value
std::shared_ptr< Value > value()
Definition: cxxopts.hpp:926
armarx::NJointHolonomicPlatformVelocityControllerControlData::velocityY
float velocityY
Definition: NJointHolonomicPlatformVelocityControllerInterface.h:36
armarx::armem::Time
armarx::core::time::DateTime Time
Definition: forward_declarations.h:13
armarx::NJointHolonomicPlatformVelocityControllerControlData
Definition: NJointHolonomicPlatformVelocityControllerInterface.h:32
armarx::NJointHolonomicPlatformVelocityControllerControlData::commandTimestamp
IceUtil::Time commandTimestamp
Definition: NJointHolonomicPlatformVelocityControllerInterface.h:38
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28