NavigateToNamedLocation.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  * @date 2023
18  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19  * GNU General Public License
20  */
21 
22 #pragma once
23 
26 
28 #include <armarx/navigation/skills/aron/NavigateToNamedLocation.aron.generated.h>
29 
31 {
32  /**
33  * @class NavigateToNamedLocation
34  * @ingroup Library-armarx_navigation_skills
35  *
36  * @brief Resolve a named location and navigate to it.
37  *
38  * Subskills:
39  * - armarx::navigation::skills::NavigateToLocation
40  */
43  arondto::NavigateToNamedLocationParams>
44  {
45  public:
46  using Params = arondto::NavigateToNamedLocationParams;
48 
49  static ::armarx::skills::SkillDescription GetSkillDescription();
50 
51  struct Services
52  {
54  };
55 
56  struct Properties
57  {
58  struct SubSkillIds
59  {
60  SubSkillIds();
61 
63  };
64 
66  };
67 
68  NavigateToNamedLocation(const Properties& properties, const Services& services);
69 
70  private:
71  // SpecializedSkill interface
72  // Enable each function you want to override.
73  // bool isAvailable(const SpecializedInitInput&) const override;
74  // ::armarx::skills::Skill::InitResult init(const SpecializedInitInput&) override;
75  ::armarx::skills::Skill::MainResult main(const SpecializedMainInput& in) override;
76  // ::armarx::skills::Skill::ExitResult exit(const SpecializedExitInput&) override;
77 
78 
79  protected:
80  private:
81  Services services;
82  Properties properties;
83  };
84 
85 } // namespace armarx::navigation::skills
armarx::navigation::skills::NavigateToNamedLocation::Properties::SubSkillIds::SubSkillIds
SubSkillIds()
Definition: NavigateToNamedLocation.cpp:42
Reader.h
armarx::navigation::skills::NavigateToNamedLocation::Services::locationReader
armarx::navigation::memory::client::graph::Reader locationReader
Definition: NavigateToNamedLocation.h:53
armarx::navigation::skills::NavigateToNamedLocation::Params
arondto::NavigateToNamedLocationParams Params
Definition: NavigateToNamedLocation.h:46
armarx::navigation::skills::NavigateToNamedLocation::Services
Definition: NavigateToNamedLocation.h:51
SimpleSpecializedSkill.h
armarx::navigation::skills::NavigateToNamedLocation::GetSkillDescription
::armarx::skills::SkillDescription GetSkillDescription()
Definition: NavigateToNamedLocation.cpp:16
armarx::navigation::skills::NavigateToNamedLocation
Resolve a named location and navigate to it.
Definition: NavigateToNamedLocation.h:41
armarx::skills::SimpleSpecializedSkill
Definition: SimpleSpecializedSkill.h:10
armarx::skills::Skill::MainResult
A result struct for th main method of a skill.
Definition: Skill.h:48
armarx::navigation::skills::NavigateToNamedLocation::Properties::subSkillIDs
SubSkillIds subSkillIDs
Definition: NavigateToNamedLocation.h:65
armarx::skills::SimpleSpecializedSkill< arondto::NavigateToNamedLocationParams >::main
Skill::MainResult main() final
Definition: SimpleSpecializedSkill.h:71
armarx::navigation::skills::NavigateToNamedLocation::Properties::SubSkillIds::navigateToLocation
armarx::skills::SkillID navigateToLocation
Definition: NavigateToNamedLocation.h:62
armarx::navigation::skills::NavigateToNamedLocation::Properties
Definition: NavigateToNamedLocation.h:56
armarx::navigation::skills::NavigateToNamedLocation::Properties::SubSkillIds
Definition: NavigateToNamedLocation.h:58
armarx::skills::SkillID
Definition: SkillID.h:17
Reader.h
armarx::navigation::memory::client::graph::Reader
Definition: Reader.h:46
armarx::navigation::skills
Definition: constants.cpp:25
armarx::navigation::skills::NavigateToNamedLocation::NavigateToNamedLocation
NavigateToNamedLocation(const Properties &properties, const Services &services)
Definition: NavigateToNamedLocation.cpp:47