NavigationStackConfig.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  * @author Fabian Reister ( fabian dot reister at kit dot edu )
17  * @author Christian R. G. Dreher ( c dot dreher at kit dot edu )
18  * @date 2021
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
23 #pragma once
24 
25 #include <RobotAPI/interface/aron/Aron.h>
27 
33 
35 {
37  {
38  // if the desired velocity is below this threshold, the platform will not be moved
39  core::TwistLimits minVel{.linear = 0.F, .angular = 0.F};
40 
41  //! max ...
43 
44  virtual ~GeneralConfig() = default;
45 
46  virtual aron::data::DictPtr toAron() const;
47  };
48 
50  {
51  public:
52  NavigationStackConfig() = default;
53  virtual ~NavigationStackConfig() = default;
54 
56 
58 
60 
63 
65 
67 
68  //! checks if at least global planner and trajectory controller are set
69  bool isValid() const;
70 
71  protected:
72  private:
73  aron::data::Dict dict;
74  };
75 } // namespace armarx::navigation::client
armarx::navigation::client::NavigationStackConfig::toAron
aron::data::dto::DictPtr toAron() const
Definition: NavigationStackConfig.cpp:32
TrajectoryController.h
LocalPlanner.h
armarx::navigation::global_planning::GlobalPlannerParams
Parameters for GlobalPlanner.
Definition: GlobalPlanner.h:47
armarx::navigation::client::NavigationStackConfig::NavigationStackConfig
NavigationStackConfig()=default
armarx::navigation::client::GeneralConfig::maxVel
core::TwistLimits maxVel
max ...
Definition: NavigationStackConfig.h:42
armarx::navigation::core::TwistLimits::linear
float linear
Definition: types.h:82
armarx::navigation::client
This file is part of ArmarX.
Definition: ComponentPlugin.cpp:21
armarx::navigation::client::NavigationStackConfig
Definition: NavigationStackConfig.h:49
armarx::navigation::client::NavigationStackConfig::globalPlanner
NavigationStackConfig & globalPlanner(const global_planning::GlobalPlannerParams &params)
Definition: NavigationStackConfig.cpp:68
armarx::navigation::traj_ctrl::local::TrajectoryControllerParams
Definition: TrajectoryController.h:48
IceInternal::Handle
Definition: forward_declarations.h:8
armarx::navigation::client::NavigationStackConfig::isValid
bool isValid() const
checks if at least global planner and trajectory controller are set
Definition: NavigationStackConfig.cpp:40
armarx::navigation::client::GeneralConfig::~GeneralConfig
virtual ~GeneralConfig()=default
armarx::navigation::local_planning::LocalPlannerParams
Definition: LocalPlanner.h:45
armarx::navigation::client::NavigationStackConfig::~NavigationStackConfig
virtual ~NavigationStackConfig()=default
forward_declarations.h
armarx::navigation::core::TwistLimits
Definition: types.h:80
GlobalPlanner.h
armarx::navigation::client::NavigationStackConfig::safetyGuard
NavigationStackConfig & safetyGuard(const safety_guard::SafetyGuardParams &params)
Definition: NavigationStackConfig.cpp:113
armarx::aron::data::DictPtr
std::shared_ptr< Dict > DictPtr
Definition: Dict.h:41
armarx::navigation::safety_guard::SafetyGuardParams
Definition: SafetyGuard.h:65
armarx::navigation::client::GeneralConfig::minVel
core::TwistLimits minVel
Definition: NavigationStackConfig.h:39
armarx::navigation::client::GeneralConfig::toAron
virtual aron::data::DictPtr toAron() const
Definition: NavigationStackConfig.cpp:25
armarx::navigation::client::NavigationStackConfig::localPlanner
NavigationStackConfig & localPlanner(const local_planning::LocalPlannerParams &params)
Definition: NavigationStackConfig.cpp:83
armarx::navigation::client::GeneralConfig
Definition: NavigationStackConfig.h:36
types.h
armarx::aron::data::Dict
Definition: Dict.h:44
SafetyGuard.h
armarx::navigation::client::NavigationStackConfig::trajectoryController
NavigationStackConfig & trajectoryController(const traj_ctrl::local::TrajectoryControllerParams &params)
Definition: NavigationStackConfig.cpp:97
armarx::navigation::client::NavigationStackConfig::general
NavigationStackConfig & general(const GeneralConfig &cfg)
Definition: NavigationStackConfig.cpp:61