CSpaceVisualizerTask.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* Copyright (C) 2011-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5
*
6
* ArmarX is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation.
9
*
10
* ArmarX is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* @package ArmarX
19
* @author Mirko Waechter( mirko.waechter at kit dot edu)
20
* @date 2016
21
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22
* GNU General Public License
23
*/
24
#pragma once
25
26
#include <
RobotComponents/components/MotionPlanning/Tasks/MotionPlanningTask.h
>
27
#include <RobotComponents/interface/components/MotionPlanning/Tasks/CSpaceVisualizerTask.h>
28
#include <
ArmarXCore/core/system/FactoryCollectionBase.h
>
29
#include <
RobotComponents/components/MotionPlanning/CSpace/SimoxCSpace.h
>
30
31
namespace
armarx
32
{
33
/**
34
* @brief The purpose of this task is solely to visualize a cspace, which can be inspected in the
35
* CSpaceVisualizer GUI plugin.
36
*/
37
class
CSpaceVisualizerTask
:
38
public
virtual
MotionPlanningTaskWithDefaultMembers
,
39
public
virtual
CSpaceVisualizerTaskBase
40
{
41
public
:
42
CSpaceVisualizerTask
(
//problem
43
const
SimoxCSpaceWith2DPoseBasePtr& cspace,
44
const
VectorXf& robotPlatform2DPose,
45
const
std::string& taskName =
"CSpaceVisualizerTask"
46
);
47
48
//PlanningControlInterface
49
/**
50
* @brief Does not do anything for this task.
51
*/
52
void
abortTask
(
const
Ice::Current& = Ice::emptyCurrent)
override
53
{
54
55
}
56
/**
57
* @return Contains the robot pose from the constructor..
58
*/
59
Path
getPath
(
const
Ice::Current& = Ice::emptyCurrent)
const override
;
60
61
62
//PlanningTaskBase
63
/**
64
* @brief Does not do anything for this task.
65
*/
66
void
run
(
const
RemoteObjectNodePrxList&,
const
Ice::Current& = Ice::emptyCurrent)
override
;
67
protected
:
68
/**
69
* @brief Ctor used by object factories.
70
*/
71
CSpaceVisualizerTask
() =
default
;
72
private
:
73
template
<
class
Base,
class
Derived>
friend
class ::armarx::GenericFactory;
74
75
// Object interface
76
public
:
77
void
ice_postUnmarshal
()
override
;
78
};
79
using
CSpaceVisualizerTaskPtr
=
IceUtil::Handle<CSpaceVisualizerTask>
;
80
using
CSpaceVisualizerTaskHandle
=
RemoteHandle<MotionPlanningTaskControlInterfacePrx>
;
81
82
}
armarx::MotionPlanningTaskWithDefaultMembers
Definition:
MotionPlanningTask.h:142
armarx::CSpaceVisualizerTask::abortTask
void abortTask(const Ice::Current &=Ice::emptyCurrent) override
Does not do anything for this task.
Definition:
CSpaceVisualizerTask.h:52
FactoryCollectionBase.h
armarx::CSpaceVisualizerTask::getPath
Path getPath(const Ice::Current &=Ice::emptyCurrent) const override
Definition:
CSpaceVisualizerTask.cpp:62
MotionPlanningTask.h
SimoxCSpace.h
armarx::CSpaceVisualizerTask::CSpaceVisualizerTask
CSpaceVisualizerTask()=default
Ctor used by object factories.
armarx::CSpaceVisualizerTask::run
void run(const RemoteObjectNodePrxList &, const Ice::Current &=Ice::emptyCurrent) override
Does not do anything for this task.
Definition:
CSpaceVisualizerTask.cpp:71
IceUtil::Handle
Definition:
forward_declarations.h:29
armarx::RemoteHandle
The RemoteHandle class wrapps a ClientSideRemoteHandleControlBlock and can be used just as a Ice prox...
Definition:
RemoteHandle.h:45
armarx::armem::server::ltm::detail::mixin::Path
std::filesystem::path Path
Definition:
DiskStorageMixin.h:17
armarx::CSpaceVisualizerTask::ice_postUnmarshal
void ice_postUnmarshal() override
Definition:
CSpaceVisualizerTask.cpp:78
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
armarx::CSpaceVisualizerTask
The purpose of this task is solely to visualize a cspace, which can be inspected in the CSpaceVisuali...
Definition:
CSpaceVisualizerTask.h:37
RobotComponents
components
MotionPlanning
Tasks
CSpaceVisualizerTask
CSpaceVisualizerTask.h
Generated on Sat Oct 12 2024 09:14:12 for armarx_documentation by
1.8.17