MotionModelRobotHand.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 MemoryX::MotionModelRobotHand
17 * @author David Schiebener ( Schiebener at kit dot edu)
18 * @date 2013
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
23 #pragma once
24 
26 
27 #include "AbstractMotionModel.h"
28 
29 namespace memoryx
30 {
32  virtual public AbstractMotionModel,
33  virtual public MotionModelRobotHandBase
34  {
35  public:
36 
37  MotionModelRobotHand(armarx::RobotStateComponentInterfacePrx robotStateProxy, std::string handNodeName);
38 
40  {
42  }
43 
44  protected:
45 
47  MultivariateNormalDistributionBasePtr getUncertaintyInternal() override;
48  std::string robotName;
50  // for the object factory
51  template <class IceBaseClass, class DerivedClass>
52  friend class armarx::GenericFactory;
54 
55  // MotionModelInterface interface
56  public:
57  void setPoseAtLastLocalisation(const armarx::LinkedPoseBasePtr& poseAtLastLocalization, const armarx::PoseBasePtr& globalRobotPoseAtLastLocalization,
58  const MultivariateNormalDistributionBasePtr& uncertaintyAtLastLocalization, const Ice::Current& c = Ice::emptyCurrent) override;
59  };
61 }
62 
memoryx::MotionModelRobotHand::getPredictedPoseInternal
armarx::LinkedPosePtr getPredictedPoseInternal() override
Definition: MotionModelRobotHand.cpp:41
memoryx::MotionModelRobotHand::setPoseAtLastLocalisation
void setPoseAtLastLocalisation(const armarx::LinkedPoseBasePtr &poseAtLastLocalization, const armarx::PoseBasePtr &globalRobotPoseAtLastLocalization, const MultivariateNormalDistributionBasePtr &uncertaintyAtLastLocalization, const Ice::Current &c=Ice::emptyCurrent) override
Definition: MotionModelRobotHand.cpp:98
memoryx::MotionModelRobotHand::getUncertaintyInternal
MultivariateNormalDistributionBasePtr getUncertaintyInternal() override
Definition: MotionModelRobotHand.cpp:75
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:43
FactoryCollectionBase.h
IceInternal::Handle
Definition: forward_declarations.h:8
memoryx::MotionModelRobotHand::MotionModelRobotHand
MotionModelRobotHand()
Definition: MotionModelRobotHand.h:53
memoryx::AbstractMotionModel
Definition: AbstractMotionModel.h:39
memoryx::AbstractMotionModel::eMotionModelRobotHand
@ eMotionModelRobotHand
Definition: AbstractMotionModel.h:45
AbstractMotionModel.h
memoryx::MotionModelRobotHand::syncedRobot
armarx::SharedRobotInterfacePrx syncedRobot
Definition: MotionModelRobotHand.h:49
IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface >
armarx::GenericFactory
Definition: FactoryCollectionBase.h:51
memoryx::MotionModelRobotHand
Definition: MotionModelRobotHand.h:31
memoryx::MotionModelRobotHand::getMotionModelType
AbstractMotionModel::EMotionModelType getMotionModelType() override
Definition: MotionModelRobotHand.h:39
memoryx::MotionModelRobotHand::robotName
std::string robotName
Definition: MotionModelRobotHand.h:48
memoryx::AbstractMotionModel::EMotionModelType
EMotionModelType
Definition: AbstractMotionModel.h:42