hebiros_services_physical.h
Go to the documentation of this file.
1 #ifndef HEBIROS_SERVICES_PHYSICAL_H
2 #define HEBIROS_SERVICES_PHYSICAL_H
3 
4 #include "ros/ros.h"
5 
6 #include "hebiros/EntryListSrv.h"
7 #include "hebiros/AddGroupFromNamesSrv.h"
8 #include "hebiros/AddGroupFromURDFSrv.h"
9 #include "hebiros/SizeSrv.h"
10 #include "hebiros/SetFeedbackFrequencySrv.h"
11 #include "hebiros/SetCommandLifetimeSrv.h"
12 #include "hebiros/SendCommandWithAcknowledgementSrv.h"
13 
14 #include "hebiros_services.h"
15 #include "lookup.hpp"
16 
17 using namespace hebi;
18 using namespace hebiros;
19 
20 
22 
23  public:
24 
26 
27  void registerNodeServices();
28 
29  void registerGroupServices(std::string group_name);
30 
31  bool entryList(
32  EntryListSrv::Request &req, EntryListSrv::Response &res);
33 
34  bool addGroup(
35  AddGroupFromNamesSrv::Request &req, AddGroupFromNamesSrv::Response &res,
36  std::map<std::string, std::string> joint_full_names);
37 
38  bool addGroupFromNames(
39  AddGroupFromNamesSrv::Request &req, AddGroupFromNamesSrv::Response &res);
40 
41  bool addGroupFromURDF(
42  AddGroupFromURDFSrv::Request &req, AddGroupFromURDFSrv::Response &res);
43 
44  bool addModelFromURDF(
45  AddModelFromURDFSrv::Request &req, AddModelFromURDFSrv::Response &res);
46 
47  bool size(
48  SizeSrv::Request &req, SizeSrv::Response &res, std::string group_name);
49 
50  bool setFeedbackFrequency(
51  SetFeedbackFrequencySrv::Request &req, SetFeedbackFrequencySrv::Response &res,
52  std::string group_name);
53 
54  bool setCommandLifetime(
55  SetCommandLifetimeSrv::Request &req, SetCommandLifetimeSrv::Response &res,
56  std::string group_name);
57 
58  bool sendCommandWithAcknowledgement(
59  SendCommandWithAcknowledgementSrv::Request &req,
60  SendCommandWithAcknowledgementSrv::Response &res, std::string group_name);
61 };
62 
63 #endif
Definition: color.hpp:5
static constexpr size_t size(Tuple< Args... > &)
Provides access to the number of elements in a tuple as a compile-time constant expression.
Maintains a registry of network-connected modules and returns Group objects to the user...
Definition: lookup.hpp:34


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:08:14