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