Follower.h
Go to the documentation of this file.
1 #pragma once
2 
5 
7 // #include <armarx/control/njoint_controller/platform/platform_follower_controller/aron/PlatformFollowerControllerConfig.aron.generated.h>
8 #include <armarx/control/skills/skills/platform_follower_controller/aron/FollowerParams.aron.generated.h>
10 
12 {
13 
14  /**
15  * @class Follower
16  * @ingroup Library-follower
17  * @brief Brief description of class follower.
18  *
19  * Detailed description of class follower.
20  */
21  class Follower :
22  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  {
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  ::armarx::skills::Skill::MainResult main(const SpecializedMainInput& in) override;
48  // ::armarx::skills::Skill::ExitResult exit(const SpecializedExitInput&) override;
49 
50  Services services_;
51  Parameters parameters_;
52  };
53 
54 } // namespace armarx::control::skills::skills::platform_follower_controller
armarx::armem::robot_state::VirtualRobotReader
The VirtualRobotReader class.
Definition: VirtualRobotReader.h:40
armarx::skills::Skill::parameters
armarx::aron::data::DictPtr parameters
Definition: Skill.h:333
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:69
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:48
armarx::control::skills::skills::platform_follower_controller::Follower::Follower
Follower(const Services &services, const Parameters &parameters)
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:21
armarx::armem::client::MemoryNameSystem
The memory name system (MNS) client.
Definition: MemoryNameSystem.h:69
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