RetrieveHand.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <armarx/control/retrieve_hand/aron/RetrieveHandParams.aron.generated.h>
7
9{
10
11 /**
12 * @class RetrieveHand
13 * @ingroup Library-retrieve_hand
14 * @brief Brief description of class retrieve_hand.
15 *
16 * Detailed description of class retrieve_hand.
17 */
18 class RetrieveHand : public ::armarx::skills::SimpleSpecializedSkill<RetrieveHandParams>
19 {
20 public:
22 static ::armarx::skills::SkillDescription GetSkillDescription();
23
31
33 {
34 std::string robotName;
35 // std::string robotNodeSet;
36 // std::optional<armarx::ObjectID> objectId = std::nullopt;
37 };
38
39 RetrieveHand(const Remote& r);
40
41 struct Subskills
42 {
43 std::function<bool(const Eigen::Vector3f&)> lookAt;
44 std::function<bool()> openHand;
45 std::function<bool()> closeHand;
46 };
47
48 using Base::main;
49
50 // SpecializedSkill interface
51 // Enable each function you want to override.
52 // ::armarx::skills::Skill::InitResult init(const SpecializedInitInput&) override;
53 ::armarx::skills::Skill::MainResult main(const SpecializedMainInput& in) override;
54
55 void onStopRequested() override;
56
57 private:
58 Remote remote;
59 Properties properties;
60 // ::armarx::skills::Skill::ExitResult exit(const SpecializedExitInput&) override;
61
62 std::unique_ptr<armarx::control::retrieve_hand::core::RetrieveHand> impl;
63 };
64
65} // namespace armarx::control::retrieve_hand::skills
The memory name system (MNS) client.
Skill::MainResult main() final
Override this method with the actual implementation.
::armarx::skills::SkillDescription GetSkillDescription()
::armarx::skills::SimpleSpecializedSkill< RetrieveHandParams > Base
virtual Skill::MainResult main(const SpecializedMainInput &)
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotUnitInterface > RobotUnitInterfacePrx
armarx::armem::client::MemoryNameSystem & memoryNameSystem
std::function< bool(const Eigen::Vector3f &)> lookAt
A result struct for th main method of a skill.
Definition Skill.h:62