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