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 
30 namespace armarx::cprs
31 {
32  class CPRSAwareMotionPlanningTask;
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  ):
63  MotionPlanningTaskBase(taskName),
64  MotionPlanningTaskWithDefaultMembers(startCfg, goalCfg, cspace, dcdStep, maximalPlanningTimeInSeconds, taskName),
65  CPRSAwareMotionPlanningTaskBase(
66  taskName, startCfg, goalCfg, cspace, dcdStep, maximalPlanningTimeInSeconds,
67  planningComputingPowerRequestStrategy)
68  {
69  }
70 
71  protected:
72  /**
73  * @brief ctor used for object factories
74  */
75  CPRSAwareMotionPlanningTask() = default;
76  };
77 }
78 
armarx::VariantType::Float
const VariantTypeId Float
Definition: Variant.h:918
armarx::MotionPlanningTaskWithDefaultMembers
Definition: MotionPlanningTask.h:142
armarx::cprs
Definition: ComputingPowerRequestStrategy.h:34
armarx::cprs::CPRSAwareMotionPlanningTask
Implementation of the slice interface CPRSAwarePlanningTaskBase.
Definition: CPRSAwareMotionPlanningTask.h:41
IceInternal::Handle
Definition: forward_declarations.h:8
MotionPlanningTask.h
armarx::VariantType::Long
const VariantTypeId Long
Definition: Variant.h:917
armarx::cprs::CPRSAwareMotionPlanningTask::CPRSAwareMotionPlanningTask
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
Definition: CPRSAwareMotionPlanningTask.h:54
armarx::cprs::CPRSAwareMotionPlanningTask::CPRSAwareMotionPlanningTask
CPRSAwareMotionPlanningTask()=default
ctor used for object factories