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