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