forked from ros-industrial/abb_egm_rws_managers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
robot_controller_description.proto
224 lines (194 loc) · 5.7 KB
/
robot_controller_description.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
//======================================================================================================================
//
// Messages for structuring key information about an ABB robot controller
//
//======================================================================================================================
syntax = "proto2";
package abb.robot;
//======================================================================================================================
//
// Primary messages
//
//======================================================================================================================
message Header
{
optional string ip_address = 1;
optional uint32 rws_port_number = 2;
optional RobotWareVersion robot_ware_version = 3;
optional string system_name = 4;
optional string system_type = 5;
repeated string options = 6;
}
message RobotControllerDescription
{
optional Header header = 1;
optional SystemIndicators system_indicators = 2;
repeated MechanicalUnitGroup mechanical_units_groups = 3;
repeated RAPIDTask rapid_tasks = 4;
}
//======================================================================================================================
//
// Auxiliary messages
//
//======================================================================================================================
message RobotWareVersion
{
optional string name = 1;
optional uint32 major_number = 2;
optional uint32 minor_number = 3;
optional uint32 patch_number = 4;
}
message Cartesian
{
optional double x = 1;
optional double y = 2;
optional double z = 3;
}
// Note: The quaternion is defined as: q1 + q2*i + q3*j + q4*k.
message Quaternion
{
optional double q1 = 1;
optional double q2 = 2;
optional double q3 = 3;
optional double q4 = 4;
}
message Pose
{
optional Cartesian position = 1;
optional Quaternion rotation = 2;
}
//==========================================================
//
// System indicator messages
//
//==========================================================
message RobotIndicators
{
optional bool irb14000 = 1;
}
message OptionIndicators
{
optional bool egm = 1;
optional bool leadthrough = 2;
optional bool multimove = 3;
}
message AddInIndicators
{
optional bool smart_gripper = 1;
optional bool state_machine_1_0 = 2;
optional bool state_machine_1_1 = 3;
}
message SystemIndicators
{
optional RobotIndicators robots = 1;
optional OptionIndicators options = 2;
optional AddInIndicators addins = 3;
}
//==========================================================
//
// Mechanical unit group messages
//
//==========================================================
message Transmission
{
optional string name = 1;
optional bool rotating_move = 2;
}
message Arm
{
optional string name = 1;
optional double lower_joint_bound = 2;
optional double upper_joint_bound = 3;
}
message Joint
{
optional string name = 1;
optional int32 logical_axis = 2;
optional int32 kinematic_axis_number = 3;
optional Arm arm = 4;
optional Transmission transmission = 5;
}
message StandardizedJoint
{
optional string original_name = 1;
optional string standardized_name = 2;
optional bool rotating_move = 3;
optional double lower_joint_bound = 4;
optional double upper_joint_bound = 5;
}
message Single
{
optional string name = 1;
optional string type = 2;
optional Joint joint = 3;
optional Pose base_frame = 4;
optional string base_frame_moved_by = 5;
}
message Robot
{
optional string name = 1;
optional string type = 2;
repeated Joint joints = 3;
optional Pose base_frame = 4;
optional string base_frame_moved_by = 5;
}
message MechanicalUnit
{
enum Type
{
UNDEFINED = 0;
NONE = 1;
TCP_ROBOT = 2;
ROBOT = 3;
SINGLE = 4;
}
enum Mode
{
DEACTIVATED = 0;
ACTIVATED = 1;
}
optional string name = 1;
optional Robot robot = 2;
repeated Single singles = 3;
optional Type type = 4 [default = UNDEFINED];
optional string task_name = 5;
optional int32 axes = 6;
optional int32 axes_total = 7;
optional string is_integrated_unit = 8;
optional string has_integrated_unit = 9;
optional string status = 10;
optional Mode mode = 11 [default = DEACTIVATED];
repeated StandardizedJoint standardized_joints = 12;
}
message MechanicalUnitGroup
{
optional string name = 1;
optional MechanicalUnit robot = 2;
repeated MechanicalUnit mechanical_units = 3;
}
//==========================================================
//
// RAPID task messages
//
//==========================================================
message RAPIDModule
{
optional string name = 1;
optional string type = 2;
}
message RAPIDTask
{
enum ExecutionState
{
UNKNOWN = 1;
READY = 2;
STOPPED = 3;
STARTED = 4;
UNINITIALIZED = 5;
}
optional string name = 1;
optional bool is_motion_task = 2;
optional bool is_active = 3;
optional ExecutionState execution_state = 4 [default = UNKNOWN];
repeated RAPIDModule modules = 5;
}