MotionModelAttachedToOtherObject.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::MotionModelAttachedToOtherObject
17* @author David Schiebener ( Schiebener at kit dot edu)
18* @date 2014
19* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20* GNU General Public License
21*/
22
23#pragma once
24
27
28#include "AbstractMotionModel.h"
29
30namespace memoryx
31{
33 virtual public AbstractMotionModel,
34 virtual public MotionModelAttachedToOtherObjectBase
35 {
36 public:
39 armarx::ChannelRefPtr channelRefToObjectToWhichThisIsAttached);
40
46
48 const armarx::LinkedPoseBasePtr& poseAtLastLocalization,
49 const armarx::PoseBasePtr& globalRobotPoseAtLastLocalization,
50 const MultivariateNormalDistributionBasePtr& uncertaintyAtLastLocalization,
51 const Ice::Current& c = Ice::emptyCurrent) override;
52
54 const Ice::Current& c = Ice::emptyCurrent) override;
55
56 protected:
58 MultivariateNormalDistributionBasePtr getUncertaintyInternal() override;
59
60 // for the object factory
61 template <class IceBaseClass, class DerivedClass>
63
67 };
68
71
72} // namespace memoryx
constexpr T c
AbstractMotionModel(armarx::RobotStateComponentInterfacePrx robotStateProxy)
MotionModelAttachedToOtherObject(armarx::RobotStateComponentInterfacePrx robotStateProxy, armarx::ChannelRefPtr channelRefToObjectToWhichThisIsAttached)
void setPoseAtLastLocalisation(const armarx::LinkedPoseBasePtr &poseAtLastLocalization, const armarx::PoseBasePtr &globalRobotPoseAtLastLocalization, const MultivariateNormalDistributionBasePtr &uncertaintyAtLastLocalization, const Ice::Current &c=Ice::emptyCurrent) override
MultivariateNormalDistributionBasePtr getUncertaintyInternal() override
void savePredictedPoseAtStartOfCurrentLocalization(const Ice::Current &c=Ice::emptyCurrent) override
AbstractMotionModel::EMotionModelType getMotionModelType() override
IceInternal::Handle< LinkedPose > LinkedPosePtr
Definition LinkedPose.h:52
IceInternal::Handle< ChannelRef > ChannelRefPtr
Definition ChannelRef.h:40
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface > RobotStateComponentInterfacePrx
VirtualRobot headers.
IceInternal::Handle< MotionModelAttachedToOtherObject > MotionModelAttachedToOtherObjectPtr