MotionModelBodySchema.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::MotionModelBodySchema
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
25
26#include "AbstractMotionModel.h"
27#include <MemoryX/interface/components/LongtermMemoryInterface.h>
29
30namespace memoryx
31{
33 {
34 public:
36 std::string handNodeName,
37 LongtermMemoryInterfacePrx longtermMemory);
39
42 {
43 return AbstractMotionModel::eMotionModelBodySchema;
44 }
45
46 virtual void
47 SetPoseAtLastLocalisation(const armarx::LinkedPoseBasePtr& poseAtLastLocalization,
48 const armarx::PoseBasePtr& globalRobotPoseAtLastLocalization,
49 const Ice::Current& c = Ice::emptyCurrent);
50
51 protected:
52 std::shared_ptr<memoryx::KBM> model;
53
55 virtual MultivariateNormalDistributionBasePtr getUncertaintyInternal();
56
57 std::string handNodeName;
58 unsigned int inputDim, outputDim;
59 armarx::NameList parentNodeNames;
60 LongtermMemoryInterfacePrx longtermMemory;
61 };
62
64} // namespace memoryx
constexpr T c
AbstractMotionModel(armarx::RobotStateComponentInterfacePrx robotStateProxy)
virtual MultivariateNormalDistributionBasePtr getUncertaintyInternal()
std::shared_ptr< memoryx::KBM > model
virtual armarx::LinkedPosePtr GetPredictedPoseInternal()
virtual AbstractMotionModel::EMotionModelType GetMotionModelType()
LongtermMemoryInterfacePrx longtermMemory
virtual void SetPoseAtLastLocalisation(const armarx::LinkedPoseBasePtr &poseAtLastLocalization, const armarx::PoseBasePtr &globalRobotPoseAtLastLocalization, const Ice::Current &c=Ice::emptyCurrent)
MotionModelBodySchema(armarx::RobotStateComponentInterfacePrx robotStateProxy, std::string handNodeName, LongtermMemoryInterfacePrx longtermMemory)
IceInternal::Handle< LinkedPose > LinkedPosePtr
Definition LinkedPose.h:52
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface > RobotStateComponentInterfacePrx
VirtualRobot headers.
IceInternal::Handle< MotionModelBodySchema > MotionModelBodySchemaPtr