CPRSAwareMotionPlanningTask.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 RobotComponents
19 * @author Raphael Grimm ( raphael dot grimm at kit dot edu )
20 * @date 2015
21 * @copyright http://www.gnu.org/licenses/gpl.txt
22 * GNU General Public License
23 */
24#pragma once
25
26#include <RobotComponents/interface/components/MotionPlanning/Tasks/CPRSAwareMotionPlanningTask.h>
27
28#include "MotionPlanningTask.h"
29
30namespace armarx::cprs
31{
33 /**
34 * @brief An ice handel for a CPRSAwarePlanningTask.
35 */
37
38 /**
39 * @brief Implementation of the slice interface CPRSAwarePlanningTaskBase.
40 */
43 virtual public CPRSAwareMotionPlanningTaskBase
44 {
45 public:
46 /**
47 * @brief ctor
48 * @param startCfg the start point
49 * @param cspace the planning cspace
50 * @param dcdStep the dcd step size
51 * @param maximalPlanningTimeInSeconds the maximal time in seconds
52 * @param planningComputingPowerRequestStrategy the used cprs
53 */
55 const VectorXf& startCfg,
56 const VectorXf& goalCfg,
57 const CSpaceBasePtr& cspace,
58 Ice::Float dcdStep,
59 Ice::Long maximalPlanningTimeInSeconds,
60 const cprs::ComputingPowerRequestStrategyBasePtr& planningComputingPowerRequestStrategy,
61 const std::string& taskName) :
62 MotionPlanningTaskBase(taskName),
64 goalCfg,
65 cspace,
66 dcdStep,
67 maximalPlanningTimeInSeconds,
68 taskName),
69 CPRSAwareMotionPlanningTaskBase(taskName,
70 startCfg,
71 goalCfg,
72 cspace,
73 dcdStep,
74 maximalPlanningTimeInSeconds,
75 planningComputingPowerRequestStrategy)
76 {
77 }
78
79 protected:
80 /**
81 * @brief ctor used for object factories
82 */
84 };
85} // namespace armarx::cprs
MotionPlanningTaskWithDefaultMembers(const VectorXf &startCfg, const VectorXf &goalCfg, const CSpaceBasePtr &cspace, Ice::Float dcdStep, Ice::Long maximalPlanningTimeInSeconds, const std::string &taskName)
ctor
Implementation of the slice interface CPRSAwarePlanningTaskBase.
CPRSAwareMotionPlanningTask()=default
ctor used for object factories
CPRSAwareMotionPlanningTask(const VectorXf &startCfg, const VectorXf &goalCfg, const CSpaceBasePtr &cspace, Ice::Float dcdStep, Ice::Long maximalPlanningTimeInSeconds, const cprs::ComputingPowerRequestStrategyBasePtr &planningComputingPowerRequestStrategy, const std::string &taskName)
ctor
IceInternal::Handle< CPRSAwareMotionPlanningTask > CPRSAwareMotionPlanningTaskPtr
An ice handel for a CPRSAwarePlanningTask.