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
25
#include <
ArmarXCore/core/system/FactoryCollectionBase.h
>
26
27
#include "
AbstractMotionModel.h
"
28
29
namespace
memoryx
30
{
31
class
MotionModelRobotHand
:
32
virtual
public
AbstractMotionModel
,
33
virtual
public
MotionModelRobotHandBase
34
{
35
public
:
36
37
MotionModelRobotHand
(
armarx::RobotStateComponentInterfacePrx
robotStateProxy, std::string handNodeName);
38
39
AbstractMotionModel::EMotionModelType
getMotionModelType
()
override
40
{
41
return
AbstractMotionModel::eMotionModelRobotHand
;
42
}
43
44
protected
:
45
46
armarx::LinkedPosePtr
getPredictedPoseInternal
()
override
;
47
MultivariateNormalDistributionBasePtr
getUncertaintyInternal
()
override
;
48
std::string
robotName
;
49
armarx::SharedRobotInterfacePrx
syncedRobot
;
50
// for the object factory
51
template
<
class
IceBaseClass,
class
DerivedClass>
52
friend
class
armarx::GenericFactory
;
53
MotionModelRobotHand
() { }
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
};
60
using
MotionModelRobotHandPtr
=
IceInternal::Handle<MotionModelRobotHand>
;
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
MemoryX
libraries
motionmodels
MotionModelRobotHand.h
Generated on Sat Oct 12 2024 09:14:05 for armarx_documentation by
1.8.17