RotateTowardsLocation.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 Niklas Arlt ( niklas dot arlt at kit dot edu )
17 * @date 2025
18 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19 * GNU General Public License
20 */
21
22#pragma once
23
28
31#include <armarx/navigation/skills/aron/RotateTowardsLocation.aron.generated.h>
32
34{
35 /**
36 * @class RotateTowardsLocation
37 * @ingroup Library-armarx_navigation_skills
38 *
39 * @brief Resolve a named location and rotate towards it.
40 *
41 * Subskills:
42 * - armarx::navigation::skills::RotateTowards
43 */
45 virtual public armarx::skills::SimpleSpecializedSkill<arondto::RotateTowardsLocationParams>
46 {
47 public:
48 using Params = arondto::RotateTowardsLocationParams;
50
51 static ::armarx::skills::SkillDescription GetSkillDescription();
52
57
69
70 RotateTowardsLocation(const Properties& properties, const Services& services);
71
72
73 private:
74 // SpecializedSkill interface
75 // Enable each function you want to override.
76 // bool isAvailable(const SpecializedInitInput&) const override;
77 // ::armarx::skills::Skill::InitResult init(const SpecializedInitInput&) override;
78 using Base::main;
79 ::armarx::skills::Skill::MainResult main(const SpecializedMainInput& in) override;
80 // ::armarx::skills::Skill::ExitResult exit(const SpecializedExitInput&) override;
81
82
83 protected:
84 private:
85 Services services_;
86 Properties properties_;
87 };
88
89} // namespace armarx::navigation::skills
::armarx::skills::SkillDescription GetSkillDescription()
::armarx::skills::SimpleSpecializedSkill< Params > Base
RotateTowardsLocation(const Properties &properties, const Services &services)
virtual Skill::MainResult main(const SpecializedMainInput &)
armarx::navigation::memory::client::graph::Reader & locationReader
A result struct for th main method of a skill.
Definition Skill.h:62