AUBO SDK  0.26.0
Loading...
Searching...
No Matches
robot_state.h
Go to the documentation of this file.
1/** @file robot_state.h
2 * @brief 获取机器人状态接口,如关节速度、关节角度、固件/硬件版本
3 */
4#ifndef AUBO_SDK_ROBOT_STATE_INTERFACE_H
5#define AUBO_SDK_ROBOT_STATE_INTERFACE_H
6
7#include <vector>
8
9#include <aubo/global_config.h>
10#include <aubo/type_def.h>
11
12namespace arcs {
13namespace common_interface {
14
15class ARCS_ABI_EXPORT RobotState
16{
17public:
19 virtual ~RobotState();
20
21 /**
22 * \chinese
23 * 获取机器人的模式状态
24 *
25 * @return 机器人的模式状态
26 *
27 * @throws arcs::common_interface::AuboException
28 *
29 * @par Python函数原型
30 * getRobotModeType(self: pyaubo_sdk.RobotState) ->
31 * arcs::common_interface::RobotModeType
32 *
33 * @par Lua函数原型
34 * getRobotModeType() -> number
35 *
36 * @par Lua示例
37 * RobotModeType = getRobotModeType()
38 *
39 * @par JSON-RPC请求示例
40 * {"jsonrpc":"2.0","method":"rob1.RobotState.getRobotModeType","params":[],"id":1}
41 *
42 * @par JSON-RPC响应示例
43 * {"id":1,"jsonrpc":"2.0","result":"Running"}
44 *
45 *\endchinese
46 *\english
47 * Get the robot mode state
48 *
49 * @return The robot's mode state
50 *
51 * @throws arcs::common_interface::AuboException
52 *
53 * @par Python function prototype
54 * getRobotModeType(self: pyaubo_sdk.RobotState) ->
55 * arcs::common_interface::RobotModeType
56 *
57 * @par Lua function prototype
58 * getRobotModeType() -> number
59 *
60 * @par Lua example
61 * RobotModeType = getRobotModeType()
62 *
63 * @par JSON-RPC request example
64 * {"jsonrpc":"2.0","method":"rob1.RobotState.getRobotModeType","params":[],"id":1}
65 *
66 * @par JSON-RPC response example
67 * {"id":1,"jsonrpc":"2.0","result":"Running"}
68 *\endenglish
69 */
70
72
73 /**
74 * \chinese
75 * 获取安全模式
76 *
77 * @return 安全模式
78 *
79 * @throws arcs::common_interface::AuboException
80 *
81 * @par Python函数原型
82 * getSafetyModeType(self: pyaubo_sdk.RobotState) ->
83 * arcs::common_interface::SafetyModeType
84 *
85 * @par Lua函数原型
86 * getSafetyModeType() -> number
87 *
88 * @par Lua示例
89 * SafetyModeType = getSafetyModeType()
90 *
91 * @par JSON-RPC请求示例
92 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSafetyModeType","params":[],"id":1}
93 *
94 * @par JSON-RPC响应示例
95 * {"id":1,"jsonrpc":"2.0","result":"Normal"}
96 * \endchinese
97 * \english
98 * Get the safety mode
99 *
100 * @return The safety mode
101 *
102 * @throws arcs::common_interface::AuboException
103 *
104 * @par Python function prototype
105 * getSafetyModeType(self: pyaubo_sdk.RobotState) ->
106 * arcs::common_interface::SafetyModeType
107 *
108 * @par Lua function prototype
109 * getSafetyModeType() -> number
110 *
111 * @par Lua example
112 * SafetyModeType = getSafetyModeType()
113 *
114 * @par JSON-RPC request example
115 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSafetyModeType","params":[],"id":1}
116 *
117 * @par JSON-RPC response example
118 * {"id":1,"jsonrpc":"2.0","result":"Normal"}
119 * \endenglish
120 */
122
123 /**
124 * \chinese
125 * 获取机器人通电状态
126 *
127 * @return 机器人通电返回 true; 反之返回 false
128 *
129 * @throws arcs::common_interface::AuboException
130 *
131 * @par Lua函数原型
132 * isPowerOn() -> boolean
133 *
134 * @par Lua示例
135 * PowerOn = isPowerOn()
136 *
137 * @par JSON-RPC请求示例
138 * {"jsonrpc":"2.0","method":"rob1.RobotState.isPowerOn","params":[],"id":1}
139 *
140 * @par JSON-RPC响应示例
141 * {"id":1,"jsonrpc":"2.0","result":true}
142 * \endchinese
143 * \english
144 * Get the robot power-on state
145 *
146 * @return Returns true if the robot is powered on; otherwise returns false
147 *
148 * @throws arcs::common_interface::AuboException
149 *
150 * @par Lua function prototype
151 * isPowerOn() -> boolean
152 *
153 * @par Lua example
154 * PowerOn = isPowerOn()
155 *
156 * @par JSON-RPC request example
157 * {"jsonrpc":"2.0","method":"rob1.RobotState.isPowerOn","params":[],"id":1}
158 *
159 * @par JSON-RPC response example
160 * {"id":1,"jsonrpc":"2.0","result":true}
161 * \endenglish
162 */
163 bool isPowerOn();
164
165 /**
166 * \chinese
167 * 机器人是否已经停止下来
168 *
169 * @return 停止返回true; 反之返回false
170 *
171 * @throws arcs::common_interface::AuboException
172 *
173 * @par Python函数原型
174 * isSteady(self: pyaubo_sdk.RobotState) -> bool
175 *
176 * @par Lua函数原型
177 * isSteady() -> boolean
178 *
179 * @par Lua示例
180 * Steady = isSteady()
181 *
182 * @par JSON-RPC请求示例
183 * {"jsonrpc":"2.0","method":"rob1.RobotState.isSteady","params":[],"id":1}
184 *
185 * @par JSON-RPC响应示例
186 * {"id":1,"jsonrpc":"2.0","result":true}
187 * \endchinese
188 * \english
189 * Whether the robot has stopped
190 *
191 * @return Returns true if stopped; otherwise returns false
192 *
193 * @throws arcs::common_interface::AuboException
194 *
195 * @par Python function prototype
196 * isSteady(self: pyaubo_sdk.RobotState) -> bool
197 *
198 * @par Lua function prototype
199 * isSteady() -> boolean
200 *
201 * @par Lua exaple
202 * Steady = isSteady()
203 *
204 * @par JSON-RPC request example
205 * {"jsonrpc":"2.0","method":"rob1.RobotState.isSteady","params":[],"id":1}
206 *
207 * @par JSON-RPC response example
208 * {"id":1,"jsonrpc":"2.0","result":true}
209 * \endenglish
210 */
211 bool isSteady();
212
213 /**
214 * \chinese
215 * 机器人是否发生了碰撞
216 *
217 * @return 发生碰撞返回 true; 反之返回 false
218 *
219 * @throws arcs::common_interface::AuboException
220 *
221 * @par Lua函数原型
222 * isCollisionOccurred() -> boolean
223 *
224 * @par Lua示例
225 * CollisionOccurred = isCollisionOccurred()
226 *
227 * @par JSON-RPC请求示例
228 * {"jsonrpc":"2.0","method":"rob1.RobotState.isCollisionOccurred","params":[],"id":1}
229 *
230 * @par JSON-RPC响应示例
231 * {"id":1,"jsonrpc":"2.0","result":false}
232 * \endchinese
233 * \english
234 * Whether a collision has occurred
235 *
236 * @return Returns true if a collision occurred; otherwise returns false
237 *
238 * @throws arcs::common_interface::AuboException
239 *
240 * @par Lua function prototype
241 * isCollisionOccurred() -> boolean
242 *
243 * @par Lua example
244 * CollisionOccurred = isCollisionOccurred()
245 *
246 * @par JSON-RPC request example
247 * {"jsonrpc":"2.0","method":"rob1.RobotState.isCollisionOccurred","params":[],"id":1}
248 *
249 * @par JSON-RPC response example
250 * {"id":1,"jsonrpc":"2.0","result":false}
251 * \endenglish
252 */
254
255 /**
256 * \chinese
257 * 机器人是否已经在安全限制之内
258 *
259 * @return 在安全限制之内返回true; 反之返回false
260 *
261 * @throws arcs::common_interface::AuboException
262 *
263 * @par Python函数原型
264 * isWithinSafetyLimits(self: pyaubo_sdk.RobotState) -> bool
265 *
266 * @par Lua函数原型
267 * isWithinSafetyLimits() -> boolean
268 *
269 * @par Lua示例
270 * WithinSafetyLimits = isWithinSafetyLimits()
271 *
272 * @par JSON-RPC请求示例
273 * {"jsonrpc":"2.0","method":"rob1.RobotState.isWithinSafetyLimits","params":[],"id":1}
274 *
275 * @par JSON-RPC响应示例
276 * {"id":1,"jsonrpc":"2.0","result":true}
277 * \endchinese
278 * \english
279 * Whether the robot is within safety limits
280 *
281 * @return Returns true if within safety limits; otherwise returns false
282 *
283 * @throws arcs::common_interface::AuboException
284 *
285 * @par Python function prototype
286 * isWithinSafetyLimits(self: pyaubo_sdk.RobotState) -> bool
287 *
288 * @par Lua function prototype
289 * isWithinSafetyLimits() -> boolean
290 *
291 * @par Lua example
292 * WithinSafetyLimits = isWithinSafetyLimits()
293 *
294 * @par JSON-RPC request example
295 * {"jsonrpc":"2.0","method":"rob1.RobotState.isWithinSafetyLimits","params":[],"id":1}
296 *
297 * @par JSON-RPC response example
298 * {"id":1,"jsonrpc":"2.0","result":true}
299 * \endenglish
300 */
302
303 /**
304 * \chinese
305 * 获取当前的TCP位姿,其 TCP 偏移可以通过 getActualTcpOffset 获取
306 *
307 * 位姿表示形式为(x,y,z,rx,ry,rz)。
308 * 其中x、y、z是工具中心点(TCP)在基坐标系下的位置,单位是m。
309 * rx、ry、rz是工具中心点(TCP)在基坐标系下的姿态,是ZYX欧拉角,单位是rad。
310 *
311 * @return TCP的位姿,形式为(x,y,z,rx,ry,rz)
312 *
313 * @throws arcs::common_interface::AuboException
314 *
315 * @par Python函数原型
316 * getTcpPose(self: pyaubo_sdk.RobotState) -> List[float]
317 *
318 * @par Lua函数原型
319 * getTcpPose() -> table
320 *
321 * @par Lua示例
322 * TcpPose = getTcpPose()
323 *
324 * @par JSON-RPC请求示例
325 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpPose","params":[],"id":1}
326 *
327 * @par JSON-RPC响应示例
328 * {"id":1,"jsonrpc":"2.0","result":[0.41777839846910425,-0.13250000000000012,0.20928451364415995,3.1415792312578987,0.0,1.5707963267948963]}
329 * \endchinese
330 * \english
331 * Get the current TCP pose. The TCP offset can be obtained by
332 * getActualTcpOffset.
333 *
334 * The pose is represented as (x, y, z, rx, ry, rz).
335 * x, y, z are the position of the Tool Center Point (TCP) in the base
336 * coordinate system, in meters. rx, ry, rz are the orientation of the TCP
337 * in the base coordinate system, as ZYX Euler angles in radians.
338 *
339 * @return The TCP pose, in the form (x, y, z, rx, ry, rz)
340 *
341 * @throws arcs::common_interface::AuboException
342 *
343 * @par Python function prototype
344 * getTcpPose(self: pyaubo_sdk.RobotState) -> List[float]
345 *
346 * @par Lua function prototype
347 * getTcpPose() -> table
348 *
349 * @par Lua example
350 * TcpPose = getTcpPose()
351 *
352 * @par JSON-RPC request example
353 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpPose","params":[],"id":1}
354 *
355 * @par JSON-RPC response example
356 * {"id":1,"jsonrpc":"2.0","result":[0.41777839846910425,-0.13250000000000012,0.20928451364415995,3.1415792312578987,0.0,1.5707963267948963]}
357 * \endenglish
358 */
359 std::vector<double> getTcpPose();
360
361 /**
362 * \chinese
363 * 获取当前的 TCP 偏移,也就是 getTcpPose 返回的 pose 用到的 TCP 偏移
364 *
365 * @return 当前的 TCP 偏移
366 *
367 * @par Lua函数原型
368 * getActualTcpOffset() -> table
369 *
370 * @par Lua示例
371 * ActualTcpOffset = getActualTcpOffset()
372 *
373 * \endchinese
374 * \english
375 * Get the current TCP offset, which is the TCP offset used by the pose
376 * returned from getTcpPose
377 *
378 * @return The current TCP offset
379 *
380 * @par Lua function prototype
381 * getActualTcpOffset() -> table
382 *
383 * @par Lua example
384 * ActualTcpOffset = getActualTcpOffset()
385 *
386 * \endenglish
387 */
388 std::vector<double> getActualTcpOffset();
389
390 /**
391 * \chinese
392 * 获取下一个目标路点
393 * 注意与 getTcpTargetPose 的区别,此处定义存在歧义,命名需要优化
394 *
395 * 位姿表示形式为(x,y,z,rx,ry,rz)。
396 * 其中x、y、z是工具中心点(TCP)在基坐标系下的目标位置,单位是m。
397 * rx、ry、rz是工具中心点(TCP)在基坐标系下的目标姿态,是ZYX欧拉角,单位是rad。
398 *
399 * @return 当前目标位姿,形式为(x,y,z,rx,ry,rz)
400 *
401 * @throws arcs::common_interface::AuboException
402 *
403 * @par Python函数原型
404 * getTargetTcpPose(self: pyaubo_sdk.RobotState) -> List[float]
405 *
406 * @par Lua函数原型
407 * getTargetTcpPose() -> table
408 *
409 * @par Lua示例
410 * TargetTcpPose = getTargetTcpPose()
411 *
412 * @par JSON-RPC请求示例
413 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTargetTcpPose","params":[],"id":1}
414 *
415 * @par JSON-RPC响应示例
416 * {"id":1,"jsonrpc":"2.0","result":[0.4173932217619493,-0.13250000000000012,0.43296496133045825,3.141577313781914,0.0,1.5707963267948963]}
417 * \endchinese
418 * \english
419 * Get the next target waypoint.
420 * Note the difference from getTcpTargetPose; the definition here is
421 * ambiguous and the naming needs improvement.
422 *
423 * The pose is represented as (x, y, z, rx, ry, rz).
424 * x, y, z are the target position of the Tool Center Point (TCP) in the
425 * base coordinate system, in meters. rx, ry, rz are the target orientation
426 * of the TCP in the base coordinate system, as ZYX Euler angles in radians.
427 *
428 * @return The current target pose, in the form (x, y, z, rx, ry, rz)
429 *
430 * @throws arcs::common_interface::AuboException
431 *
432 * @par Python function prototype
433 * getTargetTcpPose(self: pyaubo_sdk.RobotState) -> List[float]
434 *
435 * @par Lua function prototype
436 * getTargetTcpPose() -> table
437 *
438 * @par Lua example
439 * TargetTcpPose = getTargetTcpPose()
440 *
441 * @par JSON-RPC request example
442 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTargetTcpPose","params":[],"id":1}
443 *
444 * @par JSON-RPC response example
445 * {"id":1,"jsonrpc":"2.0","result":[0.4173932217619493,-0.13250000000000012,0.43296496133045825,3.141577313781914,0.0,1.5707963267948963]}
446 * \endenglish
447 */
448 std::vector<double> getTargetTcpPose();
449
450 /**
451 * \chinese
452 * 获取工具端的位姿(不带TCP偏移)
453 *
454 * 位姿表示形式为(x,y,z,rx,ry,rz)。
455 * 其中x、y、z是法兰盘中心在基坐标系下的目标位置,单位是m。
456 * rx、ry、rz是法兰盘中心在基坐标系下的目标姿态,是ZYX欧拉角,单位是rad。
457 *
458 * @return 工具端的位姿,形式为(x,y,z,rx,ry,rz)
459 *
460 * @throws arcs::common_interface::AuboException
461 *
462 * @par Python函数原型
463 * getToolPose(self: pyaubo_sdk.RobotState) -> List[float]
464 *
465 * @par Lua函数原型
466 * getToolPose() -> table
467 *
468 * @par Lua示例
469 * ToolPose = getToolPose()
470 *
471 * @par JSON-RPC请求示例
472 * {"jsonrpc":"2.0","method":"rob1.RobotState.getToolPose","params":[],"id":1}
473 *
474 * @par JSON-RPC响应示例
475 * {"id":1,"jsonrpc":"2.0","result":[0.41777820858878617,-0.13250000000000012,0.20928410288421018,3.141579231257899,0.0,1.5707963267948963]}
476 * \endchinese
477 * \english
478 * Get the tool pose (without TCP offset)
479 *
480 * The pose is represented as (x, y, z, rx, ry, rz).
481 * x, y, z are the target position of the flange center in the base
482 * coordinate system, in meters. rx, ry, rz are the target orientation of
483 * the flange center in the base coordinate system, as ZYX Euler angles in
484 * radians.
485 *
486 * @return The tool pose, in the form (x, y, z, rx, ry, rz)
487 *
488 * @throws arcs::common_interface::AuboException
489 *
490 * @par Python function prototype
491 * getToolPose(self: pyaubo_sdk.RobotState) -> List[float]
492 *
493 * @par Lua function prototype
494 * getToolPose() -> table
495 *
496 * @par Lua example
497 * ToolPose = getToolPose()
498 *
499 * @par JSON-RPC request example
500 * {"jsonrpc":"2.0","method":"rob1.RobotState.getToolPose","params":[],"id":1}
501 *
502 * @par JSON-RPC response example
503 * {"id":1,"jsonrpc":"2.0","result":[0.41777820858878617,-0.13250000000000012,0.20928410288421018,3.141579231257899,0.0,1.5707963267948963]}
504 * \endenglish
505 */
506 std::vector<double> getToolPose();
507
508 /**
509 * \chinese
510 * 获取TCP速度
511 *
512 * @return TCP速度
513 *
514 * @throws arcs::common_interface::AuboException
515 *
516 * @par Python函数原型
517 * getTcpSpeed(self: pyaubo_sdk.RobotState) -> List[float]
518 *
519 * @par Lua函数原型
520 * getTcpSpeed() -> table
521 *
522 * @par Lua示例
523 * TcpSpeed = getTcpSpeed()
524 *
525 * @par JSON-RPC请求示例
526 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpSpeed","params":[],"id":1}
527 *
528 * @par JSON-RPC响应示例
529 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
530 * \endchinese
531 * \english
532 * Get the TCP speed
533 *
534 * @return TCP speed
535 *
536 * @throws arcs::common_interface::AuboException
537 *
538 * @par Python function prototype
539 * getTcpSpeed(self: pyaubo_sdk.RobotState) -> List[float]
540 *
541 * @par Lua function prototype
542 * getTcpSpeed() -> table
543 *
544 * @par Lua example
545 * TcpSpeed = getTcpSpeed()
546 *
547 * @par JSON-RPC request example
548 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpSpeed","params":[],"id":1}
549 *
550 * @par JSON-RPC response example
551 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
552 * \endenglish
553 */
554 std::vector<double> getTcpSpeed();
555
556 /**
557 * \chinese
558 * 获取TCP的力/力矩
559 *
560 * @return TCP的力/力矩
561 *
562 * @par Python函数原型
563 * getTcpForce(self: pyaubo_sdk.RobotState) -> List[float]
564 *
565 * @par Lua函数原型
566 * getTcpForce() -> table
567 *
568 * @par Lua示例
569 * TcpForce = getTcpForce()
570 *
571 * @par JSON-RPC请求示例
572 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpForce","params":[],"id":1}
573 *
574 * @par JSON-RPC响应示例
575 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
576 * \endchinese
577 * \english
578 * Get the TCP force/torque
579 *
580 * @return TCP force/torque
581 *
582 * @par Python function prototype
583 * getTcpForce(self: pyaubo_sdk.RobotState) -> List[float]
584 *
585 * @par Lua function prototype
586 * getTcpForce() -> table
587 *
588 * @par Lua example
589 * TcpForce = getTcpForce()
590 *
591 * @par JSON-RPC request example
592 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpForce","params":[],"id":1}
593 *
594 * @par JSON-RPC response example
595 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
596 * \endenglish
597 */
598 std::vector<double> getTcpForce();
599
600 /**
601 * \chinese
602 * 获取肘部的位置
603 *
604 * @return 肘部的位置
605 *
606 * @throws arcs::common_interface::AuboException
607 *
608 * @par Python函数原型
609 * getElbowPosistion(self: pyaubo_sdk.RobotState) -> List[float]
610 *
611 * @par Lua函数原型
612 * getElbowPosistion() -> table
613 *
614 * @par Lua示例
615 * ElbowPosistion = getElbowPosistion()
616 *
617 * @par JSON-RPC请求示例
618 * {"jsonrpc":"2.0","method":"rob1.RobotState.getElbowPosistion","params":[],"id":1}
619 *
620 * @par JSON-RPC响应示例
621 * {"id":1,"jsonrpc":"2.0","result":[0.07355755887512408,-0.1325,0.43200874126125227,-1.5707963267948968,0.433006344376404,0.0]}
622 * \endchinese
623 * \english
624 * Get the position of the elbow
625 *
626 * @return The position of the elbow
627 *
628 * @throws arcs::common_interface::AuboException
629 *
630 * @par Python function prototype
631 * getElbowPosistion(self: pyaubo_sdk.RobotState) -> List[float]
632 *
633 * @par Lua function prototype
634 * getElbowPosistion() -> table
635 *
636 * @par Lua example
637 * ElbowPosistion = getElbowPosistion()
638 *
639 * @par JSON-RPC request example
640 * {"jsonrpc":"2.0","method":"rob1.RobotState.getElbowPosistion","params":[],"id":1}
641 *
642 * @par JSON-RPC response example
643 * {"id":1,"jsonrpc":"2.0","result":[0.07355755887512408,-0.1325,0.43200874126125227,-1.5707963267948968,0.433006344376404,0.0]}
644 * \endenglish
645 */
646 std::vector<double> getElbowPosistion();
647
648 /**
649 * \chinese
650 * 获取肘部速度
651 *
652 * @return 肘部速度
653 *
654 * @throws arcs::common_interface::AuboException
655 *
656 * @par Python函数原型
657 * getElbowVelocity(self: pyaubo_sdk.RobotState) -> List[float]
658 *
659 * @par Lua函数原型
660 * getElbowVelocity() -> table
661 *
662 * @par Lua示例
663 * ElbowVelocity = getElbowVelocity()
664 *
665 * @par JSON-RPC请求示例
666 * {"jsonrpc":"2.0","method":"rob1.RobotState.getElbowVelocity","params":[],"id":1}
667 *
668 * @par JSON-RPC响应示例
669 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
670 * \endchinese
671 * \english
672 * Get the elbow velocity
673 *
674 * @return Elbow velocity
675 *
676 * @throws arcs::common_interface::AuboException
677 *
678 * @par Python function prototype
679 * getElbowVelocity(self: pyaubo_sdk.RobotState) -> List[float]
680 *
681 * @par Lua function prototype
682 * getElbowVelocity() -> table
683 *
684 * @par Lua example
685 * ElbowVelocity = getElbowVelocity()
686 *
687 * @par JSON-RPC request example
688 * {"jsonrpc":"2.0","method":"rob1.RobotState.getElbowVelocity","params":[],"id":1}
689 *
690 * @par JSON-RPC response example
691 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
692 * \endenglish
693 */
694 std::vector<double> getElbowVelocity();
695
696 /**
697 * \chinese
698 * 获取基座力/力矩
699 *
700 * @return 基座力/力矩
701 *
702 * @throws arcs::common_interface::AuboException
703 *
704 * @par Python函数原型
705 * getBaseForce(self: pyaubo_sdk.RobotState) -> List[float]
706 *
707 * @par Lua函数原型
708 * getBaseForce() -> table
709 *
710 * @par Lua示例
711 * BaseForce = getBaseForce()
712 *
713 * @par JSON-RPC请求示例
714 * {"jsonrpc":"2.0","method":"rob1.RobotState.getBaseForce","params":[],"id":1}
715 *
716 * @par JSON-RPC响应示例
717 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
718 * \endchinese
719 * \english
720 * Get the base force/torque
721 *
722 * @return Base force/torque
723 *
724 * @throws arcs::common_interface::AuboException
725 *
726 * @par Python function prototype
727 * getBaseForce(self: pyaubo_sdk.RobotState) -> List[float]
728 *
729 * @par Lua function prototype
730 * getBaseForce() -> table
731 *
732 * @par Lua example
733 * BaseForce = getBaseForce()
734 *
735 * @par JSON-RPC request example
736 * {"jsonrpc":"2.0","method":"rob1.RobotState.getBaseForce","params":[],"id":1}
737 *
738 * @par JSON-RPC response example
739 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
740 * \endenglish
741 */
742 std::vector<double> getBaseForce();
743
744 /**
745 * \chinese
746 * 获取上一次发送的TCP目标位姿
747 *
748 * @return TCP目标位姿
749 *
750 * @throws arcs::common_interface::AuboException
751 *
752 * @par Python函数原型
753 * getTcpTargetPose(self: pyaubo_sdk.RobotState) -> List[float]
754 *
755 * @par Lua函数原型
756 * getTcpTargetPose() -> table
757 *
758 * @par Lua示例
759 * TcpTargetPose = getTcpTargetPose()
760 *
761 * @par JSON-RPC请求示例
762 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpTargetPose","params":[],"id":1}
763 *
764 * @par JSON-RPC响应示例
765 * {"id":1,"jsonrpc":"2.0","result":[0.41777829240862013,-0.13250000000000012,0.2092832117232601,3.1415812372223217,0.0,1.5707963267948963]}
766 * \endchinese
767 * \english
768 * Get the last sent TCP target pose
769 *
770 * @return TCP target pose
771 *
772 * @throws arcs::common_interface::AuboException
773 *
774 * @par Python function prototype
775 * getTcpTargetPose(self: pyaubo_sdk.RobotState) -> List[float]
776 *
777 * @par Lua function prototype
778 * getTcpTargetPose() -> table
779 *
780 * @par Lua example
781 * TcpTargetPose = getTcpTargetPose()
782 *
783 * @par JSON-RPC request example
784 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpTargetPose","params":[],"id":1}
785 *
786 * @par JSON-RPC response example
787 * {"id":1,"jsonrpc":"2.0","result":[0.41777829240862013,-0.13250000000000012,0.2092832117232601,3.1415812372223217,0.0,1.5707963267948963]}
788 * \endenglish
789 */
790 std::vector<double> getTcpTargetPose();
791
792 /**
793 * \chinese
794 * 获取TCP目标速度
795 *
796 * @return TCP目标速度
797 *
798 * @throws arcs::common_interface::AuboException
799 *
800 * @par Python函数原型
801 * getTcpTargetSpeed(self: pyaubo_sdk.RobotState) -> List[float]
802 *
803 * @par Lua函数原型
804 * getTcpTargetSpeed() -> table
805 *
806 * @par Lua示例
807 * TcpTargetSpeed = getTcpTargetSpeed()
808 *
809 * @par JSON-RPC请求示例
810 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpTargetSpeed","params":[],"id":1}
811 *
812 * @par JSON-RPC响应示例
813 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
814 * \endchinese
815 * \english
816 * Get the TCP target speed
817 *
818 * @return TCP target speed
819 *
820 * @throws arcs::common_interface::AuboException
821 *
822 * @par Python function prototype
823 * getTcpTargetSpeed(self: pyaubo_sdk.RobotState) -> List[float]
824 *
825 * @par Lua function prototype
826 * getTcpTargetSpeed() -> table
827 *
828 * @par Lua example
829 * TcpTargetSpeed = getTcpTargetSpeed()
830 *
831 * @par JSON-RPC request example
832 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpTargetSpeed","params":[],"id":1}
833 *
834 * @par JSON-RPC response example
835 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
836 * \endenglish
837 */
838 std::vector<double> getTcpTargetSpeed();
839
840 /**
841 * \chinese
842 * 获取TCP目标力/力矩
843 *
844 * @return TCP目标力/力矩
845 *
846 * @throws arcs::common_interface::AuboException
847 *
848 * @par Python函数原型
849 * getTcpTargetForce(self: pyaubo_sdk.RobotState) -> List[float]
850 *
851 * @par Lua函数原型
852 * getTcpTargetForce() -> table
853 *
854 * @par Lua示例
855 * TcpTargetForce = getTcpTargetForce()
856 *
857 * @par JSON-RPC请求示例
858 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpTargetForce","params":[],"id":1}
859 *
860 * @par JSON-RPC响应示例
861 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
862 * \endchinese
863 * \english
864 * Get the TCP target force/torque
865 *
866 * @return TCP target force/torque
867 *
868 * @throws arcs::common_interface::AuboException
869 *
870 * @par Python function prototype
871 * getTcpTargetForce(self: pyaubo_sdk.RobotState) -> List[float]
872 *
873 * @par Lua function prototype
874 * getTcpTargetForce() -> table
875 *
876 * @par Lua example
877 * TcpTargetForce = getTcpTargetForce()
878 *
879 * @par JSON-RPC request example
880 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpTargetForce","params":[],"id":1}
881 *
882 * @par JSON-RPC response example
883 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
884 * \endenglish
885 */
886 std::vector<double> getTcpTargetForce();
887
888 /**
889 * \chinese
890 * 获取机械臂关节标志
891 *
892 * @return 机械臂关节标志
893 *
894 * @throws arcs::common_interface::AuboException
895 *
896 * @par Python函数原型
897 * getJointState(self: pyaubo_sdk.RobotState) ->
898 * List[arcs::common_interface::JointStateType]
899 *
900 * @par Lua函数原型
901 * getJointState() -> table
902 *
903 * @par Lua示例
904 * JointState = getJointState()
905 *
906 * @par JSON-RPC请求示例
907 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointState","params":[],"id":1}
908 *
909 * @par JSON-RPC响应示例
910 * {"id":1,"jsonrpc":"2.0","result":["Running","Running","Running","Running","Running","Running"]}
911 * \endchinese
912 * \english
913 * Get the joint state of the manipulator
914 *
915 * @return Joint state of the manipulator
916 *
917 * @throws arcs::common_interface::AuboException
918 *
919 * @par Python function prototype
920 * getJointState(self: pyaubo_sdk.RobotState) ->
921 * List[arcs::common_interface::JointStateType]
922 *
923 * @par Lua function prototype
924 * getJointState() -> table
925 *
926 * @par Lua example
927 * JointState = getJointState()
928 *
929 * @par JSON-RPC request example
930 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointState","params":[],"id":1}
931 *
932 * @par JSON-RPC response example
933 * {"id":1,"jsonrpc":"2.0","result":["Running","Running","Running","Running","Running","Running"]}
934 * \endenglish
935 */
936 std::vector<JointStateType> getJointState();
937
938 /**
939 * \chinese
940 * 获取关节的伺服状态
941 *
942 * @return 关节的伺服状态
943 *
944 * @throws arcs::common_interface::AuboException
945 *
946 * @par Python函数原型
947 * getJointServoMode(self: pyaubo_sdk.RobotState) ->
948 * List[arcs::common_interface::JointServoModeType]
949 *
950 * @par Lua函数原型
951 * getJointServoMode() -> table
952 *
953 * @par Lua示例
954 * JointServoMode = getJointServoMode()
955 *
956 * @par JSON-RPC请求示例
957 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointServoMode","params":[],"id":1}
958 *
959 * @par JSON-RPC响应示例
960 * {"id":1,"jsonrpc":"2.0","result":["Position","Position","Position","Position","Position","Position"]}
961 * \endchinese
962 * \english
963 * Get the servo state of the joints
964 *
965 * @return The servo state of the joints
966 *
967 * @throws arcs::common_interface::AuboException
968 *
969 * @par Python function prototype
970 * getJointServoMode(self: pyaubo_sdk.RobotState) ->
971 * List[arcs::common_interface::JointServoModeType]
972 *
973 * @par Lua function prototype
974 * getJointServoMode() -> table
975 *
976 * @par Lua example
977 * JointServoMode = getJointServoMode()
978 *
979 * @par JSON-RPC request example
980 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointServoMode","params":[],"id":1}
981 *
982 * @par JSON-RPC response example
983 * {"id":1,"jsonrpc":"2.0","result":["Position","Position","Position","Position","Position","Position"]}
984 * \endenglish
985 */
986 std::vector<JointServoModeType> getJointServoMode();
987
988 /**
989 * \chinese
990 * 获取机械臂关节角度
991 *
992 * @return 机械臂关节角度
993 *
994 * @throws arcs::common_interface::AuboException
995 *
996 * @par Python函数原型
997 * getJointPositions(self: pyaubo_sdk.RobotState) -> List[float]
998 *
999 * @par Lua函数原型
1000 * getJointPositions() -> table
1001 *
1002 * @par Lua示例
1003 * JointPositions = getJointPositions()
1004 *
1005 * @par JSON-RPC请求示例
1006 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointPositions","params":[],"id":1}
1007 *
1008 * @par JSON-RPC响应示例
1009 * {"id":1,"jsonrpc":"2.0","result":[0.0,-0.26199241371495835,1.7418102574563423,0.4330197667082982,1.5707963267948966,0.0]}
1010 * \endchinese
1011 * \english
1012 * Get the joint positions of the manipulator
1013 *
1014 * @return Joint positions of the manipulator
1015 *
1016 * @throws arcs::common_interface::AuboException
1017 *
1018 * @par Python function prototype
1019 * getJointPositions(self: pyaubo_sdk.RobotState) -> List[float]
1020 *
1021 * @par Lua function prototype
1022 * getJointPositions() -> table
1023 *
1024 * @par Lua example
1025 * JointPositions = getJointPositions()
1026 *
1027 * @par JSON-RPC request example
1028 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointPositions","params":[],"id":1}
1029 *
1030 * @par JSON-RPC response example
1031 * {"id":1,"jsonrpc":"2.0","result":[0.0,-0.26199241371495835,1.7418102574563423,0.4330197667082982,1.5707963267948966,0.0]}
1032 * \endenglish
1033 */
1034 std::vector<double> getJointPositions();
1035
1036 /**
1037 * \chinese
1038 * 获取机械臂历史关节角度
1039 *
1040 * @param steps 步数
1041 * @return 机械臂历史关节角度
1042 * \endchinese
1043 * \english
1044 * Get the historical joint positions of the manipulator
1045 *
1046 * @param steps Number of steps
1047 * @return Historical joint positions of the manipulator
1048 * \endenglish
1049 */
1050 std::vector<double> getJointPositionsHistory(int steps);
1051
1052 /**
1053 * \chinese
1054 * 获取机械臂关节速度
1055 *
1056 * @return 机械臂关节速度
1057 *
1058 * @throws arcs::common_interface::AuboException
1059 *
1060 * @par Python函数原型
1061 * getJointSpeeds(self: pyaubo_sdk.RobotState) -> List[float]
1062 *
1063 * @par Lua函数原型
1064 * getJointSpeeds() -> table
1065 *
1066 * @par Lua示例
1067 * JointSpeeds = getJointSpeeds()
1068 *
1069 * @par JSON-RPC请求示例
1070 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointSpeeds","params":[],"id":1}
1071 *
1072 * @par JSON-RPC响应示例
1073 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
1074 * \endchinese
1075 * \english
1076 * Get the joint speeds of the manipulator
1077 *
1078 * @return Joint speeds of the manipulator
1079 *
1080 * @throws arcs::common_interface::AuboException
1081 *
1082 * @par Python function prototype
1083 * getJointSpeeds(self: pyaubo_sdk.RobotState) -> List[float]
1084 *
1085 * @par Lua function prototype
1086 * getJointSpeeds() -> table
1087 *
1088 * @par Lua example
1089 * JointSpeeds = getJointSpeeds()
1090 *
1091 * @par JSON-RPC request example
1092 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointSpeeds","params":[],"id":1}
1093 *
1094 * @par JSON-RPC response example
1095 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
1096 * \endenglish
1097 */
1098 std::vector<double> getJointSpeeds();
1099
1100 /**
1101 * \chinese
1102 * 获取机械臂关节加速度
1103 *
1104 * @return 机械臂关节加速度
1105 *
1106 * @throws arcs::common_interface::AuboException
1107 *
1108 * @par Python函数原型
1109 * getJointAccelerations(self: pyaubo_sdk.RobotState) -> List[float]
1110 *
1111 * @par Lua函数原型
1112 * getJointAccelerations() -> table
1113 *
1114 * @par Lua示例
1115 * JointAccelerations = getJointAccelerations()
1116 *
1117 * @par JSON-RPC请求示例
1118 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointAccelerations","params":[],"id":1}
1119 *
1120 * @par JSON-RPC响应示例
1121 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
1122 * \endchinese
1123 * \english
1124 * Get the joint accelerations of the manipulator
1125 *
1126 * @return Joint accelerations of the manipulator
1127 *
1128 * @throws arcs::common_interface::AuboException
1129 *
1130 * @par Python function prototype
1131 * getJointAccelerations(self: pyaubo_sdk.RobotState) -> List[float]
1132 *
1133 * @par Lua function prototype
1134 * getJointAccelerations() -> table
1135 *
1136 * @par Lua example
1137 * JointAccelerations = getJointAccelerations()
1138 *
1139 * @par JSON-RPC request example
1140 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointAccelerations","params":[],"id":1}
1141 *
1142 * @par JSON-RPC response example
1143 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
1144 * \endenglish
1145 */
1146 std::vector<double> getJointAccelerations();
1147
1148 /**
1149 * \chinese
1150 * 获取机械臂关节力矩
1151 *
1152 * @return 机械臂关节力矩
1153 *
1154 * @throws arcs::common_interface::AuboException
1155 *
1156 * @par Python函数原型
1157 * getJointTorqueSensors(self: pyaubo_sdk.RobotState) -> List[float]
1158 *
1159 * @par Lua函数原型
1160 * getJointTorqueSensors() -> table
1161 *
1162 * @par Lua示例
1163 * JointTorqueSensors = getJointTorqueSensors()
1164 *
1165 * @par JSON-RPC请求示例
1166 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTorqueSensors","params":[],"id":1}
1167 *
1168 * @par JSON-RPC响应示例
1169 * {"id":1,"jsonrpc":"2.0","result":[0.0,6275.367736816406,-7704.2816162109375,3586.9766235351563,503.0364990234375,1506.0882568359375]}
1170 * \endchinese
1171 * \english
1172 * Get the joint torques of the manipulator
1173 *
1174 * @return Joint torques of the manipulator
1175 *
1176 * @throws arcs::common_interface::AuboException
1177 *
1178 * @par Python function prototype
1179 * getJointTorqueSensors(self: pyaubo_sdk.RobotState) -> List[float]
1180 *
1181 * @par Lua function prototype
1182 * getJointTorqueSensors() -> table
1183 *
1184 * @par Lua example
1185 * JointTorqueSensors = getJointTorqueSensors()
1186 *
1187 * @par JSON-RPC request example
1188 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTorqueSensors","params":[],"id":1}
1189 *
1190 * @par JSON-RPC response example
1191 * {"id":1,"jsonrpc":"2.0","result":[0.0,6275.367736816406,-7704.2816162109375,3586.9766235351563,503.0364990234375,1506.0882568359375]}
1192 * \endenglish
1193 */
1194 std::vector<double> getJointTorqueSensors();
1195
1196 /**
1197 * \chinese
1198 * 获取机械臂关节接触力矩(外力距)
1199 *
1200 * @return 机械臂关节接触力矩
1201 *
1202 * @throws arcs::common_interface::AuboException
1203 *
1204 * @par Python函数原型
1205 * getJointContactTorques(self: pyaubo_sdk.RobotState) -> List[float]
1206 *
1207 * @par Lua函数原型
1208 * getJointContactTorques() -> table
1209 *
1210 * @par Lua示例
1211 * JointContactTorques = getJointContactTorques()
1212 *
1213 * @par JSON-RPC请求示例
1214 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointContactTorques","params":[],"id":1}
1215 *
1216 * @par JSON-RPC响应示例
1217 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
1218 * \endchinese
1219 * \english
1220 * Get the joint contact torques (external torques) of the manipulator
1221 *
1222 * @return Joint contact torques of the manipulator
1223 *
1224 * @throws arcs::common_interface::AuboException
1225 *
1226 * @par Python function prototype
1227 * getJointContactTorques(self: pyaubo_sdk.RobotState) -> List[float]
1228 *
1229 * @par Lua function prototype
1230 * getJointContactTorques() -> table
1231 *
1232 * @par Lua example
1233 * JointContactTorques = getJointContactTorques()
1234 *
1235 * @par JSON-RPC request example
1236 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointContactTorques","params":[],"id":1}
1237 *
1238 * @par JSON-RPC response example
1239 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
1240 * \endenglish
1241 */
1242 std::vector<double> getJointContactTorques();
1243
1244 /**
1245 * \chinese
1246 * 获取底座力传感器读数
1247 *
1248 * @return 底座力传感器读数
1249 *
1250 * @throws arcs::common_interface::AuboException
1251 *
1252 * @par Python函数原型
1253 * getBaseForceSensor(self: pyaubo_sdk.RobotState) -> List[float]
1254 *
1255 * @par Lua函数原型
1256 * getBaseForceSensor() -> table
1257 *
1258 * @par Lua示例
1259 * BaseForceSensor = getBaseForceSensor()
1260 *
1261 * @par JSON-RPC请求示例
1262 * {"jsonrpc":"2.0","method":"rob1.RobotState.getBaseForceSensor","params":[],"id":1}
1263 *
1264 * @par JSON-RPC响应示例
1265 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
1266 * \endchinese
1267 * \english
1268 * Get the base force sensor readings
1269 *
1270 * @return Base force sensor readings
1271 *
1272 * @throws arcs::common_interface::AuboException
1273 *
1274 * @par Python function prototype
1275 * getBaseForceSensor(self: pyaubo_sdk.RobotState) -> List[float]
1276 *
1277 * @par Lua function prototype
1278 * getBaseForceSensor() -> table
1279 *
1280 * @par Lua example
1281 * BaseForceSensor = getBaseForceSensor()
1282 *
1283 * @par JSON-RPC request example
1284 * {"jsonrpc":"2.0","method":"rob1.RobotState.getBaseForceSensor","params":[],"id":1}
1285 *
1286 * @par JSON-RPC response example
1287 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
1288 * \endenglish
1289 */
1290 std::vector<double> getBaseForceSensor();
1291
1292 /**
1293 * \chinese
1294 * 获取TCP力传感器读数
1295 *
1296 * @return TCP力传感器读数
1297 *
1298 * @throws arcs::common_interface::AuboException
1299 *
1300 * @par Python函数原型
1301 * getTcpForceSensors(self: pyaubo_sdk.RobotState) -> List[float]
1302 *
1303 * @par Lua函数原型
1304 * getTcpForceSensors() -> table
1305 *
1306 * @par Lua示例
1307 * TcpForceSensors = getTcpForceSensors()
1308 *
1309 * @par JSON-RPC请求示例
1310 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpForceSensors","params":[],"id":1}
1311 *
1312 * @par JSON-RPC响应示例
1313 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
1314 * \endchinese
1315 * \english
1316 * Get the TCP force sensor readings
1317 *
1318 * @return TCP force sensor readings
1319 *
1320 * @throws arcs::common_interface::AuboException
1321 *
1322 * @par Python function prototype
1323 * getTcpForceSensors(self: pyaubo_sdk.RobotState) -> List[float]
1324 *
1325 * @par Lua function prototype
1326 * getTcpForceSensors() -> table
1327 *
1328 * @par Lua example
1329 * TcpForceSensors = getTcpForceSensors()
1330 *
1331 * @par JSON-RPC request example
1332 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpForceSensors","params":[],"id":1}
1333 *
1334 * @par JSON-RPC response example
1335 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
1336 * \endenglish
1337 */
1338 std::vector<double> getTcpForceSensors();
1339
1340 /**
1341 * \chinese
1342 * 获取机械臂关节电流
1343 *
1344 * @return 机械臂关节电流
1345 *
1346 * @throws arcs::common_interface::AuboException
1347 *
1348 * @par Python函数原型
1349 * getJointCurrents(self: pyaubo_sdk.RobotState) -> List[float]
1350 *
1351 * @par Lua函数原型
1352 * getJointCurrents() -> table
1353 *
1354 * @par Lua示例
1355 * JointCurrents = getJointCurrents()
1356 *
1357 * @par JSON-RPC请求示例
1358 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointCurrents","params":[],"id":1}
1359 *
1360 * @par JSON-RPC响应示例
1361 * {"id":1,"jsonrpc":"2.0","result":[0.0,1.25885009765625,-1.5289306640625,0.71868896484375,0.1007080078125,0.3021240234375]}
1362 * \endchinese
1363 * \english
1364 * Get the joint currents of the manipulator
1365 *
1366 * @return Joint currents of the manipulator
1367 *
1368 * @throws arcs::common_interface::AuboException
1369 *
1370 * @par Python function prototype
1371 * getJointCurrents(self: pyaubo_sdk.RobotState) -> List[float]
1372 *
1373 * @par Lua function prototype
1374 * getJointCurrents() -> table
1375 *
1376 * @par Lua example
1377 * JointCurrents = getJointCurrents()
1378 *
1379 * @par JSON-RPC request example
1380 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointCurrents","params":[],"id":1}
1381 *
1382 * @par JSON-RPC response example
1383 * {"id":1,"jsonrpc":"2.0","result":[0.0,1.25885009765625,-1.5289306640625,0.71868896484375,0.1007080078125,0.3021240234375]}
1384 * \endenglish
1385 */
1386 std::vector<double> getJointCurrents();
1387
1388 /**
1389 * \chinese
1390 * 获取机械臂关节电压
1391 *
1392 * @return 机械臂关节电压
1393 *
1394 * @throws arcs::common_interface::AuboException
1395 *
1396 * @par Python函数原型
1397 * getJointVoltages(self: pyaubo_sdk.RobotState) -> List[float]
1398 *
1399 * @par Lua函数原型
1400 * getJointVoltages() -> table
1401 *
1402 * @par Lua示例
1403 * JointVoltages = getJointVoltages()
1404 *
1405 * @par JSON-RPC请求示例
1406 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointVoltages","params":[],"id":1}
1407 *
1408 * @par JSON-RPC响应示例
1409 * {"id":1,"jsonrpc":"2.0","result":[2.0,2.5,3.0,2.0,2.5,2.0]}
1410 * \endchinese
1411 * \english
1412 * Get the joint voltages of the manipulator
1413 *
1414 * @return Joint voltages of the manipulator
1415 *
1416 * @throws arcs::common_interface::AuboException
1417 *
1418 * @par Python function prototype
1419 * getJointVoltages(self: pyaubo_sdk.RobotState) -> List[float]
1420 *
1421 * @par Lua function prototype
1422 * getJointVoltages() -> table
1423 *
1424 * @par Lua example
1425 * JointVoltages = getJointVoltages()
1426 *
1427 * @par JSON-RPC request example
1428 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointVoltages","params":[],"id":1}
1429 *
1430 * @par JSON-RPC response example
1431 * {"id":1,"jsonrpc":"2.0","result":[2.0,2.5,3.0,2.0,2.5,2.0]}
1432 * \endenglish
1433 */
1434 std::vector<double> getJointVoltages();
1435
1436 /**
1437 * \chinese
1438 * 获取机械臂关节温度
1439 *
1440 * @return 机械臂关节温度
1441 *
1442 * @throws arcs::common_interface::AuboException
1443 *
1444 * @par Python函数原型
1445 * getJointTemperatures(self: pyaubo_sdk.RobotState) -> List[float]
1446 *
1447 * @par Lua函数原型
1448 * getJointTemperatures() -> table
1449 *
1450 * @par Lua示例
1451 * JointTemperatures = getJointTemperatures()
1452 *
1453 * @par JSON-RPC请求示例
1454 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTemperatures","params":[],"id":1}
1455 *
1456 * @par JSON-RPC响应示例
1457 * {"id":1,"jsonrpc":"2.0","result":[38.0,38.0,38.0,39.0,38.0,39.0]}
1458 * \endchinese
1459 * \english
1460 * Get the joint temperatures of the manipulator
1461 *
1462 * @return Joint temperatures of the manipulator
1463 *
1464 * @throws arcs::common_interface::AuboException
1465 *
1466 * @par Python function prototype
1467 * getJointTemperatures(self: pyaubo_sdk.RobotState) -> List[float]
1468 *
1469 * @par Lua function prototype
1470 * getJointTemperatures() -> table
1471 *
1472 * @par Lua example
1473 * JointTemperatures = getJointTemperatures()
1474 *
1475 * @par JSON-RPC request example
1476 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTemperatures","params":[],"id":1}
1477 *
1478 * @par JSON-RPC response example
1479 * {"id":1,"jsonrpc":"2.0","result":[38.0,38.0,38.0,39.0,38.0,39.0]}
1480 * \endenglish
1481 */
1482 std::vector<double> getJointTemperatures();
1483
1484 /**
1485 * \chinese
1486 * 获取关节全球唯一ID
1487 *
1488 * @return 关节全球唯一ID
1489 *
1490 * @throws arcs::common_interface::AuboException
1491 *
1492 * @par Python函数原型
1493 * getJointUniqueIds(self: pyaubo_sdk.RobotState) -> List[str]
1494 *
1495 * @par Lua函数原型
1496 * getJointUniqueIds() -> table
1497 *
1498 * @par Lua示例
1499 * JointUniqueIds = getJointUniqueIds()
1500 *
1501 * @par JSON-RPC请求示例
1502 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointUniqueIds","params":[],"id":1}
1503 *
1504 * @par JSON-RPC响应示例
1505 * {"id":1,"jsonrpc":"2.0","result":["00800020ffffffff31405153","00800020ffffffff3e3f5153","00800020ffffffff414b5153","00800020ffffffff31065153","00800020ffffffff41535153","00800020ffffffff41545153"]}
1506 * \endchinese
1507 * \english
1508 * Get the globally unique IDs of the joints
1509 *
1510 * @return Globally unique IDs of the joints
1511 *
1512 * @throws arcs::common_interface::AuboException
1513 *
1514 * @par Python function prototype
1515 * getJointUniqueIds(self: pyaubo_sdk.RobotState) -> List[str]
1516 *
1517 * @par Lua function prototype
1518 * getJointUniqueIds() -> table
1519 *
1520 * @par Lua example
1521 * JointUniqueIds = getJointUniqueIds()
1522 *
1523 * @par JSON-RPC request example
1524 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointUniqueIds","params":[],"id":1}
1525 *
1526 * @par JSON-RPC response example
1527 * {"id":1,"jsonrpc":"2.0","result":["00800020ffffffff31405153","00800020ffffffff3e3f5153","00800020ffffffff414b5153","00800020ffffffff31065153","00800020ffffffff41535153","00800020ffffffff41545153"]}
1528 * \endenglish
1529 */
1530 std::vector<std::string> getJointUniqueIds();
1531
1532 /**
1533 * \chinese
1534 * 获取关节固件版本
1535 *
1536 * @return 关节固件版本
1537 *
1538 * @throws arcs::common_interface::AuboException
1539 *
1540 * @par Python函数原型
1541 * getJointFirmwareVersions(self: pyaubo_sdk.RobotState) -> List[int]
1542 *
1543 * @par Lua函数原型
1544 * getJointFirmwareVersions() -> table
1545 *
1546 * @par Lua示例
1547 * JointFirmwareVersions = getJointFirmwareVersions()
1548 *
1549 * @par JSON-RPC请求示例
1550 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointFirmwareVersions","params":[],"id":1}
1551 *
1552 * @par JSON-RPC响应示例
1553 * {"id":1,"jsonrpc":"2.0","result":[1000010,1000010,1000010,1000010,1000010,1000010]}
1554 * \endchinese
1555 * \english
1556 * Get the joint firmware versions
1557 *
1558 * @return Joint firmware versions
1559 *
1560 * @throws arcs::common_interface::AuboException
1561 *
1562 * @par Python function prototype
1563 * getJointFirmwareVersions(self: pyaubo_sdk.RobotState) -> List[int]
1564 *
1565 * @par Lua function prototype
1566 * getJointFirmwareVersions() -> table
1567 *
1568 * @par Lua example
1569 * JointFirmwareVersions = getJointFirmwareVersions()
1570 *
1571 * @par JSON-RPC request example
1572 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointFirmwareVersions","params":[],"id":1}
1573 *
1574 * @par JSON-RPC response example
1575 * {"id":1,"jsonrpc":"2.0","result":[1000010,1000010,1000010,1000010,1000010,1000010]}
1576 * \endenglish
1577 */
1578 std::vector<int> getJointFirmwareVersions();
1579
1580 /**
1581 * \chinese
1582 * 获取关节硬件版本
1583 *
1584 * @return 关节硬件版本
1585 *
1586 * @throws arcs::common_interface::AuboException
1587 *
1588 * @par Python函数原型
1589 * getJointHardwareVersions(self: pyaubo_sdk.RobotState) -> List[int]
1590 *
1591 * @par Lua函数原型
1592 * getJointHardwareVersions() -> table
1593 *
1594 * @par Lua示例
1595 * JointHardwareVersions = getJointHardwareVersions()
1596 *
1597 * @par JSON-RPC请求示例
1598 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointHardwareVersions","params":[],"id":1}
1599 *
1600 * @par JSON-RPC响应示例
1601 * {"id":1,"jsonrpc":"2.0","result":[1000000,1000000,1004000,1004000,1004000,1004000]}
1602 * \endchinese
1603 * \english
1604 * Get the joint hardware versions
1605 *
1606 * @return Joint hardware versions
1607 *
1608 * @throws arcs::common_interface::AuboException
1609 *
1610 * @par Python function prototype
1611 * getJointHardwareVersions(self: pyaubo_sdk.RobotState) -> List[int]
1612 *
1613 * @par Lua function prototype
1614 * getJointHardwareVersions() -> table
1615 *
1616 * @par Lua example
1617 * JointHardwareVersions = getJointHardwareVersions()
1618 *
1619 * @par JSON-RPC request example
1620 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointHardwareVersions","params":[],"id":1}
1621 *
1622 * @par JSON-RPC response example
1623 * {"id":1,"jsonrpc":"2.0","result":[1000000,1000000,1004000,1004000,1004000,1004000]}
1624 * \endenglish
1625 */
1626 std::vector<int> getJointHardwareVersions();
1627
1628 /**
1629 * \chinese
1630 * 获取MasterBoard全球唯一ID
1631 *
1632 * @return MasterBoard全球唯一ID
1633 *
1634 * @throws arcs::common_interface::AuboException
1635 *
1636 * @par Python函数原型
1637 * getMasterBoardUniqueId(self: pyaubo_sdk.RobotState) -> str
1638 *
1639 * @par Lua函数原型
1640 * getMasterBoardUniqueId() -> string
1641 *
1642 * @par Lua示例
1643 * MasterBoardUniqueId = getMasterBoardUniqueId()
1644 *
1645 * @par JSON-RPC请求示例
1646 * {"jsonrpc":"2.0","method":"rob1.RobotState.getMasterBoardUniqueId","params":[],"id":1}
1647 *
1648 * @par JSON-RPC响应示例
1649 * {"id":1,"jsonrpc":"2.0","result":"001e0044510f343037323637"}
1650 * \endchinese
1651 * \english
1652 * Get the globally unique ID of the MasterBoard
1653 *
1654 * @return Globally unique ID of the MasterBoard
1655 *
1656 * @throws arcs::common_interface::AuboException
1657 *
1658 * @par Python function prototype
1659 * getMasterBoardUniqueId(self: pyaubo_sdk.RobotState) -> str
1660 *
1661 * @par Lua function prototype
1662 * getMasterBoardUniqueId() -> string
1663 *
1664 * @par Lua example
1665 * MasterBoardUniqueId = getMasterBoardUniqueId()
1666 *
1667 * @par JSON-RPC request example
1668 * {"jsonrpc":"2.0","method":"rob1.RobotState.getMasterBoardUniqueId","params":[],"id":1}
1669 *
1670 * @par JSON-RPC response example
1671 * {"id":1,"jsonrpc":"2.0","result":"001e0044510f343037323637"}
1672 * \endenglish
1673 */
1675
1676 /**
1677 * \chinese
1678 * 获取MasterBoard固件版本
1679 *
1680 * @return MasterBoard固件版本
1681 *
1682 * @throws arcs::common_interface::AuboException
1683 *
1684 * @par Python函数原型
1685 * getMasterBoardFirmwareVersion(self: pyaubo_sdk.RobotState) -> int
1686 *
1687 * @par Lua函数原型
1688 * getMasterBoardFirmwareVersion() -> number
1689 *
1690 * @par Lua示例
1691 * MasterBoardFirmwareVersion = getMasterBoardFirmwareVersion()
1692 *
1693 * @par JSON-RPC请求示例
1694 * {"jsonrpc":"2.0","method":"rob1.RobotState.getMasterBoardFirmwareVersion","params":[],"id":1}
1695 *
1696 * @par JSON-RPC响应示例
1697 * {"id":1,"jsonrpc":"2.0","result":1000004}
1698 * \endchinese
1699 * \english
1700 * Get the MasterBoard firmware version
1701 *
1702 * @return MasterBoard firmware version
1703 *
1704 * @throws arcs::common_interface::AuboException
1705 *
1706 * @par Python function prototype
1707 * getMasterBoardFirmwareVersion(self: pyaubo_sdk.RobotState) -> int
1708 *
1709 * @par Lua function prototype
1710 * getMasterBoardFirmwareVersion() -> number
1711 *
1712 * @par Lua example
1713 * MasterBoardFirmwareVersion = getMasterBoardFirmwareVersion()
1714 *
1715 * @par JSON-RPC request example
1716 * {"jsonrpc":"2.0","method":"rob1.RobotState.getMasterBoardFirmwareVersion","params":[],"id":1}
1717 *
1718 * @par JSON-RPC response example
1719 * {"id":1,"jsonrpc":"2.0","result":1000004}
1720 * \endenglish
1721 */
1723
1724 /**
1725 * \chinese
1726 * 获取MasterBoard硬件版本
1727 *
1728 * @return MasterBoard硬件版本
1729 *
1730 * @throws arcs::common_interface::AuboException
1731 *
1732 * @par Python函数原型
1733 * getMasterBoardHardwareVersion(self: pyaubo_sdk.RobotState) -> int
1734 *
1735 * @par Lua函数原型
1736 * getMasterBoardHardwareVersion() -> number
1737 *
1738 * @par Lua示例
1739 * MasterBoardHardwareVersion = getMasterBoardHardwareVersion()
1740 *
1741 * @par JSON-RPC请求示例
1742 * {"jsonrpc":"2.0","method":"rob1.RobotState.getMasterBoardHardwareVersion","params":[],"id":1}
1743 *
1744 * @par JSON-RPC响应示例
1745 * {"id":1,"jsonrpc":"2.0","result":1000000}
1746 * \endchinese
1747 * \english
1748 * Get the MasterBoard hardware version
1749 *
1750 * @return MasterBoard hardware version
1751 *
1752 * @throws arcs::common_interface::AuboException
1753 *
1754 * @par Python function prototype
1755 * getMasterBoardHardwareVersion(self: pyaubo_sdk.RobotState) -> int
1756 *
1757 * @par Lua function prototype
1758 * getMasterBoardHardwareVersion() -> number
1759 *
1760 * @par Lua example
1761 * MasterBoardHardwareVersion = getMasterBoardHardwareVersion()
1762 *
1763 * @par JSON-RPC request example
1764 * {"jsonrpc":"2.0","method":"rob1.RobotState.getMasterBoardHardwareVersion","params":[],"id":1}
1765 *
1766 * @par JSON-RPC response example
1767 * {"id":1,"jsonrpc":"2.0","result":1000000}
1768 * \endenglish
1769 */
1771
1772 /**
1773 * \chinese
1774 * 获取SlaveBoard全球唯一ID
1775 *
1776 * @return SlaveBoard全球唯一ID
1777 *
1778 * @throws arcs::common_interface::AuboException
1779 *
1780 * @par Python函数原型
1781 * getSlaveBoardUniqueId(self: pyaubo_sdk.RobotState) -> str
1782 *
1783 * @par Lua函数原型
1784 * getSlaveBoardUniqueId() -> string
1785 *
1786 * @par Lua示例
1787 * SlaveBoardUniqueId = getSlaveBoardUniqueId()
1788 *
1789 * @par JSON-RPC请求示例
1790 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSlaveBoardUniqueId","params":[],"id":1}
1791 *
1792 * @par JSON-RPC响应示例
1793 * {"id":1,"jsonrpc":"2.0","result":"736572630080000000000000"}
1794 * \endchinese
1795 * \english
1796 * Get the globally unique ID of the SlaveBoard
1797 *
1798 * @return Globally unique ID of the SlaveBoard
1799 *
1800 * @throws arcs::common_interface::AuboException
1801 *
1802 * @par Python function prototype
1803 * getSlaveBoardUniqueId(self: pyaubo_sdk.RobotState) -> str
1804 *
1805 * @par Lua function prototype
1806 * getSlaveBoardUniqueId() -> string
1807 *
1808 * @par Lua example
1809 * SlaveBoardUniqueId = getSlaveBoardUniqueId()
1810 *
1811 * @par JSON-RPC request example
1812 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSlaveBoardUniqueId","params":[],"id":1}
1813 *
1814 * @par JSON-RPC response example
1815 * {"id":1,"jsonrpc":"2.0","result":"736572630080000000000000"}
1816 * \endenglish
1817 */
1819
1820 /**
1821 * \chinese
1822 * 获取SlaveBoard固件版本
1823 *
1824 * @return SlaveBoard固件版本
1825 *
1826 * @throws arcs::common_interface::AuboException
1827 *
1828 * @par Python函数原型
1829 * getSlaveBoardFirmwareVersion(self: pyaubo_sdk.RobotState) -> int
1830 *
1831 * @par Lua函数原型
1832 * getSlaveBoardFirmwareVersion() -> number
1833 *
1834 * @par Lua示例
1835 * SlaveBoardFirmwareVersion = getSlaveBoardFirmwareVersion()
1836 *
1837 * @par JSON-RPC请求示例
1838 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSlaveBoardFirmwareVersion","params":[],"id":1}
1839 *
1840 * @par JSON-RPC响应示例
1841 * {"id":1,"jsonrpc":"2.0","result":0}
1842 * \endchinese
1843 * \english
1844 * Get the SlaveBoard firmware version
1845 *
1846 * @return SlaveBoard firmware version
1847 *
1848 * @throws arcs::common_interface::AuboException
1849 *
1850 * @par Python function prototype
1851 * getSlaveBoardFirmwareVersion(self: pyaubo_sdk.RobotState) -> int
1852 *
1853 * @par Lua function prototype
1854 * getSlaveBoardFirmwareVersion() -> number
1855 *
1856 * @par Lua example
1857 * SlaveBoardFirmwareVersion = getSlaveBoardFirmwareVersion()
1858 *
1859 * @par JSON-RPC request example
1860 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSlaveBoardFirmwareVersion","params":[],"id":1}
1861 *
1862 * @par JSON-RPC response example
1863 * {"id":1,"jsonrpc":"2.0","result":0}
1864 * \endenglish
1865 */
1867
1868 /**
1869 * \chinese
1870 * 获取SlaveBoard硬件版本
1871 *
1872 * @return SlaveBoard硬件版本
1873 *
1874 * @throws arcs::common_interface::AuboException
1875 *
1876 * @par Python函数原型
1877 * getSlaveBoardHardwareVersion(self: pyaubo_sdk.RobotState) -> int
1878 *
1879 * @par Lua函数原型
1880 * getSlaveBoardHardwareVersion() -> number
1881 *
1882 * @par Lua示例
1883 * SlaveBoardHardwareVersion = getSlaveBoardHardwareVersion()
1884 *
1885 * @par JSON-RPC请求示例
1886 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSlaveBoardHardwareVersion","params":[],"id":1}
1887 *
1888 * @par JSON-RPC响应示例
1889 * {"id":1,"jsonrpc":"2.0","result":6030098}
1890 * \endchinese
1891 * \english
1892 * Get the SlaveBoard hardware version
1893 *
1894 * @return SlaveBoard hardware version
1895 *
1896 * @throws arcs::common_interface::AuboException
1897 *
1898 * @par Python function prototype
1899 * getSlaveBoardHardwareVersion(self: pyaubo_sdk.RobotState) -> int
1900 *
1901 * @par Lua function prototype
1902 * getSlaveBoardHardwareVersion() -> number
1903 *
1904 * @par Lua example
1905 * SlaveBoardHardwareVersion = getSlaveBoardHardwareVersion()
1906 *
1907 * @par JSON-RPC request example
1908 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSlaveBoardHardwareVersion","params":[],"id":1}
1909 *
1910 * @par JSON-RPC response example
1911 * {"id":1,"jsonrpc":"2.0","result":6030098}
1912 * \endenglish
1913 */
1915
1916 /**
1917 * \chinese
1918 * 获取工具端全球唯一ID
1919 *
1920 * @return 工具端全球唯一ID
1921 *
1922 * @throws arcs::common_interface::AuboException
1923 *
1924 * @par Python函数原型
1925 * getToolUniqueId(self: pyaubo_sdk.RobotState) -> str
1926 *
1927 * @par Lua函数原型
1928 * getToolUniqueId() -> string
1929 *
1930 * @par Lua示例
1931 * ToolUniqueId = getToolUniqueId()
1932 *
1933 * @par JSON-RPC请求示例
1934 * {"jsonrpc":"2.0","method":"rob1.RobotState.getToolUniqueId","params":[],"id":1}
1935 *
1936 * @par JSON-RPC响应示例
1937 * {"id":1,"jsonrpc":"2.0","result":"397d4e5331541252314d3042"}
1938 * \endchinese
1939 * \english
1940 * Get the globally unique ID of the tool
1941 *
1942 * @return Globally unique ID of the tool
1943 *
1944 * @throws arcs::common_interface::AuboException
1945 *
1946 * @par Python function prototype
1947 * getToolUniqueId(self: pyaubo_sdk.RobotState) -> str
1948 *
1949 * @par Lua function prototype
1950 * getToolUniqueId() -> string
1951 *
1952 * @par Lua example
1953 * ToolUniqueId = getToolUniqueId()
1954 *
1955 * @par JSON-RPC request example
1956 * {"jsonrpc":"2.0","method":"rob1.RobotState.getToolUniqueId","params":[],"id":1}
1957 *
1958 * @par JSON-RPC response example
1959 * {"id":1,"jsonrpc":"2.0","result":"397d4e5331541252314d3042"}
1960 * \endenglish
1961 */
1962 std::string getToolUniqueId();
1963
1964 /**
1965 * \chinese
1966 * 获取工具端固件版本
1967 *
1968 * @return 工具端固件版本
1969 *
1970 * @throws arcs::common_interface::AuboException
1971 *
1972 * @par Python函数原型
1973 * getToolFirmwareVersion(self: pyaubo_sdk.RobotState) -> int
1974 *
1975 * @par Lua函数原型
1976 * getToolFirmwareVersion() -> number
1977 *
1978 * @par Lua示例
1979 * ToolFirmwareVersion = getToolFirmwareVersion()
1980 *
1981 * @par JSON-RPC请求示例
1982 * {"jsonrpc":"2.0","method":"rob1.RobotState.getToolFirmwareVersion","params":[],"id":1}
1983 *
1984 * @par JSON-RPC响应示例
1985 * {"id":1,"jsonrpc":"2.0","result":1001003}
1986 * \endchinese
1987 * \english
1988 * Get the tool firmware version
1989 *
1990 * @return Tool firmware version
1991 *
1992 * @throws arcs::common_interface::AuboException
1993 *
1994 * @par Python function prototype
1995 * getToolFirmwareVersion(self: pyaubo_sdk.RobotState) -> int
1996 *
1997 * @par Lua function prototype
1998 * getToolFirmwareVersion() -> number
1999 *
2000 * @par Lua example
2001 * ToolFirmwareVersion = getToolFirmwareVersion()
2002 *
2003 * @par JSON-RPC request example
2004 * {"jsonrpc":"2.0","method":"rob1.RobotState.getToolFirmwareVersion","params":[],"id":1}
2005 *
2006 * @par JSON-RPC response example
2007 * {"id":1,"jsonrpc":"2.0","result":1001003}
2008 * \endenglish
2009 */
2011
2012 /**
2013 * \chinese
2014 * 获取工具端硬件版本
2015 *
2016 * @return 工具端硬件版本
2017 *
2018 * @throws arcs::common_interface::AuboException
2019 *
2020 * @par Python函数原型
2021 * getToolHardwareVersion(self: pyaubo_sdk.RobotState) -> int
2022 *
2023 * @par Lua函数原型
2024 * getToolHardwareVersion() -> number
2025 *
2026 * @par Lua示例
2027 * ToolHardwareVersion = getToolHardwareVersion()
2028 *
2029 * @par JSON-RPC请求示例
2030 * {"jsonrpc":"2.0","method":"rob1.RobotState.getToolHardwareVersion","params":[],"id":1}
2031 *
2032 * @par JSON-RPC响应示例
2033 * {"id":1,"jsonrpc":"2.0","result":1000000}
2034 * \endchinese
2035 * \english
2036 * Get the tool hardware version
2037 *
2038 * @return Tool hardware version
2039 *
2040 * @throws arcs::common_interface::AuboException
2041 *
2042 * @par Python function prototype
2043 * getToolHardwareVersion(self: pyaubo_sdk.RobotState) -> int
2044 *
2045 * @par Lua function prototype
2046 * getToolHardwareVersion() -> number
2047 *
2048 * @par Lua example
2049 * ToolHardwareVersion = getToolHardwareVersion()
2050 *
2051 * @par JSON-RPC request example
2052 * {"jsonrpc":"2.0","method":"rob1.RobotState.getToolHardwareVersion","params":[],"id":1}
2053 *
2054 * @par JSON-RPC response example
2055 * {"id":1,"jsonrpc":"2.0","result":1000000}
2056 * \endenglish
2057 */
2059
2060 /**
2061 * \chinese
2062 * 获取末端通信模式
2063 *
2064 * @return 末端通信模式
2065 * 0: 表示无串口
2066 * 1: 表示只有串口
2067 * 2: 表示带力传感器和串口
2068 *
2069 * @throws arcs::common_interface::AuboException
2070 *
2071 * @par Python函数原型
2072 * getToolCommMode(self: pyaubo_sdk.RobotState) -> int
2073 *
2074 * @par Lua函数原型
2075 * getToolCommMode() -> number
2076 *
2077 * @par Lua示例
2078 * ToolCommMode = getToolCommMode()
2079 *
2080 * @par JSON-RPC请求示例
2081 * {"jsonrpc":"2.0","method":"rob1.RobotState.getToolCommMode","params":[],"id":1}
2082 *
2083 * @par JSON-RPC响应示例
2084 * {"id":1,"jsonrpc":"2.0","result":1}
2085 * \endchinese
2086 * \english
2087 * Get the tool communication mode
2088 *
2089 * @return Tool communication mode
2090 * 0: No serial port
2091 * 1: Serial port only
2092 * 2: With force sensor and serial port
2093 *
2094 * @throws arcs::common_interface::AuboException
2095 *
2096 * @par Python function prototype
2097 * getToolCommMode(self: pyaubo_sdk.RobotState) -> int
2098 *
2099 * @par Lua function prototype
2100 * getToolCommMode() -> number
2101 *
2102 * @par Lua example
2103 * ToolCommMode = getToolCommMode()
2104 *
2105 * @par JSON-RPC request example
2106 * {"jsonrpc":"2.0","method":"rob1.RobotState.getToolCommMode","params":[],"id":1}
2107 *
2108 * @par JSON-RPC response example
2109 * {"id":1,"jsonrpc":"2.0","result":1}
2110 * \endenglish
2111 */
2113
2114 /**
2115 * \chinese
2116 * 获取底座全球唯一ID
2117 *
2118 * @return 底座全球唯一ID
2119 *
2120 * @throws arcs::common_interface::AuboException
2121 *
2122 * @par Python函数原型
2123 * getPedestalUniqueId(self: pyaubo_sdk.RobotState) -> str
2124 *
2125 * @par Lua函数原型
2126 * getPedestalUniqueId() -> string
2127 *
2128 * @par Lua示例
2129 * PedestalUniqueId = getPedestalUniqueId()
2130 *
2131 * @par JSON-RPC请求示例
2132 * {"jsonrpc":"2.0","method":"rob1.RobotState.getPedestalUniqueId","params":[],"id":1}
2133 *
2134 * @par JSON-RPC响应示例
2135 * {"id":1,"jsonrpc":"2.0","result":"205257533543065248544339"}
2136 * \endchinese
2137 * \english
2138 * Get the globally unique ID of the pedestal
2139 *
2140 * @return Globally unique ID of the pedestal
2141 *
2142 * @throws arcs::common_interface::AuboException
2143 *
2144 * @par Python function prototype
2145 * getPedestalUniqueId(self: pyaubo_sdk.RobotState) -> str
2146 *
2147 * @par Lua function prototype
2148 * getPedestalUniqueId() -> string
2149 *
2150 * @par Lua example
2151 * PedestalUniqueId = getPedestalUniqueId()
2152 *
2153 * @par JSON-RPC request example
2154 * {"jsonrpc":"2.0","method":"rob1.RobotState.getPedestalUniqueId","params":[],"id":1}
2155 *
2156 * @par JSON-RPC response example
2157 * {"id":1,"jsonrpc":"2.0","result":"205257533543065248544339"}
2158 * \endenglish
2159 */
2160 std::string getPedestalUniqueId();
2161
2162 /**
2163 * \chinese
2164 * 获取底座固件版本
2165 *
2166 * @return 底座固件版本
2167 *
2168 * @throws arcs::common_interface::AuboException
2169 *
2170 * @par Python函数原型
2171 * getPedestalFirmwareVersion(self: pyaubo_sdk.RobotState) -> int
2172 *
2173 * @par Lua函数原型
2174 * getPedestalFirmwareVersion() -> number
2175 *
2176 * @par Lua示例
2177 * PedestalFirmwareVersion = getPedestalFirmwareVersion()
2178 *
2179 * @par JSON-RPC请求示例
2180 * {"jsonrpc":"2.0","method":"rob1.RobotState.getPedestalFirmwareVersion","params":[],"id":1}
2181 *
2182 * @par JSON-RPC响应示例
2183 * {"id":1,"jsonrpc":"2.0","result":1000004}
2184 * \endchinese
2185 * \english
2186 * Get the pedestal firmware version
2187 *
2188 * @return Pedestal firmware version
2189 *
2190 * @throws arcs::common_interface::AuboException
2191 *
2192 * @par Python function prototype
2193 * getPedestalFirmwareVersion(self: pyaubo_sdk.RobotState) -> int
2194 *
2195 * @par Lua function prototype
2196 * getPedestalFirmwareVersion() -> number
2197 *
2198 * @par Lua example
2199 * PedestalFirmwareVersion = getPedestalFirmwareVersion()
2200 *
2201 * @par JSON-RPC request example
2202 * {"jsonrpc":"2.0","method":"rob1.RobotState.getPedestalFirmwareVersion","params":[],"id":1}
2203 *
2204 * @par JSON-RPC response example
2205 * {"id":1,"jsonrpc":"2.0","result":1000004}
2206 * \endenglish
2207 */
2209
2210 /**
2211 * \chinese
2212 * 获取底座硬件版本
2213 *
2214 * @return 底座硬件版本
2215 *
2216 * @throws arcs::common_interface::AuboException
2217 *
2218 * @par Python函数原型
2219 * getPedestalHardwareVersion(self: pyaubo_sdk.RobotState) -> int
2220 *
2221 * @par Lua函数原型
2222 * getPedestalHardwareVersion() -> number
2223 *
2224 * @par Lua示例
2225 * PedestalHardwareVersion = getPedestalHardwareVersion()
2226 *
2227 * @par JSON-RPC请求示例
2228 * {"jsonrpc":"2.0","method":"rob1.RobotState.getPedestalHardwareVersion","params":[],"id":1}
2229 *
2230 * @par JSON-RPC响应示例
2231 * {"id":1,"jsonrpc":"2.0","result":1007000}
2232 * \endchinese
2233 * \english
2234 * Get the pedestal hardware version
2235 *
2236 * @return Pedestal hardware version
2237 *
2238 * @throws arcs::common_interface::AuboException
2239 *
2240 * @par Python function prototype
2241 * getPedestalHardwareVersion(self: pyaubo_sdk.RobotState) -> int
2242 *
2243 * @par Lua function prototype
2244 * getPedestalHardwareVersion() -> number
2245 *
2246 * @par Lua example
2247 * PedestalHardwareVersion = getPedestalHardwareVersion()
2248 *
2249 * @par JSON-RPC request example
2250 * {"jsonrpc":"2.0","method":"rob1.RobotState.getPedestalHardwareVersion","params":[],"id":1}
2251 *
2252 * @par JSON-RPC response example
2253 * {"id":1,"jsonrpc":"2.0","result":1007000}
2254 * \endenglish
2255 */
2257
2258 /**
2259 * \chinese
2260 * 获取机械臂关节目标位置角度
2261 *
2262 * @return 机械臂关节目标位置角度
2263 *
2264 * @throws arcs::common_interface::AuboException
2265 *
2266 * @par Python函数原型
2267 * getJointTargetPositions(self: pyaubo_sdk.RobotState) -> List[float]
2268 *
2269 * @par Lua函数原型
2270 * getJointTargetPositions() -> table
2271 *
2272 * @par Lua示例
2273 * JointTargetPositions = getJointTargetPositions()
2274 *
2275 * @par JSON-RPC请求示例
2276 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTargetPositions","params":[],"id":1}
2277 *
2278 * @par JSON-RPC响应示例
2279 * {"id":1,"jsonrpc":"2.0","result":[0.0,-0.2619944355631239,1.7418124015308052,0.4330219266665035,1.5707963267948966,0.0]}
2280 * \endchinese
2281 * \english
2282 * Get the target joint positions (angles) of the manipulator
2283 *
2284 * @return Target joint positions (angles) of the manipulator
2285 *
2286 * @throws arcs::common_interface::AuboException
2287 *
2288 * @par Python function prototype
2289 * getJointTargetPositions(self: pyaubo_sdk.RobotState) -> List[float]
2290 *
2291 * @par Lua function prototype
2292 * getJointTargetPositions() -> table
2293 *
2294 * @par Lua example
2295 * JointTargetPositions = getJointTargetPositions()
2296 *
2297 * @par JSON-RPC request example
2298 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTargetPositions","params":[],"id":1}
2299 *
2300 * @par JSON-RPC response example
2301 * {"id":1,"jsonrpc":"2.0","result":[0.0,-0.2619944355631239,1.7418124015308052,0.4330219266665035,1.5707963267948966,0.0]}
2302 * \endenglish
2303 */
2304 std::vector<double> getJointTargetPositions();
2305
2306 /**
2307 * \chinese
2308 * 获取机械臂关节目标速度
2309 *
2310 * @return 机械臂关节目标速度
2311 *
2312 * @throws arcs::common_interface::AuboException
2313 *
2314 * @par Python函数原型
2315 * getJointTargetSpeeds(self: pyaubo_sdk.RobotState) -> List[float]
2316 *
2317 * @par Lua函数原型
2318 * getJointTargetSpeeds() -> table
2319 *
2320 * @par Lua示例
2321 * JointTargetSpeeds = getJointTargetSpeeds()
2322 *
2323 * @par JSON-RPC请求示例
2324 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTargetSpeeds","params":[],"id":1}
2325 *
2326 * @par JSON-RPC响应示例
2327 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.00024227101509399773,0.0016521760307419697,0.0026521060731088397,0.0,0.0]}
2328 * \endchinese
2329 * \english
2330 * Get the target joint speeds of the manipulator
2331 *
2332 * @return Target joint speeds of the manipulator
2333 *
2334 * @throws arcs::common_interface::AuboException
2335 *
2336 * @par Python function prototype
2337 * getJointTargetSpeeds(self: pyaubo_sdk.RobotState) -> List[float]
2338 *
2339 * @par Lua function prototype
2340 * getJointTargetSpeeds() -> table
2341 *
2342 * @par Lua example
2343 * JointTargetSpeeds = getJointTargetSpeeds()
2344 *
2345 * @par JSON-RPC request example
2346 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTargetSpeeds","params":[],"id":1}
2347 *
2348 * @par JSON-RPC response example
2349 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.00024227101509399773,0.0016521760307419697,0.0026521060731088397,0.0,0.0]}
2350 * \endenglish
2351 */
2352 std::vector<double> getJointTargetSpeeds();
2353
2354 /**
2355 * \chinese
2356 * 获取机械臂关节目标加速度
2357 *
2358 * @return 机械臂关节目标加速度
2359 *
2360 * @throws arcs::common_interface::AuboException
2361 *
2362 * @par Python函数原型
2363 * getJointTargetAccelerations(self: pyaubo_sdk.RobotState) -> List[float]
2364 *
2365 * @par Lua函数原型
2366 * getJointTargetAccelerations() -> table
2367 *
2368 * @par Lua示例
2369 * JointTargetAccelerations = getJointTargetAccelerations()
2370 *
2371 * @par JSON-RPC请求示例
2372 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTargetAccelerations","params":[],"id":1}
2373 *
2374 * @par JSON-RPC响应示例
2375 * {"id":1,"jsonrpc":"2.0","result":[0.0,-0.6737932929246071,-12.610253240108449,0.0,0.0,0.0]}
2376 * \endchinese
2377 * \english
2378 * Get the target joint accelerations of the manipulator
2379 *
2380 * @return Target joint accelerations of the manipulator
2381 *
2382 * @throws arcs::common_interface::AuboException
2383 *
2384 * @par Python function prototype
2385 * getJointTargetAccelerations(self: pyaubo_sdk.RobotState) -> List[float]
2386 *
2387 * @par Lua function prototype
2388 * getJointTargetAccelerations() -> table
2389 *
2390 * @par Lua example
2391 * JointTargetAccelerations = getJointTargetAccelerations()
2392 *
2393 * @par JSON-RPC request example
2394 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTargetAccelerations","params":[],"id":1}
2395 *
2396 * @par JSON-RPC response example
2397 * {"id":1,"jsonrpc":"2.0","result":[0.0,-0.6737932929246071,-12.610253240108449,0.0,0.0,0.0]}
2398 * \endenglish
2399 */
2400 std::vector<double> getJointTargetAccelerations();
2401
2402 /**
2403 * \chinese
2404 * 获取机械臂关节目标力矩
2405 *
2406 * @return 机械臂关节目标力矩
2407 *
2408 * @throws arcs::common_interface::AuboException
2409 *
2410 * @par Python函数原型
2411 * getJointTargetTorques(self: pyaubo_sdk.RobotState) -> List[float]
2412 *
2413 * @par Lua函数原型
2414 * getJointTargetTorques() -> table
2415 *
2416 * @par Lua示例
2417 * JointTargetTorques = getJointTargetTorques()
2418 *
2419 * @par JSON-RPC请求示例
2420 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTargetTorques","params":[],"id":1}
2421 *
2422 * @par JSON-RPC响应示例
2423 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
2424 * \endchinese
2425 * \english
2426 * Get the target joint torques of the manipulator
2427 *
2428 * @return Target joint torques of the manipulator
2429 *
2430 * @throws arcs::common_interface::AuboException
2431 *
2432 * @par Python function prototype
2433 * getJointTargetTorques(self: pyaubo_sdk.RobotState) -> List[float]
2434 *
2435 * @par Lua function prototype
2436 * getJointTargetTorques() -> table
2437 *
2438 * @par Lua example
2439 * JointTargetTorques = getJointTargetTorques()
2440 *
2441 * @par JSON-RPC request example
2442 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTargetTorques","params":[],"id":1}
2443 *
2444 * @par JSON-RPC response example
2445 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
2446 * \endenglish
2447 */
2448 std::vector<double> getJointTargetTorques();
2449
2450 /**
2451 * \chinese
2452 * 获取机械臂关节目标电流
2453 *
2454 * @return 机械臂关节目标电流
2455 *
2456 * @throws arcs::common_interface::AuboException
2457 *
2458 * @par Python函数原型
2459 * getJointTargetCurrents(self: pyaubo_sdk.RobotState) -> List[float]
2460 *
2461 * @par Lua函数原型
2462 * getJointTargetCurrents() -> table
2463 *
2464 * @par Lua示例
2465 * JointTargetCurrents = getJointTargetCurrents()
2466 *
2467 * @par JSON-RPC请求示例
2468 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTargetCurrents","params":[],"id":1}
2469 *
2470 * @par JSON-RPC响应示例
2471 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
2472 * \endchinese
2473 * \english
2474 * Get the target joint currents of the manipulator
2475 *
2476 * @return Target joint currents of the manipulator
2477 *
2478 * @throws arcs::common_interface::AuboException
2479 *
2480 * @par Python function prototype
2481 * getJointTargetCurrents(self: pyaubo_sdk.RobotState) -> List[float]
2482 *
2483 * @par Lua function prototype
2484 * getJointTargetCurrents() -> table
2485 *
2486 * @par Lua example
2487 * JointTargetCurrents = getJointTargetCurrents()
2488 *
2489 * @par JSON-RPC request example
2490 * {"jsonrpc":"2.0","method":"rob1.RobotState.getJointTargetCurrents","params":[],"id":1}
2491 *
2492 * @par JSON-RPC response example
2493 * {"id":1,"jsonrpc":"2.0","result":[0.0,0.0,0.0,0.0,0.0,0.0]}
2494 * \endenglish
2495 */
2496 std::vector<double> getJointTargetCurrents();
2497
2498 /**
2499 * \chinese
2500 * 获取示教器是否已启用
2501 * 指示教器使能按钮是否处于按下状态
2502 *
2503 * @return 按下示教器使能按钮返回 false; 反之返回 true
2504 *
2505 * @throws arcs::common_interface::AuboException
2506 *
2507 * @par Python函数原型
2508 * isTeachPendantEnabled(self: pyaubo_sdk.RobotState) -> bool
2509 *
2510 * @par Lua函数原型
2511 * isTeachPendantEnabled() -> boolean
2512 *
2513 * @par Lua示例
2514 * TeachPendantEnabled = isTeachPendantEnabled()
2515 *
2516 * @par JSON-RPC请求示例
2517 * {"jsonrpc":"2.0","method":"rob1.RobotState.isTeachPendantEnabled","params":[],"id":1}
2518 *
2519 * @par JSON-RPC响应示例
2520 * {"id":1,"jsonrpc":"2.0","result":true}
2521 * \endchinese
2522 * \english
2523 * Get whether the teach pendant is enabled.
2524 * Indicates whether the enable button of teach pendant is in the pressed
2525 * state.
2526 *
2527 * @return Returns false if the enable button of teach pendant is pressed;
2528 * otherwise returns true
2529 *
2530 * @throws arcs::common_interface::AuboException
2531 *
2532 * @par Python function prototype
2533 * isTeachPendantEnabled(self: pyaubo_sdk.RobotState) -> bool
2534 *
2535 * @par Lua function prototype
2536 * isTeachPendantEnabled() -> boolean
2537 *
2538 * @par Lua example
2539 * TeachPendantEnabled = isTeachPendantEnabled()
2540 *
2541 * @par JSON-RPC request example
2542 * {"jsonrpc":"2.0","method":"rob1.RobotState.isTeachPendantEnabled","params":[],"id":1}
2543 *
2544 * @par JSON-RPC response example
2545 * {"id":1,"jsonrpc":"2.0","result":true}
2546 * \endenglish
2547 */
2549
2550 /**
2551 * \chinese
2552 * 获取机械臂末端是否已启用
2553 *
2554 * @return 无末端返回 false; 有末端返回 true
2555 *
2556 * @throws arcs::common_interface::AuboException
2557 *
2558 * @par Python函数原型
2559 * isToolFlangeEnabled(self: pyaubo_sdk.RobotState) -> bool
2560 *
2561 * @par Lua函数原型
2562 * isToolFlangeEnabled() -> boolean
2563 *
2564 * @par Lua示例
2565 * toolEnabled = isToolFlangeEnabled()
2566 *
2567 * @par JSON-RPC请求示例
2568 * {"jsonrpc":"2.0","method":"rob1.RobotState.isToolFlangeEnabled","params":[],"id":1}
2569 *
2570 * @par JSON-RPC响应示例
2571 * {"id":1,"jsonrpc":"2.0","result":true}
2572 * \endchinese
2573 * \english
2574 * Get whether the tool flange is enabled.
2575 *
2576 * @return Returns false if the tool flange is disabled; otherwise returns
2577 * true
2578 *
2579 * @throws arcs::common_interface::AuboException
2580 *
2581 * @par Python function prototype
2582 * isToolFlangeEnabled(self: pyaubo_sdk.RobotState) -> bool
2583 *
2584 * @par Lua function prototype
2585 * isToolFlangeEnabled() -> boolean
2586 *
2587 * @par Lua example
2588 * toolEnabled = isToolFlangeEnabled()
2589 *
2590 * @par JSON-RPC request example
2591 * {"jsonrpc":"2.0","method":"rob1.RobotState.isToolFlangeEnabled","params":[],"id":1}
2592 *
2593 * @par JSON-RPC response example
2594 * {"id":1,"jsonrpc":"2.0","result":true}
2595 * \endenglish
2596 */
2598
2599 /**
2600 * \chinese
2601 * 获取控制柜温度
2602 *
2603 * @return 控制柜温度
2604 *
2605 * @throws arcs::common_interface::AuboException
2606 *
2607 * @par Python函数原型
2608 * getControlBoxTemperature(self: pyaubo_sdk.RobotState) -> float
2609 *
2610 * @par Lua函数原型
2611 * getControlBoxTemperature() -> number
2612 *
2613 * @par Lua示例
2614 * ControlBoxTemperature = getControlBoxTemperature()
2615 *
2616 * @par JSON-RPC请求示例
2617 * {"jsonrpc":"2.0","method":"rob1.RobotState.getControlBoxTemperature","params":[],"id":1}
2618 *
2619 * @par JSON-RPC响应示例
2620 * {"id":1,"jsonrpc":"2.0","result":25.0}
2621 * \endchinese
2622 * \english
2623 * Get the control box temperature
2624 *
2625 * @return Control box temperature
2626 *
2627 * @throws arcs::common_interface::AuboException
2628 *
2629 * @par Python function prototype
2630 * getControlBoxTemperature(self: pyaubo_sdk.RobotState) -> float
2631 *
2632 * @par Lua function prototype
2633 * getControlBoxTemperature() -> number
2634 *
2635 * @par Lua example
2636 * ControlBoxTemperature = getControlBoxTemperature()
2637 *
2638 * @par JSON-RPC request example
2639 * {"jsonrpc":"2.0","method":"rob1.RobotState.getControlBoxTemperature","params":[],"id":1}
2640 *
2641 * @par JSON-RPC response example
2642 * {"id":1,"jsonrpc":"2.0","result":25.0}
2643 * \endenglish
2644 */
2646
2647 /**
2648 * \chinese
2649 * 获取控制柜湿度
2650 *
2651 * @return 控制柜湿度
2652 *
2653 * @throws arcs::common_interface::AuboException
2654 *
2655 * @par Python函数原型
2656 * getControlBoxHumidity(self: pyaubo_sdk.RobotState) -> float
2657 *
2658 * @par Lua函数原型
2659 * getControlBoxHumidity() -> number
2660 *
2661 * @par Lua示例
2662 * ControlBoxHumidity = getControlBoxHumidity()
2663 *
2664 * @par JSON-RPC请求示例
2665 * {"jsonrpc":"2.0","method":"rob1.RobotState.getControlBoxHumidity","params":[],"id":1}
2666 *
2667 * @par JSON-RPC响应示例
2668 * {"id":1,"jsonrpc":"2.0","result":20.0}
2669 * \endchinese
2670 * \english
2671 * Get the control box humidity
2672 *
2673 * @return Control box humidity
2674 *
2675 * @throws arcs::common_interface::AuboException
2676 *
2677 * @par Python function prototype
2678 * getControlBoxHumidity(self: pyaubo_sdk.RobotState) -> float
2679 *
2680 * @par Lua function prototype
2681 * getControlBoxHumidity() -> number
2682 *
2683 * @par Lua example
2684 * ControlBoxHumidity = getControlBoxHumidity()
2685 *
2686 * @par JSON-RPC request example
2687 * {"jsonrpc":"2.0","method":"rob1.RobotState.getControlBoxHumidity","params":[],"id":1}
2688 *
2689 * @par JSON-RPC response example
2690 * {"id":1,"jsonrpc":"2.0","result":20.0}
2691 * \endenglish
2692 */
2694
2695 /**
2696 * \chinese
2697 * 获取母线电压
2698 *
2699 * @return 母线电压
2700 *
2701 * @throws arcs::common_interface::AuboException
2702 *
2703 * @par Python函数原型
2704 * getMainVoltage(self: pyaubo_sdk.RobotState) -> float
2705 *
2706 * @par Lua函数原型
2707 * getMainVoltage() -> number
2708 *
2709 * @par Lua示例
2710 * MainVoltage = getMainVoltage()
2711 *
2712 * @par JSON-RPC请求示例
2713 * {"jsonrpc":"2.0","method":"rob1.RobotState.getMainVoltage","params":[],"id":1}
2714 *
2715 * @par JSON-RPC响应示例
2716 * {"id":1,"jsonrpc":"2.0","result":52.75}
2717 * \endchinese
2718 * \english
2719 * Get the main bus voltage
2720 *
2721 * @return Main bus voltage
2722 *
2723 * @throws arcs::common_interface::AuboException
2724 *
2725 * @par Python function prototype
2726 * getMainVoltage(self: pyaubo_sdk.RobotState) -> float
2727 *
2728 * @par Lua function prototype
2729 * getMainVoltage() -> number
2730 *
2731 * @par Lua example
2732 * MainVoltage = getMainVoltage()
2733 *
2734 * @par JSON-RPC request example
2735 * {"jsonrpc":"2.0","method":"rob1.RobotState.getMainVoltage","params":[],"id":1}
2736 *
2737 * @par JSON-RPC response example
2738 * {"id":1,"jsonrpc":"2.0","result":52.75}
2739 * \endenglish
2740 */
2742
2743 /**
2744 * \chinese
2745 * 获取母线电流
2746 *
2747 * @return 母线电流
2748 *
2749 * @throws arcs::common_interface::AuboException
2750 *
2751 * @par Python函数原型
2752 * getMainCurrent(self: pyaubo_sdk.RobotState) -> float
2753 *
2754 * @par Lua函数原型
2755 * getMainCurrent() -> number
2756 *
2757 * @par Lua示例
2758 * MainCurrent = getMainCurrent()
2759 *
2760 * @par JSON-RPC请求示例
2761 * {"jsonrpc":"2.0","method":"rob1.RobotState.getMainCurrent","params":[],"id":1}
2762 *
2763 * @par JSON-RPC响应示例
2764 * {"id":1,"jsonrpc":"2.0","result":0.3204345703125}
2765 * \endchinese
2766 * \english
2767 * Get the main bus current
2768 *
2769 * @return Main bus current
2770 *
2771 * @throws arcs::common_interface::AuboException
2772 *
2773 * @par Python function prototype
2774 * getMainCurrent(self: pyaubo_sdk.RobotState) -> float
2775 *
2776 * @par Lua function prototype
2777 * getMainCurrent() -> number
2778 *
2779 * @par Lua example
2780 * MainCurrent = getMainCurrent()
2781 *
2782 * @par JSON-RPC request example
2783 * {"jsonrpc":"2.0","method":"rob1.RobotState.getMainCurrent","params":[],"id":1}
2784 *
2785 * @par JSON-RPC response example
2786 * {"id":1,"jsonrpc":"2.0","result":0.3204345703125}
2787 * \endenglish
2788 */
2790
2791 /**
2792 * \chinese
2793 * 获取机器人电压
2794 *
2795 * @return 机器人电压
2796 *
2797 * @throws arcs::common_interface::AuboException
2798 *
2799 * @par Python函数原型
2800 * getRobotVoltage(self: pyaubo_sdk.RobotState) -> float
2801 *
2802 * @par Lua函数原型
2803 * getRobotVoltage() -> number
2804 *
2805 * @par Lua示例
2806 * RobotVoltage = getRobotVoltage()
2807 *
2808 * @par JSON-RPC请求示例
2809 * {"jsonrpc":"2.0","method":"rob1.RobotState.getRobotVoltage","params":[],"id":1}
2810 *
2811 * @par JSON-RPC响应示例
2812 * {"id":1,"jsonrpc":"2.0","result":52.75}
2813 * \endchinese
2814 * \english
2815 * Get the robot voltage
2816 *
2817 * @return Robot voltage
2818 *
2819 * @throws arcs::common_interface::AuboException
2820 *
2821 * @par Python function prototype
2822 * getRobotVoltage(self: pyaubo_sdk.RobotState) -> float
2823 *
2824 * @par Lua function prototype
2825 * getRobotVoltage() -> number
2826 *
2827 * @par Lua example
2828 * RobotVoltage = getRobotVoltage()
2829 *
2830 * @par JSON-RPC request example
2831 * {"jsonrpc":"2.0","method":"rob1.RobotState.getRobotVoltage","params":[],"id":1}
2832 *
2833 * @par JSON-RPC response example
2834 * {"id":1,"jsonrpc":"2.0","result":52.75}
2835 * \endenglish
2836 */
2838
2839 /**
2840 * \chinese
2841 * 获取机器人电流
2842 *
2843 * @return 机器人电流
2844 *
2845 * @throws arcs::common_interface::AuboException
2846 *
2847 * @par Python函数原型
2848 * getRobotCurrent(self: pyaubo_sdk.RobotState) -> float
2849 *
2850 * @par Lua函数原型
2851 * getRobotCurrent() -> number
2852 *
2853 * @par Lua示例
2854 * RobotCurrent = getRobotCurrent()
2855 *
2856 * @par JSON-RPC请求示例
2857 * {"jsonrpc":"2.0","method":"rob1.RobotState.getRobotCurrent","params":[],"id":1}
2858 *
2859 * @par JSON-RPC响应示例
2860 * {"id":1,"jsonrpc":"2.0","result":0.3204345703125}
2861 * \endchinese
2862 * \english
2863 * Get the robot current
2864 *
2865 * @return Robot current
2866 *
2867 * @throws arcs::common_interface::AuboException
2868 *
2869 * @par Python function prototype
2870 * getRobotCurrent(self: pyaubo_sdk.RobotState) -> float
2871 *
2872 * @par Lua function prototype
2873 * getRobotCurrent() -> number
2874 *
2875 * @par Lua example
2876 * RobotCurrent = getRobotCurrent()
2877 *
2878 * @par JSON-RPC request example
2879 * {"jsonrpc":"2.0","method":"rob1.RobotState.getRobotCurrent","params":[],"id":1}
2880 *
2881 * @par JSON-RPC response example
2882 * {"id":1,"jsonrpc":"2.0","result":0.3204345703125}
2883 * \endenglish
2884 */
2886
2887 /**
2888 * \chinese
2889 * 获取机器人缓速等级
2890 *
2891 * @return 机器人缓速等级
2892 *
2893 * @throws arcs::common_interface::AuboException
2894 *
2895 * @par JSON-RPC请求示例
2896 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSlowDownLevel","params":[],"id":1}
2897 *
2898 * @par JSON-RPC响应示例
2899 * {"id":1,"jsonrpc":"2.0","result":0}
2900 * \endchinese
2901 * \english
2902 * Get the robot slow down level
2903 *
2904 * @return Robot slow down level
2905 *
2906 * @throws arcs::common_interface::AuboException
2907 *
2908 * @par JSON-RPC request example
2909 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSlowDownLevel","params":[],"id":1}
2910 *
2911 * @par JSON-RPC response example
2912 * {"id":1,"jsonrpc":"2.0","result":0}
2913 * \endenglish
2914 */
2916
2917 /**
2918 * \chinese
2919 * 获取末端力传感器通信状态
2920 *
2921 * @param name 力传感器名称,与 selectTcpForceSensor 的参数一致
2922 * @return 通信正常返回 true; 反之返回 false
2923 *
2924 * @throws arcs::common_interface::AuboException
2925 *
2926 * @par JSON-RPC请求示例
2927 * {"jsonrpc":"2.0","method":"rob1.RobotState.getTcpForceSensorStatus","params":["tool.KWR75A"],"id":1}
2928 *
2929 * @par JSON-RPC响应示例
2930 * {"id":1,"jsonrpc":"2.0","result":0}
2931 * \endchinese
2932 * \english
2933 * Get the communication status of the tool force sensor
2934 *
2935 * @param name force sensor name, it is consistent with the parameters of
2936 * 'selectTcpForceSensor'
2937 * @return Returns true if communication is normal; otherwise returns false
2938 *
2939 * @throws arcs::common_interface::AuboException
2940 *
2941 * @par JSON-RPC request example
2942 * {"jsonrpc":"2.0","method":"rob1.RobotState.getSlowDownLevel","params":["tool.KWR75A"],"id":1}
2943 *
2944 * @par JSON-RPC response example
2945 * {"id":1,"jsonrpc":"2.0","result":0}
2946 * \endenglish
2947 */
2948 bool getTcpForceSensorStatus(const std::string &name);
2949
2950protected:
2951 void *d_;
2952};
2953using RobotStatePtr = std::shared_ptr<RobotState>;
2954} // namespace common_interface
2955} // namespace arcs
2956#endif // AUBO_SDK_ROBOT_STATE_INTERFACE_H
std::string getToolUniqueId()
Get the globally unique ID of the tool
bool isTeachPendantEnabled()
Get whether the teach pendant is enabled.
int getToolFirmwareVersion()
Get the tool firmware version
std::vector< double > getJointTargetAccelerations()
Get the target joint accelerations of the manipulator
std::vector< double > getJointTargetTorques()
Get the target joint torques of the manipulator
std::vector< double > getJointTargetCurrents()
Get the target joint currents of the manipulator
std::vector< double > getTcpSpeed()
Get the TCP speed
bool getTcpForceSensorStatus(const std::string &name)
Get the communication status of the tool force sensor
std::vector< JointServoModeType > getJointServoMode()
Get the servo state of the joints
int getSlowDownLevel()
Get the robot slow down level
std::vector< double > getBaseForce()
Get the base force/torque
std::vector< double > getTcpForce()
Get the TCP force/torque
std::vector< double > getJointTargetPositions()
Get the target joint positions (angles) of the manipulator
std::vector< double > getJointSpeeds()
Get the joint speeds of the manipulator
bool isWithinSafetyLimits()
Whether the robot is within safety limits
std::vector< double > getJointTargetSpeeds()
Get the target joint speeds of the manipulator
std::vector< double > getJointCurrents()
Get the joint currents of the manipulator
int getPedestalFirmwareVersion()
Get the pedestal firmware version
double getRobotVoltage()
Get the robot voltage
std::vector< double > getTcpTargetPose()
Get the last sent TCP target pose
double getMainCurrent()
Get the main bus current
bool isToolFlangeEnabled()
Get whether the tool flange is enabled.
std::vector< double > getJointPositionsHistory(int steps)
Get the historical joint positions of the manipulator
SafetyModeType getSafetyModeType()
Get the safety mode
double getControlBoxHumidity()
Get the control box humidity
bool isSteady()
Whether the robot has stopped
std::string getSlaveBoardUniqueId()
Get the globally unique ID of the SlaveBoard
bool isPowerOn()
Get the robot power-on state
std::vector< double > getActualTcpOffset()
Get the current TCP offset, which is the TCP offset used by the pose returned from getTcpPose
int getToolHardwareVersion()
Get the tool hardware version
bool isCollisionOccurred()
Whether a collision has occurred
std::vector< std::string > getJointUniqueIds()
Get the globally unique IDs of the joints
std::vector< double > getTargetTcpPose()
Get the next target waypoint.
int getMasterBoardFirmwareVersion()
Get the MasterBoard firmware version
std::vector< double > getToolPose()
Get the tool pose (without TCP offset)
int getSlaveBoardFirmwareVersion()
Get the SlaveBoard firmware version
int getToolCommMode()
Get the tool communication mode
std::string getPedestalUniqueId()
Get the globally unique ID of the pedestal
std::vector< JointStateType > getJointState()
Get the joint state of the manipulator
std::vector< double > getElbowPosistion()
Get the position of the elbow
double getControlBoxTemperature()
Get the control box temperature
std::vector< double > getJointAccelerations()
Get the joint accelerations of the manipulator
std::vector< double > getElbowVelocity()
Get the elbow velocity
std::vector< double > getJointContactTorques()
Get the joint contact torques (external torques) of the manipulator
std::vector< double > getBaseForceSensor()
Get the base force sensor readings
std::vector< double > getTcpTargetSpeed()
Get the TCP target speed
double getRobotCurrent()
Get the robot current
double getMainVoltage()
Get the main bus voltage
std::vector< double > getTcpForceSensors()
Get the TCP force sensor readings
std::vector< double > getJointTemperatures()
Get the joint temperatures of the manipulator
int getPedestalHardwareVersion()
Get the pedestal hardware version
int getMasterBoardHardwareVersion()
Get the MasterBoard hardware version
std::vector< double > getJointPositions()
Get the joint positions of the manipulator
std::vector< double > getTcpPose()
Get the current TCP pose.
std::vector< int > getJointHardwareVersions()
Get the joint hardware versions
std::vector< double > getTcpTargetForce()
Get the TCP target force/torque
int getSlaveBoardHardwareVersion()
Get the SlaveBoard hardware version
std::string getMasterBoardUniqueId()
Get the globally unique ID of the MasterBoard
RobotModeType getRobotModeType()
Get the robot mode state
std::vector< double > getJointTorqueSensors()
Get the joint torques of the manipulator
std::vector< double > getJointVoltages()
Get the joint voltages of the manipulator
std::vector< int > getJointFirmwareVersions()
Get the joint firmware versions
SafetyModeType
Safety Mode.
Definition type_def.h:550
std::shared_ptr< RobotState > RobotStatePtr
enum type definitions