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