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 <memory>
26 
27 #include <RobotAPI/interface/aron/Aron.h>
29 
31 
32 // TODO remove these headers once ARON types are used as params
38 
39 
41 {
43  {
44  // if the desired velocity is below this threshold, the platform will not be moved
46 
47  //! max ...
49 
50  virtual ~GeneralConfig() = default;
51 
52  virtual aron::data::DictPtr toAron() const;
53  };
54 
56  {
57  public:
58  NavigationStackConfig() = default;
59  virtual ~NavigationStackConfig() = default;
60 
62 
64 
66 
69 
71 
73 
74  //! checks if at least global planner and trajectory controller are set
75  bool isValid() const;
76 
77  protected:
78  private:
79  aron::data::Dict dict;
80  };
81 } // namespace armarx::navigation::client
armarx::navigation::client::NavigationStackConfig::toAron
aron::data::dto::DictPtr toAron() const
Definition: NavigationStackConfig.cpp:27
TrajectoryController.h
LocalPlanner.h
armarx::navigation::global_planning::GlobalPlannerParams
Parameters for GlobalPlanner.
Definition: GlobalPlanner.h:48
armarx::navigation::client::NavigationStackConfig::NavigationStackConfig
NavigationStackConfig()=default
armarx::navigation::client
This file is part of ArmarX.
Definition: ComponentPlugin.cpp:20
armarx::navigation::client::NavigationStackConfig
Definition: NavigationStackConfig.h:55
armarx::navigation::client::NavigationStackConfig::globalPlanner
NavigationStackConfig & globalPlanner(const global_planning::GlobalPlannerParams &params)
Definition: NavigationStackConfig.cpp:63
armarx::navigation::traj_ctrl::local::TrajectoryControllerParams
Definition: TrajectoryController.h:48
Dict.h
TrajectoryController.h
armarx::navigation::client::NavigationStackConfig::isValid
bool isValid() const
checks if at least global planner and trajectory controller are set
Definition: NavigationStackConfig.cpp:35
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
armarx::navigation::client::GeneralConfig::minVel
core::VelocityLimits minVel
Definition: NavigationStackConfig.h:45
GlobalPlanner.h
armarx::navigation::safe_ctrl::SafetyControllerParams
Definition: SafetyController.h:44
armarx::aron::data::DictPtr
std::shared_ptr< Dict > DictPtr
Definition: Dict.h:41
armarx::navigation::client::NavigationStackConfig::safetyController
NavigationStackConfig & safetyController(const safe_ctrl::SafetyControllerParams &params)
Definition: NavigationStackConfig.cpp:106
armarx::navigation::core::VelocityLimits
Definition: types.h:54
armarx::navigation::client::GeneralConfig::toAron
virtual aron::data::DictPtr toAron() const
Definition: NavigationStackConfig.cpp:20
armarx::navigation::client::GeneralConfig::maxVel
core::VelocityLimits maxVel
max ...
Definition: NavigationStackConfig.h:48
armarx::navigation::client::NavigationStackConfig::localPlanner
NavigationStackConfig & localPlanner(const local_planning::LocalPlannerParams &params)
Definition: NavigationStackConfig.cpp:77
armarx::navigation::client::GeneralConfig
Definition: NavigationStackConfig.h:42
types.h
armarx::aron::data::Dict
Definition: Dict.h:44
armarx::navigation::client::NavigationStackConfig::trajectoryController
NavigationStackConfig & trajectoryController(const traj_ctrl::local::TrajectoryControllerParams &params)
Definition: NavigationStackConfig.cpp:91
armarx::navigation::client::NavigationStackConfig::general
NavigationStackConfig & general(const GeneralConfig &cfg)
Definition: NavigationStackConfig.cpp:56
SafetyController.h