Follower.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
RobotAPI/libraries/skills/provider/SpecializedSkill.h
>
4
#include <
RobotAPI/libraries/skills/provider/mixins/RobotReadingSkillMixin.h
>
5
6
#include <
armarx/control/client/ComponentPlugin.h
>
7
// #include <armarx/control/njoint_controller/platform/platform_follower_controller/aron/PlatformFollowerControllerConfig.aron.generated.h>
8
#include <
RobotAPI/libraries/skills/provider/SimpleSpecializedSkill.h
>
9
10
#include <armarx/control/skills/skills/platform_follower_controller/aron/FollowerParams.aron.generated.h>
11
12
namespace
armarx::control::skills::skills::platform_follower_controller
13
{
14
15
/**
16
* @class Follower
17
* @ingroup Library-follower
18
* @brief Brief description of class follower.
19
*
20
* Detailed description of class follower.
21
*/
22
class
Follower
:
public
::armarx::skills::SimpleSpecializedSkill
<arondto::FollowerParams>
//,
23
// public ::armarx::skills::mixin::RobotReadingSkillMixin
24
{
25
public
:
26
static ::armarx::skills::SkillDescription
GetSkillDescription
();
27
28
struct
Services
29
{
30
armarx::armem::client::MemoryNameSystem
&
mns
;
31
::armarx::control::client::ComponentPlugin
*
controlComponentPlugin
;
32
armem::robot_state::VirtualRobotReader
robotReader
;
33
};
34
35
struct
Parameters
36
{
37
std::string
robotName
;
38
};
39
40
Follower
(
const
Services
& services,
const
Parameters
&
parameters
);
41
42
private
:
43
// SpecializedSkill interface
44
// Enable each function you want to override.
45
// bool isAvailable(const SpecializedInitInput&) const override;
46
// ::armarx::skills::Skill::InitResult init(const SpecializedInitInput&) override;
47
48
using
Base::main
;
49
50
::armarx::skills::Skill::MainResult
main
(
const
SpecializedMainInput& in)
override
;
51
// ::armarx::skills::Skill::ExitResult exit(const SpecializedExitInput&) override;
52
53
Services
services_;
54
Parameters
parameters_;
55
};
56
57
}
// namespace armarx::control::skills::skills::platform_follower_controller
armarx::armem::robot_state::VirtualRobotReader
The VirtualRobotReader class.
Definition:
VirtualRobotReader.h:39
armarx::skills::Skill::parameters
armarx::aron::data::DictPtr parameters
Definition:
Skill.h:297
armarx::control::skills::skills::platform_follower_controller::Follower::Services
Definition:
Follower.h:28
armarx::control::skills::skills::platform_follower_controller::Follower::Parameters::robotName
std::string robotName
Definition:
Follower.h:37
armarx::control::skills::skills::platform_follower_controller::Follower::GetSkillDescription
::armarx::skills::SkillDescription GetSkillDescription()
Definition:
Follower.cpp:26
SimpleSpecializedSkill.h
armarx::control::client::ComponentPlugin
Definition:
ComponentPlugin.h:68
armarx::control::skills::skills::platform_follower_controller::Follower::Services::controlComponentPlugin
::armarx::control::client::ComponentPlugin * controlComponentPlugin
Definition:
Follower.h:31
RobotReadingSkillMixin.h
armarx::control::skills::skills::platform_follower_controller::Follower::Services::mns
armarx::armem::client::MemoryNameSystem & mns
Definition:
Follower.h:30
armarx::skills::SimpleSpecializedSkill
Definition:
SimpleSpecializedSkill.h:10
armarx::skills::Skill::MainResult
A result struct for th main method of a skill.
Definition:
Skill.h:39
armarx::control::skills::skills::platform_follower_controller::Follower::Follower
Follower(const Services &services, const Parameters ¶meters)
Definition:
Follower.cpp:44
armarx::control::skills::skills::platform_follower_controller::Follower::Parameters
Definition:
Follower.h:35
armarx::skills::SimpleSpecializedSkill< arondto::FollowerParams >::main
Skill::MainResult main() final
Definition:
SimpleSpecializedSkill.h:71
armarx::control::skills::skills::platform_follower_controller::Follower
Brief description of class follower.
Definition:
Follower.h:22
armarx::armem::client::MemoryNameSystem
The memory name system (MNS) client.
Definition:
MemoryNameSystem.h:68
armarx::skills::Skill::main
virtual MainResult main()
Override this method with the actual implementation. The callback is for status updates to the callin...
Definition:
Skill.cpp:458
ComponentPlugin.h
SpecializedSkill.h
armarx::control::skills::skills::platform_follower_controller::Follower::Services::robotReader
armem::robot_state::VirtualRobotReader robotReader
Definition:
Follower.h:32
armarx::control::skills::skills::platform_follower_controller
Definition:
Follower.cpp:22
armarx
control
skills
skills
platform_follower_controller
Follower.h
Generated on Sat Mar 29 2025 09:17:35 for armarx_documentation by
1.8.17