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 
30 namespace 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
kbm.h
memoryx::MotionModelBodySchema::GetPredictedPoseInternal
virtual armarx::LinkedPosePtr GetPredictedPoseInternal()
Definition: MotionModelBodySchema.cpp:74
memoryx::MotionModelBodySchema::SetPoseAtLastLocalisation
virtual void SetPoseAtLastLocalisation(const armarx::LinkedPoseBasePtr &poseAtLastLocalization, const armarx::PoseBasePtr &globalRobotPoseAtLastLocalization, const Ice::Current &c=Ice::emptyCurrent)
Definition: MotionModelBodySchema.cpp:103
memoryx::MotionModelBodySchema::parentNodeNames
armarx::NameList parentNodeNames
Definition: MotionModelBodySchema.h:59
memoryx::MotionModelBodySchema::handNodeName
std::string handNodeName
Definition: MotionModelBodySchema.h:57
memoryx::MotionModelBodySchema::outputDim
unsigned int outputDim
Definition: MotionModelBodySchema.h:58
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
c
constexpr T c
Definition: UnscentedKalmanFilterTest.cpp:46
memoryx::MotionModelBodySchema::~MotionModelBodySchema
~MotionModelBodySchema()
Definition: MotionModelBodySchema.cpp:68
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:60
memoryx::AbstractMotionModel
Definition: AbstractMotionModel.h:39
memoryx::MotionModelBodySchema::model
std::shared_ptr< memoryx::KBM > model
Definition: MotionModelBodySchema.h:52
memoryx::MotionModelBodySchema::getUncertaintyInternal
virtual MultivariateNormalDistributionBasePtr getUncertaintyInternal()
Definition: MotionModelBodySchema.cpp:137
memoryx::MotionModelBodySchema::inputDim
unsigned int inputDim
Definition: MotionModelBodySchema.h:58
AbstractMotionModel.h
IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface >
memoryx::MotionModelBodySchema
Definition: MotionModelBodySchema.h:32
memoryx::AbstractMotionModel::EMotionModelType
EMotionModelType
Definition: AbstractMotionModel.h:42
memoryx::MotionModelBodySchema::MotionModelBodySchema
MotionModelBodySchema(armarx::RobotStateComponentInterfacePrx robotStateProxy, std::string handNodeName, LongtermMemoryInterfacePrx longtermMemory)
Definition: MotionModelBodySchema.cpp:33