Main Page
Namespaces
Classes
Files
File List
File Members
include
motoman_driver
industrial_robot_client
robot_group.h
Go to the documentation of this file.
1
/*
2
* Software License Agreement (BSD License)
3
*
4
* Copyright (c) 2014, Fraunhofer IPA
5
* Author: Thiago de Freitas
6
*
7
* All rights reserved.
8
*
9
* Redistribution and use in source and binary forms, with or without
10
* modification, are permitted provided that the following conditions are met:
11
*
12
* * Redistributions of source code must retain the above copyright
13
* notice, this list of conditions and the following disclaimer.
14
* * Redistributions in binary form must reproduce the above copyright
15
* notice, this list of conditions and the following disclaimer in the
16
* documentation and/or other materials provided with the distribution.
17
* * Neither the name of the Fraunhofer IPA, nor the names
18
* of its contributors may be used to endorse or promote products derived
19
* from this software without specific prior written permission.
20
*
21
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
25
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31
* POSSIBILITY OF SUCH DAMAGE.
32
*/
33
34
#ifndef MOTOMAN_DRIVER_INDUSTRIAL_ROBOT_CLIENT_ROBOT_GROUP_H
35
#define MOTOMAN_DRIVER_INDUSTRIAL_ROBOT_CLIENT_ROBOT_GROUP_H
36
37
#include <vector>
38
#include <string>
39
40
class
RobotGroup
41
{
42
public
:
43
RobotGroup
() {}
44
45
std::vector<std::string>
get_joint_names
()
46
{
47
return
this->
joint_names_
;
48
}
49
50
std::string
get_name
()
51
{
52
return
this->
name_
;
53
}
54
55
std::string
get_ns
()
56
{
57
return
this->
ns_
;
58
}
59
60
int
get_group_id
()
61
{
62
return
this->
group_id_
;
63
}
64
65
void
set_name
(std::string name)
66
{
67
this->
name_
= name;
68
}
69
70
void
set_ns
(std::string ns)
71
{
72
this->
ns_
= ns;
73
}
74
75
void
set_group_id
(
int
gid)
76
{
77
this->
group_id_
= gid;
78
}
79
80
81
void
set_joint_names
(std::vector<std::string> jnames)
82
{
83
this->
joint_names_
= jnames;
84
}
85
86
protected
:
87
std::vector<std::string>
joint_names_
;
88
int
group_id_
;
89
std::string
name_
;
90
std::string
ns_
;
91
};
92
93
#endif // MOTOMAN_DRIVER_INDUSTRIAL_ROBOT_CLIENT_ROBOT_GROUP_H
RobotGroup::set_group_id
void set_group_id(int gid)
Definition:
robot_group.h:75
RobotGroup::joint_names_
std::vector< std::string > joint_names_
Definition:
robot_group.h:87
RobotGroup::ns_
std::string ns_
Definition:
robot_group.h:90
RobotGroup::RobotGroup
RobotGroup()
Definition:
robot_group.h:43
RobotGroup::group_id_
int group_id_
Definition:
robot_group.h:88
RobotGroup::set_name
void set_name(std::string name)
Definition:
robot_group.h:65
RobotGroup::name_
std::string name_
Definition:
robot_group.h:89
RobotGroup::get_group_id
int get_group_id()
Definition:
robot_group.h:60
RobotGroup::set_joint_names
void set_joint_names(std::vector< std::string > jnames)
Definition:
robot_group.h:81
RobotGroup::get_name
std::string get_name()
Definition:
robot_group.h:50
RobotGroup::set_ns
void set_ns(std::string ns)
Definition:
robot_group.h:70
RobotGroup::get_ns
std::string get_ns()
Definition:
robot_group.h:55
RobotGroup::get_joint_names
std::vector< std::string > get_joint_names()
Definition:
robot_group.h:45
RobotGroup
Definition:
robot_group.h:40
motoman_driver
Author(s): Jeremy Zoss (Southwest Research Institute), Ted Miller (MotoROS) (Yaskawa Motoman), Eric Marcil (MotoROS) (Yaskawa Motoman)
autogenerated on Sat May 8 2021 02:27:44