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"
28 #include <MemoryX/interface/components/LongtermMemoryInterface.h>
29 
30 
31 
32 namespace memoryx
33 {
35  {
36  public:
37 
38  MotionModelBodySchema(armarx::RobotStateComponentInterfacePrx robotStateProxy, std::string handNodeName, LongtermMemoryInterfacePrx longtermMemory);
40 
42  {
43  return AbstractMotionModel::eMotionModelBodySchema;
44  }
45  virtual void SetPoseAtLastLocalisation(const armarx::LinkedPoseBasePtr& poseAtLastLocalization, const armarx::PoseBasePtr& globalRobotPoseAtLastLocalization, const Ice::Current& c = Ice::emptyCurrent);
46 
47  protected:
48  std::shared_ptr<memoryx::KBM> model;
49 
51  virtual MultivariateNormalDistributionBasePtr getUncertaintyInternal();
52 
53  std::string handNodeName;
54  unsigned int inputDim, outputDim;
55  armarx::NameList parentNodeNames;
56  LongtermMemoryInterfacePrx longtermMemory;
57  };
59 }
60 
kbm.h
memoryx::MotionModelBodySchema::GetPredictedPoseInternal
virtual armarx::LinkedPosePtr GetPredictedPoseInternal()
Definition: MotionModelBodySchema.cpp:66
memoryx::MotionModelBodySchema::SetPoseAtLastLocalisation
virtual void SetPoseAtLastLocalisation(const armarx::LinkedPoseBasePtr &poseAtLastLocalization, const armarx::PoseBasePtr &globalRobotPoseAtLastLocalization, const Ice::Current &c=Ice::emptyCurrent)
Definition: MotionModelBodySchema.cpp:89
memoryx::MotionModelBodySchema::parentNodeNames
armarx::NameList parentNodeNames
Definition: MotionModelBodySchema.h:55
memoryx::MotionModelBodySchema::handNodeName
std::string handNodeName
Definition: MotionModelBodySchema.h:53
memoryx::MotionModelBodySchema::outputDim
unsigned int outputDim
Definition: MotionModelBodySchema.h:54
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:43
memoryx::MotionModelBodySchema::~MotionModelBodySchema
~MotionModelBodySchema()
Definition: MotionModelBodySchema.cpp:60
IceInternal::Handle
Definition: forward_declarations.h:8
memoryx::MotionModelBodySchema::GetMotionModelType
virtual AbstractMotionModel::EMotionModelType GetMotionModelType()
Definition: MotionModelBodySchema.h:41
memoryx::MotionModelBodySchema::longtermMemory
LongtermMemoryInterfacePrx longtermMemory
Definition: MotionModelBodySchema.h:56
memoryx::AbstractMotionModel
Definition: AbstractMotionModel.h:39
memoryx::MotionModelBodySchema::model
std::shared_ptr< memoryx::KBM > model
Definition: MotionModelBodySchema.h:48
memoryx::MotionModelBodySchema::getUncertaintyInternal
virtual MultivariateNormalDistributionBasePtr getUncertaintyInternal()
Definition: MotionModelBodySchema.cpp:118
memoryx::MotionModelBodySchema::inputDim
unsigned int inputDim
Definition: MotionModelBodySchema.h:54
AbstractMotionModel.h
IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface >
memoryx::MotionModelBodySchema
Definition: MotionModelBodySchema.h:34
memoryx::AbstractMotionModel::EMotionModelType
EMotionModelType
Definition: AbstractMotionModel.h:42
memoryx::MotionModelBodySchema::MotionModelBodySchema
MotionModelBodySchema(armarx::RobotStateComponentInterfacePrx robotStateProxy, std::string handNodeName, LongtermMemoryInterfacePrx longtermMemory)
Definition: MotionModelBodySchema.cpp:32