AUBO SDK  0.26.0
io_control.h
Go to the documentation of this file.
1/** @file io_control.h
2 * @brief IO控制接口
3 */
4#ifndef AUBO_SDK_IO_CONTROL_INTERFACE_H
5#define AUBO_SDK_IO_CONTROL_INTERFACE_H
6
7#include <vector>
8#include <thread>
9#include <string>
10
11#include <aubo/global_config.h>
12#include <aubo/type_def.h>
13
14namespace arcs {
15namespace common_interface {
16
17/**
18 * @defgroup IoControl IoControl (IO输入输出控制)
19 * @ingroup RobotInterface
20 * \chinese
21 * IoControl类提供了一系列的接口对机器人标配的一些数字、模拟IO进行配置,输出状态设置、读取
22 *
23 * 1. 获取各种IO的数量 \n
24 * 2. 配置IO的输入输出功能 \n
25 * 3. 可配置IO的配置 \n
26 * 4. 模拟IO的输入输出范围设置、读取
27 *
28 * 标准数字输入输出:控制柜IO面板上的标准IO \n
29 * 工具端数字输入输出:通过工具末端航插暴露的数字IO \n
30 * 可配置输入输出:可以配置为安全IO或者普通数字IO \n
31 * \endchinese
32 * \english
33 * The IoControl class provides a series of interfaces for configuring and
34 * reading the robot's standard digital and analog IO, as well as setting output
35 * states.
36 *
37 * 1. Get the number of various IOs \n
38 * 2. Configure IO input/output functions \n
39 * 3. Configuration of configurable IOs \n
40 * 4. Set and read the input/output range of analog IOs
41 *
42 * Standard digital input/output: Standard IOs on the control cabinet IO panel
43 * \n Tool digital input/output: Digital IOs exposed via the tool-end connector
44 * \n Configurable input/output: Can be configured as safety IO or general
45 * digital IO \n \endenglish
46 */
47class ARCS_ABI_EXPORT IoControl
48{
49public:
51 virtual ~IoControl();
52
53 /**
54 * @ingroup IoControl
55 * \chinese
56 * 获取标准数字输入数量
57 *
58 * @return 标准数字输入数量
59 *
60 * @throws arcs::common_interface::AuboException
61 *
62 * @par Python函数原型
63 * getStandardDigitalInputNum(self: pyaubo_sdk.IoControl) -> int
64 *
65 * @par Lua函数原型
66 * getStandardDigitalInputNum() -> number
67 *
68 * @par Lua示例
69 * num = getStandardDigitalInputNum()
70 *
71 * @par JSON-RPC请求示例
72 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalInputNum","params":[],"id":1}
73 *
74 * @par JSON-RPC响应示例
75 * {"id":1,"jsonrpc":"2.0","result":16}
76 *
77 * \endchinese
78 * \english
79 * Get the number of standard digital inputs.
80 *
81 * @return Number of standard digital inputs.
82 *
83 * @throws arcs::common_interface::AuboException
84 *
85 * @par Python function prototype
86 * getStandardDigitalInputNum(self: pyaubo_sdk.IoControl) -> int
87 *
88 * @par Lua function prototype
89 * getStandardDigitalInputNum() -> number
90 *
91 * @par Lua example
92 * num = getStandardDigitalInputNum()
93 *
94 * @par JSON-RPC request example
95 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalInputNum","params":[],"id":1}
96 *
97 * @par JSON-RPC response example
98 * {"id":1,"jsonrpc":"2.0","result":16}
99 *
100 * \endenglish
101 */
103
104 /**
105 * @ingroup IoControl
106 * \chinese
107 * 获取工具端数字IO数量(包括数字输入和数字输出)
108 *
109 * @return 工具端数字IO数量(包括数字输入和数字输出)
110 *
111 * @throws arcs::common_interface::AuboException
112 *
113 * @par Python函数原型
114 * getToolDigitalInputNum(self: pyaubo_sdk.IoControl) -> int
115 *
116 * @par Lua函数原型
117 * getToolDigitalInputNum() -> number
118 *
119 * @par Lua示例
120 * num = getStandardDigitalInputNum()
121 *
122 * @par JSON-RPC请求示例
123 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalInputNum","params":[],"id":1}
124 *
125 * @par JSON-RPC响应示例
126 * {"id":1,"jsonrpc":"2.0","result":4}
127 *
128 * \endchinese
129 * \english
130 * Get the number of tool digital IOs (including digital inputs and
131 * outputs).
132 *
133 * @return Number of tool digital IOs (including digital inputs and
134 * outputs).
135 *
136 * @throws arcs::common_interface::AuboException
137 *
138 * @par Python function prototype
139 * getToolDigitalInputNum(self: pyaubo_sdk.IoControl) -> int
140 *
141 * @par Lua function prototype
142 * getToolDigitalInputNum() -> number
143 *
144 * @par Lua example
145 * num = getStandardDigitalInputNum()
146 *
147 * @par JSON-RPC request example
148 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalInputNum","params":[],"id":1}
149 *
150 * @par JSON-RPC response example
151 * {"id":1,"jsonrpc":"2.0","result":4}
152 *
153 * \endenglish
154 */
156
157 /**
158 * @ingroup IoControl
159 * \chinese
160 * 获取可配置数字输入数量
161 *
162 * @return 可配置数字输入数量
163 *
164 * @throws arcs::common_interface::AuboException
165 *
166 * @par Python函数原型
167 * getConfigurableDigitalInputNum(self: pyaubo_sdk.IoControl) -> int
168 *
169 * @par Lua函数原型
170 * getConfigurableDigitalInputNum() -> number
171 *
172 * @par Lua示例
173 * num = getConfigurableDigitalInputNum()
174 *
175 * @par JSON-RPC请求示例
176 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalInputNum","params":[],"id":1}
177 *
178 * @par JSON-RPC响应示例
179 * {"id":1,"jsonrpc":"2.0","result":16}
180 *
181 * \endchinese
182 * \english
183 * Get the number of configurable digital inputs.
184 *
185 * @return Number of configurable digital inputs.
186 *
187 * @throws arcs::common_interface::AuboException
188 *
189 * @par Python function prototype
190 * getConfigurableDigitalInputNum(self: pyaubo_sdk.IoControl) -> int
191 *
192 * @par Lua function prototype
193 * getConfigurableDigitalInputNum() -> number
194 *
195 * @par Lua example
196 * num = getConfigurableDigitalInputNum()
197 *
198 * @par JSON-RPC request example
199 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalInputNum","params":[],"id":1}
200 *
201 * @par JSON-RPC response example
202 * {"id":1,"jsonrpc":"2.0","result":16}
203 *
204 * \endenglish
205 */
207
208 /**
209 * @ingroup IoControl
210 * \chinese
211 * 获取标准数字输出数量
212 *
213 * @return 标准数字输出数量
214 *
215 * @throws arcs::common_interface::AuboException
216 *
217 * @par Python函数原型
218 * getStandardDigitalOutputNum(self: pyaubo_sdk.IoControl) -> int
219 *
220 * @par Lua函数原型
221 * getStandardDigitalOutputNum() -> number
222 *
223 * @par Lua示例
224 * num = getStandardDigitalOutputNum()
225 *
226 * @par JSON-RPC请求示例
227 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalOutputNum","params":[],"id":1}
228 *
229 * @par JSON-RPC响应示例
230 * {"id":1,"jsonrpc":"2.0","result":8}
231 *
232 * \endchinese
233 * \english
234 * Get the number of standard digital outputs.
235 *
236 * @return Number of standard digital outputs.
237 *
238 * @throws arcs::common_interface::AuboException
239 *
240 * @par Python function prototype
241 * getStandardDigitalOutputNum(self: pyaubo_sdk.IoControl) -> int
242 *
243 * @par Lua function prototype
244 * getStandardDigitalOutputNum() -> number
245 *
246 * @par Lua example
247 * num = getStandardDigitalOutputNum()
248 *
249 * @par JSON-RPC request example
250 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalOutputNum","params":[],"id":1}
251 *
252 * @par JSON-RPC response example
253 * {"id":1,"jsonrpc":"2.0","result":8}
254 *
255 * \endenglish
256 */
258
259 /**
260 * @ingroup IoControl
261 * \chinese
262 * 获取工具端数字IO数量(包括数字输入和数字输出)
263 *
264 * @return 工具端数字IO数量(包括数字输入和数字输出)
265 *
266 * @throws arcs::common_interface::AuboException
267 *
268 * @par Python函数原型
269 * getToolDigitalOutputNum(self: pyaubo_sdk.IoControl) -> int
270 *
271 * @par Lua函数原型
272 * getToolDigitalOutputNum() -> number
273 *
274 * @par Lua示例
275 * num = getToolDigitalOutputNum()
276 *
277 * @par JSON-RPC请求示例
278 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalOutputNum","params":[],"id":1}
279 *
280 * @par JSON-RPC响应示例
281 * {"id":1,"jsonrpc":"2.0","result":4}
282 *
283 * \endchinese
284 * \english
285 * Get the number of tool digital IOs (including digital inputs and
286 * outputs).
287 *
288 * @return Number of tool digital IOs (including digital inputs and
289 * outputs).
290 *
291 * @throws arcs::common_interface::AuboException
292 *
293 * @par Python function prototype
294 * getToolDigitalOutputNum(self: pyaubo_sdk.IoControl) -> int
295 *
296 * @par Lua function prototype
297 * getToolDigitalOutputNum() -> number
298 *
299 * @par Lua example
300 * num = getToolDigitalOutputNum()
301 *
302 * @par JSON-RPC request example
303 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalOutputNum","params":[],"id":1}
304 *
305 * @par JSON-RPC response example
306 * {"id":1,"jsonrpc":"2.0","result":4}
307 *
308 * \endenglish
309 */
311
312 /**
313 * @ingroup IoControl
314 * \chinese
315 * 设置指定的工具端数字IO为输入或输出
316 *
317 * 工具端数字IO比较特殊,IO可以配置为输入或者输出
318 *
319 * @param index: 表示IO口的管脚,管脚编号从0开始。
320 * 例如,0表示第一个管脚。
321 * @param input: 表示指定IO是否为输入。
322 * input 为true时,设置指定IO为输入,否则为输出
323 * @return 成功返回0;失败返回错误码
324 * AUBO_BUSY
325 * AUBO_BAD_STATE
326 * -AUBO_INVL_ARGUMENT
327 * -AUBO_BAD_STATE
328 *
329 * @throws arcs::common_interface::AuboException
330 *
331 * @par Python函数原型
332 * setToolIoInput(self: pyaubo_sdk.IoControl, arg0: int, arg1: bool) -> int
333 *
334 * @par Lua函数原型
335 * setToolIoInput(index: number, input: boolean) -> nil
336 *
337 * @par Lua示例
338 * setToolIoInput(0,true)
339 *
340 * @par JSON-RPC请求示例
341 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolIoInput","params":[0,true],"id":1}
342 *
343 * @par JSON-RPC响应示例
344 * {"id":1,"jsonrpc":"2.0","result":0}
345 *
346 * \endchinese
347 * \english
348 * Set the specified tool digital IO as input or output.
349 *
350 * Tool digital IOs are special and can be configured as input or output.
351 *
352 * @param index: Indicates the IO pin, starting from 0.
353 * For example, 0 means the first pin.
354 * @param input: Indicates whether the specified IO is input.
355 * If input is true, set the IO as input; otherwise, set as output.
356 * @return Returns 0 on success; error code on failure.
357 * AUBO_BUSY
358 * AUBO_BAD_STATE
359 * -AUBO_INVL_ARGUMENT
360 * -AUBO_BAD_STATE
361 *
362 * @throws arcs::common_interface::AuboException
363 *
364 * @par Python function prototype
365 * setToolIoInput(self: pyaubo_sdk.IoControl, arg0: int, arg1: bool) -> int
366 *
367 * @par Lua function prototype
368 * setToolIoInput(index: number, input: boolean) -> nil
369 *
370 * @par Lua example
371 * setToolIoInput(0,true)
372 *
373 * @par JSON-RPC request example
374 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolIoInput","params":[0,true],"id":1}
375 *
376 * @par JSON-RPC response example
377 * {"id":1,"jsonrpc":"2.0","result":0}
378 *
379 * \endenglish
380 */
381 int setToolIoInput(int index, bool input);
382
383 /**
384 * @ingroup IoControl
385 * \chinese
386 * 判断指定的工具端数字IO类型是否为输入
387 *
388 * @param index: 表示IO口的管脚,管脚编号从0开始。
389 * 例如,0表示第一个管脚。
390 * @return 当指定的IO为输入时返回 true, 否则为 false
391 *
392 * @throws arcs::common_interface::AuboException
393 *
394 * @par Python函数原型
395 * isToolIoInput(self: pyaubo_sdk.IoControl, arg0: int) -> bool
396 *
397 * @par Lua函数原型
398 * isToolIoInput(index: number) -> boolean
399 *
400 * @par Lua示例
401 * status = isToolIoInput(0)
402 *
403 * @par JSON-RPC请求示例
404 * {"jsonrpc":"2.0","method":"rob1.IoControl.isToolIoInput","params":[0],"id":1}
405 *
406 * @par JSON-RPC响应示例
407 * {"id":1,"jsonrpc":"2.0","result":true}
408 *
409 * \endchinese
410 * \english
411 * Determine whether the specified tool digital IO is configured as input.
412 *
413 * @param index: Indicates the IO pin, starting from 0.
414 * For example, 0 means the first pin.
415 * @return Returns true if the specified IO is input, otherwise false.
416 *
417 * @throws arcs::common_interface::AuboException
418 *
419 * @par Python function prototype
420 * isToolIoInput(self: pyaubo_sdk.IoControl, arg0: int) -> bool
421 *
422 * @par Lua function prototype
423 * isToolIoInput(index: number) -> boolean
424 *
425 * @par Lua example
426 * status = isToolIoInput(0)
427 *
428 * @par JSON-RPC request example
429 * {"jsonrpc":"2.0","method":"rob1.IoControl.isToolIoInput","params":[0],"id":1}
430 *
431 * @par JSON-RPC response example
432 * {"id":1,"jsonrpc":"2.0","result":true}
433 *
434 * \endenglish
435 */
436 bool isToolIoInput(int index);
437
438 /**
439 * @ingroup IoControl
440 * \chinese
441 * 获取可配置数字输出数量
442 *
443 * @return 可配置数字输出数量
444 *
445 * @throws arcs::common_interface::AuboException
446 *
447 * @par Python函数原型
448 * getConfigurableDigitalOutputNum(self: pyaubo_sdk.IoControl) -> int
449 *
450 * @par Lua函数原型
451 * getConfigurableDigitalOutputNum() -> number
452 *
453 * @par Lua示例
454 * num = getConfigurableDigitalOutputNum()
455 *
456 * @par JSON-RPC请求示例
457 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalOutputNum","params":[],"id":1}
458 *
459 * @par JSON-RPC响应示例
460 * {"id":1,"jsonrpc":"2.0","result":16}
461 *
462 * \endchinese
463 * \english
464 * Get the number of configurable digital outputs.
465 *
466 * @return Number of configurable digital outputs.
467 *
468 * @throws arcs::common_interface::AuboException
469 *
470 * @par Python function prototype
471 * getConfigurableDigitalOutputNum(self: pyaubo_sdk.IoControl) -> int
472 *
473 * @par Lua function prototype
474 * getConfigurableDigitalOutputNum() -> number
475 *
476 * @par Lua example
477 * num = getConfigurableDigitalOutputNum()
478 *
479 * @par JSON-RPC request example
480 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalOutputNum","params":[],"id":1}
481 *
482 * @par JSON-RPC response example
483 * {"id":1,"jsonrpc":"2.0","result":16}
484 *
485 * \endenglish
486 */
488
489 /**
490 * @ingroup IoControl
491 * \chinese
492 * 获取标准模拟输入数量
493 *
494 * @return 标准模拟输入数量
495 *
496 * @throws arcs::common_interface::AuboException
497 *
498 * @par Python函数原型
499 * getStandardAnalogInputNum(self: pyaubo_sdk.IoControl) -> int
500 *
501 * @par Lua函数原型
502 * getStandardAnalogInputNum() -> number
503 *
504 * @par Lua示例
505 * num = getStandardAnalogInputNum()
506 *
507 * @par JSON-RPC请求示例
508 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogInputNum","params":[],"id":1}
509 *
510 * @par JSON-RPC响应示例
511 * {"id":1,"jsonrpc":"2.0","result":2}
512 *
513 * \endchinese
514 * \english
515 * Get the number of standard analog inputs.
516 *
517 * @return Number of standard analog inputs.
518 *
519 * @throws arcs::common_interface::AuboException
520 *
521 * @par Python function prototype
522 * getStandardAnalogInputNum(self: pyaubo_sdk.IoControl) -> int
523 *
524 * @par Lua function prototype
525 * getStandardAnalogInputNum() -> number
526 *
527 * @par Lua example
528 * num = getStandardAnalogInputNum()
529 *
530 * @par JSON-RPC request example
531 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogInputNum","params":[],"id":1}
532 *
533 * @par JSON-RPC response example
534 * {"id":1,"jsonrpc":"2.0","result":2}
535 *
536 * \endenglish
537 */
539
540 /**
541 * @ingroup IoControl
542 * \chinese
543 * 获取工具端模拟输入数量
544 *
545 * @return 工具端模拟输入数量
546 *
547 * @throws arcs::common_interface::AuboException
548 *
549 * @par Python函数原型
550 * getToolAnalogInputNum(self: pyaubo_sdk.IoControl) -> int
551 *
552 * @par Lua函数原型
553 * getToolAnalogInputNum() -> number
554 *
555 * @par Lua示例
556 * num = getToolAnalogInputNum()
557 *
558 * @par JSON-RPC请求示例
559 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogInputNum","params":[],"id":1}
560 *
561 * @par JSON-RPC响应示例
562 * {"id":1,"jsonrpc":"2.0","result":2}
563 *
564 * \endchinese
565 * \english
566 * Get the number of tool analog inputs.
567 *
568 * @return Number of tool analog inputs.
569 *
570 * @throws arcs::common_interface::AuboException
571 *
572 * @par Python function prototype
573 * getToolAnalogInputNum(self: pyaubo_sdk.IoControl) -> int
574 *
575 * @par Lua function prototype
576 * getToolAnalogInputNum() -> number
577 *
578 * @par Lua example
579 * num = getToolAnalogInputNum()
580 *
581 * @par JSON-RPC request example
582 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogInputNum","params":[],"id":1}
583 *
584 * @par JSON-RPC response example
585 * {"id":1,"jsonrpc":"2.0","result":2}
586 *
587 * \endenglish
588 */
590
591 /**
592 * @ingroup IoControl
593 * \chinese
594 * 获取标准模拟输出数量
595 *
596 * @return 标准模拟输出数量
597 *
598 * @throws arcs::common_interface::AuboException
599 *
600 * @par Python函数原型
601 * getStandardAnalogOutputNum(self: pyaubo_sdk.IoControl) -> int
602 *
603 * @par Lua函数原型
604 * getStandardAnalogOutputNum() -> number
605 *
606 * @par Lua示例
607 * num = getStandardAnalogOutputNum()
608 *
609 * @par JSON-RPC请求示例
610 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogOutputNum","params":[],"id":1}
611 *
612 * @par JSON-RPC响应示例
613 * {"id":1,"jsonrpc":"2.0","result":2}
614 *
615 * \endchinese
616 * \english
617 * Get the number of standard analog outputs.
618 *
619 * @return Number of standard analog outputs.
620 *
621 * @throws arcs::common_interface::AuboException
622 *
623 * @par Python function prototype
624 * getStandardAnalogOutputNum(self: pyaubo_sdk.IoControl) -> int
625 *
626 * @par Lua function prototype
627 * getStandardAnalogOutputNum() -> number
628 *
629 * @par Lua example
630 * num = getStandardAnalogOutputNum()
631 *
632 * @par JSON-RPC request example
633 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogOutputNum","params":[],"id":1}
634 *
635 * @par JSON-RPC response example
636 * {"id":1,"jsonrpc":"2.0","result":2}
637 *
638 * \endenglish
639 */
641
642 /**
643 * @ingroup IoControl
644 * \chinese
645 * 获取工具端模拟输出数量
646 *
647 * @return 工具端模拟输出数量
648 *
649 * @throws arcs::common_interface::AuboException
650 *
651 * @par Python函数原型
652 * getToolAnalogOutputNum(self: pyaubo_sdk.IoControl) -> int
653 *
654 * @par Lua函数原型
655 * getToolAnalogOutputNum() -> number
656 *
657 * @par Lua示例
658 * num = getToolAnalogOutputNum()
659 *
660 * @par JSON-RPC请求示例
661 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogOutputNum","params":[],"id":1}
662 *
663 * @par JSON-RPC响应示例
664 * {"id":1,"jsonrpc":"2.0","result":0}
665 *
666 * \endchinese
667 * \english
668 * Get the number of tool analog outputs.
669 *
670 * @return Number of tool analog outputs.
671 *
672 * @throws arcs::common_interface::AuboException
673 *
674 * @par Python function prototype
675 * getToolAnalogOutputNum(self: pyaubo_sdk.IoControl) -> int
676 *
677 * @par Lua function prototype
678 * getToolAnalogOutputNum() -> number
679 *
680 * @par Lua example
681 * num = getToolAnalogOutputNum()
682 *
683 * @par JSON-RPC request example
684 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogOutputNum","params":[],"id":1}
685 *
686 * @par JSON-RPC response example
687 * {"id":1,"jsonrpc":"2.0","result":0}
688 *
689 * \endenglish
690 */
692
693 /**
694 * @ingroup IoControl
695 * \chinese
696 * 设置所有数字输入动作为无触发
697 *
698 * @note
699 * 当输入动作为无触发时,用户设置数字输入值为高电平,不会触发机器人发生动作
700 *
701 * @return 成功返回0;失败返回错误码
702 * AUBO_BUSY
703 * AUBO_BAD_STATE
704 * -AUBO_BAD_STATE
705 *
706 * @throws arcs::common_interface::AuboException
707 *
708 * @par Python函数原型
709 * setDigitalInputActionDefault(self: pyaubo_sdk.IoControl) -> int
710 *
711 * @par Lua函数原型
712 * setDigitalInputActionDefault() -> nil
713 *
714 * @par Lua示例
715 * setDigitalInputActionDefault()
716 *
717 * @par JSON-RPC请求示例
718 * {"jsonrpc":"2.0","method":"rob1.IoControl.setDigitalInputActionDefault","params":[],"id":1}
719 *
720 * @par JSON-RPC响应示例
721 * {"id":1,"jsonrpc":"2.0","result":0}
722 *
723 * \endchinese
724 * \english
725 * Set all digital input actions to no trigger.
726 *
727 * @note
728 * When the input action is set to no trigger, setting the digital input
729 * value to high will not trigger any robot action.
730 *
731 * @return Returns 0 on success; error code on failure.
732 * AUBO_BUSY
733 * AUBO_BAD_STATE
734 * -AUBO_BAD_STATE
735 *
736 * @throws arcs::common_interface::AuboException
737 *
738 * @par Python function prototype
739 * setDigitalInputActionDefault(self: pyaubo_sdk.IoControl) -> int
740 *
741 * @par Lua function prototype
742 * setDigitalInputActionDefault() -> nil
743 *
744 * @par Lua example
745 * setDigitalInputActionDefault()
746 *
747 * @par JSON-RPC request example
748 * {"jsonrpc":"2.0","method":"rob1.IoControl.setDigitalInputActionDefault","params":[],"id":1}
749 *
750 * @par JSON-RPC response example
751 * {"id":1,"jsonrpc":"2.0","result":0}
752 *
753 * \endenglish
754 */
756
757 /**
758 * @ingroup IoControl
759 * \chinese
760 * 设置标准数字输入触发动作
761 *
762 * @note
763 * 当给输入设置为无触发动作(StandardInputAction::Default)时,
764 * 用户设置数字输入值为高电平,不会触发机器人发生动作。\n
765 * 当给输入设置触发动作时,用户设置数字输入值为高电平,会触发机器人执行相应的动作。\n
766 * 例如,当设置DI0的触发动作为拖动示教(StandardInputAction::Handguide)时,
767 * 用户设置DI0为高电平,机器人会进入拖动示教。
768 * 设置DI0为低电平,机器人会退出拖动示教。
769 *
770 * @param index: 表示IO口的管脚,管脚编号从0开始。
771 * 例如,0表示第一个管脚。
772 * @param action: 触发动作
773 *
774 * @return 成功返回0;失败返回错误码
775 * AUBO_REQUEST_IGNORE
776 * AUBO_BUSY
777 * AUBO_BAD_STATE
778 * -AUBO_INVL_ARGUMENT
779 * -AUBO_BAD_STATE
780 *
781 * @throws arcs::common_interface::AuboException
782 *
783 * @par Python函数原型
784 * setStandardDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int,
785 * arg1: arcs::common_interface::StandardInputAction) -> int
786 *
787 * @par Lua函数原型
788 * setStandardDigitalInputAction(index: number, action: number) -> nil
789 *
790 * @par Lua示例
791 * setStandardDigitalInputAction(0,1)
792 *
793 * @par JSON-RPC请求示例
794 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardDigitalInputAction","params":[0,"Handguide"],"id":1}
795 *
796 * @par JSON-RPC响应示例
797 * {"id":1,"jsonrpc":"2.0","result":0}
798 *
799 * \endchinese
800 * \english
801 * Set the trigger action for standard digital input.
802 *
803 * @note
804 * When the input is set to no trigger action
805 * (StandardInputAction::Default), setting the digital input value to high
806 * will not trigger any robot action.\n When a trigger action is set,
807 * setting the digital input value to high will trigger the corresponding
808 * robot action.\n For example, if DI0 is set to trigger Handguide
809 * (StandardInputAction::Handguide), setting DI0 to high will enable
810 * hand-guiding mode. Setting DI0 to low will exit hand-guiding mode.
811 *
812 * @param index: Indicates the IO pin, starting from 0.
813 * For example, 0 means the first pin.
814 * @param action: Trigger action
815 *
816 * @return Returns 0 on success; error code on failure.
817 * AUBO_REQUEST_IGNORE
818 * AUBO_BUSY
819 * AUBO_BAD_STATE
820 * -AUBO_INVL_ARGUMENT
821 * -AUBO_BAD_STATE
822 *
823 * @throws arcs::common_interface::AuboException
824 *
825 * @par Python function prototype
826 * setStandardDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int,
827 * arg1: arcs::common_interface::StandardInputAction) -> int
828 *
829 * @par Lua function prototype
830 * setStandardDigitalInputAction(index: number, action: number) -> nil
831 *
832 * @par Lua example
833 * setStandardDigitalInputAction(0,1)
834 *
835 * @par JSON-RPC request example
836 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardDigitalInputAction","params":[0,"Handguide"],"id":1}
837 *
838 * @par JSON-RPC response example
839 * {"id":1,"jsonrpc":"2.0","result":0}
840 *
841 * \endenglish
842 */
844
845 /**
846 * @ingroup IoControl
847 * \chinese
848 * 设置工具数字输入触发动作
849 *
850 * @note
851 * 当给输入设置为无触发动作(StandardInputAction::Default)时,
852 * 用户设置工具数字输入值为高电平,不会触发机器人发生动作。\n
853 * 当给输入设置触发动作时,用户设置工具数字输入值为高电平,会触发机器人执行相应的动作。\n
854 * 例如,当设置TOOL_IO[0]的类型为输入而且触发动作为拖动示教(StandardInputAction::Handguide)时,
855 * 用户设置TOOL_IO[0]为高电平,机器人会进入拖动示教。
856 * 设置TOOL_IO[0]为低电平,机器人会退出拖动示教。
857 *
858 * @param index: 表示IO口的管脚,管脚编号从0开始。
859 * 例如,0表示第一个管脚。
860 * @param action: 触发动作
861 *
862 * @return 成功返回0;失败返回错误码
863 * AUBO_REQUEST_IGNORE
864 * AUBO_BUSY
865 * AUBO_BAD_STATE
866 * -AUBO_INVL_ARGUMENT
867 * -AUBO_BAD_STATE
868 *
869 * @throws arcs::common_interface::AuboException
870 *
871 * @par Python函数原型
872 * setToolDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int, arg1:
873 * arcs::common_interface::StandardInputAction) -> int
874 *
875 * @par Lua函数原型
876 * setToolDigitalInputAction(index: number, action: number) -> nil
877 *
878 * @par Lua示例
879 * setToolDigitalInputAction(0,1)
880 *
881 * @par JSON-RPC请求示例
882 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolDigitalInputAction","params":[0,"Handguide"],"id":1}
883 *
884 * @par JSON-RPC响应示例
885 * {"id":1,"jsonrpc":"2.0","result":0}
886 *
887 * \endchinese
888 * \english
889 * Set the trigger action for tool digital input.
890 *
891 * @note
892 * When the input is set to no trigger action
893 * (StandardInputAction::Default), setting the tool digital input value to
894 * high will not trigger any robot action.\n When a trigger action is set,
895 * setting the tool digital input value to high will trigger the
896 * corresponding robot action.\n For example, if TOOL_IO[0] is set as input
897 * and its trigger action is Handguide (StandardInputAction::Handguide),
898 * setting TOOL_IO[0] to high will enable hand-guiding mode.
899 * Setting TOOL_IO[0] to low will exit hand-guiding mode.
900 *
901 * @param index: Indicates the IO pin, starting from 0.
902 * For example, 0 means the first pin.
903 * @param action: Trigger action
904 *
905 * @return Returns 0 on success; error code on failure.
906 * AUBO_REQUEST_IGNORE
907 * AUBO_BUSY
908 * AUBO_BAD_STATE
909 * -AUBO_INVL_ARGUMENT
910 * -AUBO_BAD_STATE
911 *
912 * @throws arcs::common_interface::AuboException
913 *
914 * @par Python function prototype
915 * setToolDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int, arg1:
916 * arcs::common_interface::StandardInputAction) -> int
917 *
918 * @par Lua function prototype
919 * setToolDigitalInputAction(index: number, action: number) -> nil
920 *
921 * @par Lua example
922 * setToolDigitalInputAction(0,1)
923 *
924 * @par JSON-RPC request example
925 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolDigitalInputAction","params":[0,"Handguide"],"id":1}
926 *
927 * @par JSON-RPC response example
928 * {"id":1,"jsonrpc":"2.0","result":0}
929 *
930 * \endenglish
931 */
933
934 /**
935 * @ingroup IoControl
936 * \chinese
937 * 设置可配置数字输入触发动作
938 *
939 * @param index: 表示IO口的管脚,管脚编号从0开始。
940 * 例如,0表示第一个管脚。
941 * @param action: 触发动作
942 *
943 * @return 成功返回0;失败返回错误码
944 * AUBO_REQUEST_IGNORE
945 * AUBO_BUSY
946 * AUBO_BAD_STATE
947 * -AUBO_INVL_ARGUMENT
948 * -AUBO_BAD_STATE
949 *
950 * @throws arcs::common_interface::AuboException
951 *
952 * @note 需要将可配置输入的安全输入动作设置为
953 * SafetyInputAction::Unassigned时这个函数的配置才会生效
954 *
955 * @par Python函数原型
956 * setConfigurableDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int,
957 * arg1: arcs::common_interface::StandardInputAction) -> int
958 *
959 * @par Lua函数原型
960 * setConfigurableDigitalInputAction(index: number, action: number) -> nil
961 *
962 * @par Lua示例
963 * setConfigurableDigitalInputAction(0,1)
964 *
965 * @par JSON-RPC请求示例
966 * {"jsonrpc":"2.0","method":"rob1.IoControl.setConfigurableDigitalInputAction","params":[0,"Handguide"],"id":1}
967 *
968 * @par JSON-RPC响应示例
969 * {"id":1,"jsonrpc":"2.0","result":0}
970 *
971 * \endchinese
972 * \english
973 * Set the trigger action for configurable digital input.
974 *
975 * @param index: Indicates the IO pin, starting from 0.
976 * For example, 0 means the first pin.
977 * @param action: Trigger action
978 *
979 * @return Returns 0 on success; error code on failure.
980 * AUBO_REQUEST_IGNORE
981 * AUBO_BUSY
982 * AUBO_BAD_STATE
983 * -AUBO_INVL_ARGUMENT
984 * -AUBO_BAD_STATE
985 *
986 * @throws arcs::common_interface::AuboException
987 *
988 * @note This function takes effect only when the safety input action of the
989 * configurable input is set to SafetyInputAction::Unassigned.
990 *
991 * @par Python function prototype
992 * setConfigurableDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int,
993 * arg1: arcs::common_interface::StandardInputAction) -> int
994 *
995 * @par Lua function prototype
996 * setConfigurableDigitalInputAction(index: number, action: number) -> nil
997 *
998 * @par Lua example
999 * setConfigurableDigitalInputAction(0,1)
1000 *
1001 * @par JSON-RPC request example
1002 * {"jsonrpc":"2.0","method":"rob1.IoControl.setConfigurableDigitalInputAction","params":[0,"Handguide"],"id":1}
1003 *
1004 * @par JSON-RPC response example
1005 * {"id":1,"jsonrpc":"2.0","result":0}
1006 *
1007 * \endenglish
1008 */
1010 StandardInputAction action);
1011
1012 /**
1013 * @ingroup IoControl
1014 * \chinese
1015 * 获取标准数字输入触发动作
1016 *
1017 * @param index: 表示IO口的管脚,管脚编号从0开始。
1018 * 例如,0表示第一个管脚。
1019 * @return 标准数字输入触发动作
1020 *
1021 * @par Python函数原型
1022 * getStandardDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int) ->
1023 * arcs::common_interface::StandardInputAction
1024 *
1025 * @par Lua函数原型
1026 * getStandardDigitalInputAction(index: number) -> number
1027 *
1028 * @par Lua示例
1029 * num = getStandardDigitalInputAction(0)
1030 *
1031 * @par JSON-RPC请求示例
1032 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalInputAction","params":[0],"id":1}
1033 *
1034 * @par JSON-RPC响应示例
1035 * {"id":1,"jsonrpc":"2.0","result":"Default"}
1036 *
1037 * \endchinese
1038 * \english
1039 * Get the trigger action for standard digital input.
1040 *
1041 * @param index: Indicates the IO pin, starting from 0.
1042 * For example, 0 means the first pin.
1043 * @return Standard digital input trigger action
1044 *
1045 * @par Python function prototype
1046 * getStandardDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int) ->
1047 * arcs::common_interface::StandardInputAction
1048 *
1049 * @par Lua function prototype
1050 * getStandardDigitalInputAction(index: number) -> number
1051 *
1052 * @par Lua example
1053 * num = getStandardDigitalInputAction(0)
1054 *
1055 * @par JSON-RPC request example
1056 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalInputAction","params":[0],"id":1}
1057 *
1058 * @par JSON-RPC response example
1059 * {"id":1,"jsonrpc":"2.0","result":"Default"}
1060 *
1061 * \endenglish
1062 */
1064
1065 /**
1066 * @ingroup IoControl
1067 * \chinese
1068 * 获取工具端数字输入触发动作
1069 *
1070 * @param index: 表示IO口的管脚,管脚编号从0开始。
1071 * 例如,0表示第一个管脚。
1072 * @return 工具端数字输入触发动作
1073 *
1074 * @par Python函数原型
1075 * getToolDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int) ->
1076 * arcs::common_interface::StandardInputAction
1077 *
1078 * @par Lua函数原型
1079 * getToolDigitalInputAction(index: number) -> number
1080 *
1081 * @par Lua示例
1082 * getToolDigitalInputAction(0)
1083 *
1084 * @par JSON-RPC请求示例
1085 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalInputAction","params":[0],"id":1}
1086 *
1087 * @par JSON-RPC响应示例
1088 * {"id":1,"jsonrpc":"2.0","result":"Default"}
1089 *
1090 * \endchinese
1091 * \english
1092 * Get the trigger action for tool digital input.
1093 *
1094 * @param index: Indicates the IO pin, starting from 0.
1095 * For example, 0 means the first pin.
1096 * @return Tool digital input trigger action
1097 *
1098 * @par Python function prototype
1099 * getToolDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int) ->
1100 * arcs::common_interface::StandardInputAction
1101 *
1102 * @par Lua function prototype
1103 * getToolDigitalInputAction(index: number) -> number
1104 *
1105 * @par Lua example
1106 * getToolDigitalInputAction(0)
1107 *
1108 * @par JSON-RPC request example
1109 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalInputAction","params":[0],"id":1}
1110 *
1111 * @par JSON-RPC response example
1112 * {"id":1,"jsonrpc":"2.0","result":"Default"}
1113 *
1114 * \endenglish
1115 */
1117
1118 /**
1119 * @ingroup IoControl
1120 * \chinese
1121 * 获取可配置数字输入的输入触发动作
1122 *
1123 * @param index: 表示IO口的管脚,管脚编号从0开始。
1124 * 例如,0表示第一个管脚。
1125 * @return 返回输入触发动作
1126 *
1127 * @par Python函数原型
1128 * getConfigurableDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int)
1129 * -> arcs::common_interface::StandardInputAction
1130 *
1131 * @par Lua函数原型
1132 * getConfigurableDigitalInputAction(index: number) -> number
1133 *
1134 * @par Lua示例
1135 * num = getConfigurableDigitalInputAction(0)
1136 *
1137 * @par JSON-RPC请求示例
1138 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalInputAction","params":[0],"id":1}
1139 *
1140 * @par JSON-RPC响应示例
1141 * {"id":1,"jsonrpc":"2.0","result":"Default"}
1142 *
1143 * \endchinese
1144 * \english
1145 * Get the trigger action for configurable digital input.
1146 *
1147 * @param index: Indicates the IO pin, starting from 0.
1148 * For example, 0 means the first pin.
1149 * @return Returns the input trigger action.
1150 *
1151 * @par Python function prototype
1152 * getConfigurableDigitalInputAction(self: pyaubo_sdk.IoControl, arg0: int)
1153 * -> arcs::common_interface::StandardInputAction
1154 *
1155 * @par Lua function prototype
1156 * getConfigurableDigitalInputAction(index: number) -> number
1157 *
1158 * @par Lua example
1159 * num = getConfigurableDigitalInputAction(0)
1160 *
1161 * @par JSON-RPC request example
1162 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalInputAction","params":[0],"id":1}
1163 *
1164 * @par JSON-RPC response example
1165 * {"id":1,"jsonrpc":"2.0","result":"Default"}
1166 *
1167 * \endenglish
1168 */
1170
1171 /**
1172 * @ingroup IoControl
1173 * \chinese
1174 * 设置所有数字输出状态选择为无
1175 *
1176 * @note
1177 * 当给输出状态设置为无(StandardOutputRunState::None)时,
1178 * 用户可以设置数字输出值。\n
1179 * 当给输出设置状态时,用户不可设置数字输出值,控制器会自动设置数字输出值。\n
1180 * 例如,当设置DO0的输出状态为高电平指示正在拖动示教(StandardOutputRunState::Handguiding)时,
1181 * 机器人进入拖动示教,DO0会自动变为高电平。
1182 * 机器人退出拖动示教,DO0会自动变为低电平。
1183 *
1184 * @return 成功返回0;失败返回错误码
1185 * AUBO_BUSY
1186 * AUBO_BAD_STATE
1187 * -AUBO_BAD_STATE
1188 *
1189 * @throws arcs::common_interface::AuboException
1190 *
1191 * @par Python函数原型
1192 * setDigitalOutputRunstateDefault(self: pyaubo_sdk.IoControl) -> int
1193 *
1194 * @par Lua函数原型
1195 * setDigitalOutputRunstateDefault() -> nil
1196 *
1197 * @par Lua示例
1198 * setDigitalOutputRunstateDefault()
1199 *
1200 * @par JSON-RPC请求示例
1201 * {"jsonrpc":"2.0","method":"rob1.IoControl.setDigitalOutputRunstateDefault","params":[],"id":1}
1202 *
1203 * @par JSON-RPC响应示例
1204 * {"id":1,"jsonrpc":"2.0","result":0}
1205 *
1206 * \endchinese
1207 * \english
1208 * Set all digital output runstates to None.
1209 *
1210 * @note
1211 * When the output runstate is set to None (StandardOutputRunState::None),
1212 * users can set the digital output value.\n
1213 * When the output runstate is set, users cannot set the digital output
1214 * value, and the controller will set it automatically.\n For example, when
1215 * DO0's output runstate is set to indicate hand-guiding
1216 * (StandardOutputRunState::Handguiding), the robot enters hand-guiding mode
1217 * and DO0 will automatically become high. When the robot exits
1218 * hand-guiding, DO0 will automatically become low.
1219 *
1220 * @return Returns 0 on success; error code on failure.
1221 * AUBO_BUSY
1222 * AUBO_BAD_STATE
1223 * -AUBO_BAD_STATE
1224 *
1225 * @throws arcs::common_interface::AuboException
1226 *
1227 * @par Python function prototype
1228 * setDigitalOutputRunstateDefault(self: pyaubo_sdk.IoControl) -> int
1229 *
1230 * @par Lua function prototype
1231 * setDigitalOutputRunstateDefault() -> nil
1232 *
1233 * @par Lua example
1234 * setDigitalOutputRunstateDefault()
1235 *
1236 * @par JSON-RPC request example
1237 * {"jsonrpc":"2.0","method":"rob1.IoControl.setDigitalOutputRunstateDefault","params":[],"id":1}
1238 *
1239 * @par JSON-RPC response example
1240 * {"id":1,"jsonrpc":"2.0","result":0}
1241 *
1242 * \endenglish
1243 */
1245
1246 /**
1247 * @ingroup IoControl
1248 * \chinese
1249 * 设置标准数字输出状态选择
1250 *
1251 * @note
1252 * 当给输出状态设置为无(StandardOutputRunState::None)时,
1253 * 用户可以设置数字输出值。\n
1254 * 当给输出设置状态时,用户不可设置数字输出值,控制器会自动设置数字输出值。\n
1255 * 例如,当设置DO0的输出状态为高电平指示正在拖动示教(StandardOutputRunState::Handguiding)时,
1256 * 机器人进入拖动示教,DO0会自动变为高电平。
1257 * 机器人退出拖动示教,DO0会自动变为低电平。
1258 *
1259 * @param index: 表示IO口的管脚,管脚编号从0开始。
1260 * 例如,0表示第一个管脚。
1261 * @param runstate: 输出状态选择
1262 *
1263 * @return 成功返回0;失败返回错误码
1264 * AUBO_REQUEST_IGNORE
1265 * AUBO_BUSY
1266 * AUBO_BAD_STATE
1267 * -AUBO_INVL_ARGUMENT
1268 * -AUBO_BAD_STATE
1269 *
1270 * @throws arcs::common_interface::AuboException
1271 *
1272 * @par Python函数原型
1273 * setStandardDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int,
1274 * arg1: arcs::common_interface::StandardOutputRunState) -> int
1275 *
1276 * @par Lua函数原型
1277 * setStandardDigitalOutputRunstate(index: number, runstate: number) -> nil
1278 *
1279 * @par Lua示例
1280 * setStandardDigitalOutputRunstate(0,1)
1281 *
1282 * @par JSON-RPC请求示例
1283 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardDigitalOutputRunstate","params":[0,"PowerOn"],"id":1}
1284 *
1285 * @par JSON-RPC响应示例
1286 * {"id":1,"jsonrpc":"2.0","result":0}
1287 *
1288 * \endchinese
1289 * \english
1290 * Set the runstate for standard digital output.
1291 *
1292 * @note
1293 * When the output runstate is set to None (StandardOutputRunState::None),
1294 * users can set the digital output value.\n
1295 * When the output runstate is set, users cannot set the digital output
1296 * value, and the controller will set it automatically.\n For example, when
1297 * DO0's output runstate is set to indicate hand-guiding
1298 * (StandardOutputRunState::Handguiding), the robot enters hand-guiding mode
1299 * and DO0 will automatically become high. When the robot exits
1300 * hand-guiding, DO0 will automatically become low.
1301 *
1302 * @param index: Indicates the IO pin, starting from 0.
1303 * For example, 0 means the first pin.
1304 * @param runstate: Output runstate selection
1305 *
1306 * @return Returns 0 on success; error code on failure.
1307 * AUBO_REQUEST_IGNORE
1308 * AUBO_BUSY
1309 * AUBO_BAD_STATE
1310 * -AUBO_INVL_ARGUMENT
1311 * -AUBO_BAD_STATE
1312 *
1313 * @throws arcs::common_interface::AuboException
1314 *
1315 * @par Python function prototype
1316 * setStandardDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int,
1317 * arg1: arcs::common_interface::StandardOutputRunState) -> int
1318 *
1319 * @par Lua function prototype
1320 * setStandardDigitalOutputRunstate(index: number, runstate: number) -> nil
1321 *
1322 * @par Lua example
1323 * setStandardDigitalOutputRunstate(0,1)
1324 *
1325 * @par JSON-RPC request example
1326 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardDigitalOutputRunstate","params":[0,"PowerOn"],"id":1}
1327 *
1328 * @par JSON-RPC response example
1329 * {"id":1,"jsonrpc":"2.0","result":0}
1330 *
1331 * \endenglish
1332 */
1334 StandardOutputRunState runstate);
1335
1336 /**
1337 * @ingroup IoControl
1338 * \chinese
1339 * 设置工具端数字输出状态选择
1340 *
1341 * @note
1342 * 当给输出状态设置为无(StandardOutputRunState::None)时,
1343 * 用户可以设置数字输出值。\n
1344 * 当给输出设置状态时,用户不可设置数字输出值,控制器会自动设置数字输出值。\n
1345 * 例如,当设置TOOL_IO[0]类型为输出且输出状态为高电平指示正在拖动示教(StandardOutputRunState::Handguiding)时,
1346 * 机器人进入拖动示教,TOOL_IO[0]会自动变为高电平。
1347 * 机器人退出拖动示教,TOOL_IO[0]会自动变为低电平。
1348 *
1349 * @param index: 表示IO口的管脚,管脚编号从0开始。
1350 * 例如,0表示第一个管脚。
1351 * @param runstate: 输出状态选择
1352 *
1353 * @return 成功返回0;失败返回错误码
1354 * AUBO_REQUEST_IGNORE
1355 * AUBO_BUSY
1356 * AUBO_BAD_STATE
1357 * -AUBO_INVL_ARGUMENT
1358 * -AUBO_BAD_STATE
1359 *
1360 * @throws arcs::common_interface::AuboException
1361 *
1362 * @par Python函数原型
1363 * setToolDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int, arg1:
1364 * arcs::common_interface::StandardOutputRunState) -> int
1365 *
1366 * @par Lua函数原型
1367 * setToolDigitalOutputRunstate(index: number, runstate: number) -> nil
1368 *
1369 * @par Lua示例
1370 * setToolDigitalOutputRunstate(0,1)
1371 *
1372 * @par JSON-RPC请求示例
1373 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolDigitalOutputRunstate","params":[0,"None"],"id":1}
1374 *
1375 * @par JSON-RPC响应示例
1376 * {"id":1,"jsonrpc":"2.0","result":0}
1377 *
1378 * \endchinese
1379 * \english
1380 * Set the runstate for tool digital output.
1381 *
1382 * @note
1383 * When the output runstate is set to None (StandardOutputRunState::None),
1384 * users can set the digital output value.\n
1385 * When the output runstate is set, users cannot set the digital output
1386 * value, and the controller will set it automatically.\n For example, when
1387 * TOOL_IO[0] is set as output and its runstate is set to indicate
1388 * hand-guiding (StandardOutputRunState::Handguiding), the robot enters
1389 * hand-guiding mode and TOOL_IO[0] will automatically become high. When the
1390 * robot exits hand-guiding, TOOL_IO[0] will automatically become low.
1391 *
1392 * @param index: Indicates the IO pin, starting from 0.
1393 * For example, 0 means the first pin.
1394 * @param runstate: Output runstate selection
1395 *
1396 * @return Returns 0 on success; error code on failure.
1397 * AUBO_REQUEST_IGNORE
1398 * AUBO_BUSY
1399 * AUBO_BAD_STATE
1400 * -AUBO_INVL_ARGUMENT
1401 * -AUBO_BAD_STATE
1402 *
1403 * @throws arcs::common_interface::AuboException
1404 *
1405 * @par Python function prototype
1406 * setToolDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int, arg1:
1407 * arcs::common_interface::StandardOutputRunState) -> int
1408 *
1409 * @par Lua function prototype
1410 * setToolDigitalOutputRunstate(index: number, runstate: number) -> nil
1411 *
1412 * @par Lua example
1413 * setToolDigitalOutputRunstate(0,1)
1414 *
1415 * @par JSON-RPC request example
1416 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolDigitalOutputRunstate","params":[0,"None"],"id":1}
1417 *
1418 * @par JSON-RPC response example
1419 * {"id":1,"jsonrpc":"2.0","result":0}
1420 *
1421 * \endenglish
1422 */
1424 StandardOutputRunState runstate);
1425
1426 /**
1427 * @ingroup IoControl
1428 * \chinese
1429 * 设置可配置数字输出状态选择
1430 *
1431 * @param index: 表示IO口的管脚,管脚编号从0开始。
1432 * 例如,0表示第一个管脚。
1433 * @param runstate: 输出状态选择
1434 *
1435 * @return 成功返回0;失败返回错误码
1436 * AUBO_REQUEST_IGNORE
1437 * AUBO_BUSY
1438 * AUBO_BAD_STATE
1439 * -AUBO_INVL_ARGUMENT
1440 * -AUBO_BAD_STATE
1441 *
1442 * @throws arcs::common_interface::AuboException
1443 *
1444 * @par Python函数原型
1445 * setConfigurableDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0:
1446 * int, arg1: arcs::common_interface::StandardOutputRunState) -> int
1447 *
1448 * @par Lua函数原型
1449 * setConfigurableDigitalOutputRunstate(index: number, runstate: number) ->
1450 * nil
1451 *
1452 * @par Lua示例
1453 * setConfigurableDigitalOutputRunstate(0,1)
1454 *
1455 * @par JSON-RPC请求示例
1456 * {"jsonrpc":"2.0","method":"rob1.IoControl.setConfigurableDigitalOutputRunstate","params":[0,"None"],"id":1}
1457 *
1458 * @par JSON-RPC响应示例
1459 * {"id":1,"jsonrpc":"2.0","result":0}
1460 *
1461 * \endchinese
1462 * \english
1463 * Set the runstate for configurable digital output.
1464 *
1465 * @param index: Indicates the IO pin, starting from 0.
1466 * For example, 0 means the first pin.
1467 * @param runstate: Output runstate selection
1468 *
1469 * @return Returns 0 on success; error code on failure.
1470 * AUBO_REQUEST_IGNORE
1471 * AUBO_BUSY
1472 * AUBO_BAD_STATE
1473 * -AUBO_INVL_ARGUMENT
1474 * -AUBO_BAD_STATE
1475 *
1476 * @throws arcs::common_interface::AuboException
1477 *
1478 * @par Python function prototype
1479 * setConfigurableDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0:
1480 * int, arg1: arcs::common_interface::StandardOutputRunState) -> int
1481 *
1482 * @par Lua function prototype
1483 * setConfigurableDigitalOutputRunstate(index: number, runstate: number) ->
1484 * nil
1485 *
1486 * @par Lua example
1487 * setConfigurableDigitalOutputRunstate(0,1)
1488 *
1489 * @par JSON-RPC request example
1490 * {"jsonrpc":"2.0","method":"rob1.IoControl.setConfigurableDigitalOutputRunstate","params":[0,"None"],"id":1}
1491 *
1492 * @par JSON-RPC response example
1493 * {"id":1,"jsonrpc":"2.0","result":0}
1494 *
1495 * \endenglish
1496 */
1498 StandardOutputRunState runstate);
1499
1500 /**
1501 * @ingroup IoControl
1502 * \chinese
1503 * 设置数字输出的状态选择,并支持基于路点/平面/障碍物的条件阈值判断。
1504 *
1505 * 详细说明:当需要根据机器人是否到达某个路点或与某个平面/障碍物的距离来触发数字输出时,
1506 * 可通过本接口指定条件对象及阈值。在条件满足时会将指定的数字输出设置为对应的运行状态。
1507 *
1508 * @param io_type
1509 * 数字输出类型(0=标准数字输出、1=工具数字输出、2=可配置数字输出),用整数表示
1510 * @param index 输出口的索引,管脚编号从0开始
1511 * @param runstate 输出动作状态
1512 * @param object_type
1513 * 条件对象类型:0=无条件,1=路点(Waypoint),2=平面(Plane),3=障碍物(Obstacle)
1514 * @param object_name 条件对象的名称
1515 * @param threshold 判断阈值:对路点为角度(度),对平面/障碍物为距离(毫米)
1516 *
1517 * @return 返回操作结果码:0 表示成功,非0 表示失败
1518 *
1519 * @par Python函数原型
1520 * setDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int, arg1:
1521 * int, arg2: arcs::common_interface::StandardOutputRunState, arg3: int=0,
1522 * arg4: str="", arg5: int=0) -> int
1523 *
1524 * @par Lua函数原型
1525 * setDigitalOutputRunstate(io_type: number, index: number, runstate:
1526 * number, object_type: number=0, object_name: string="", threshold:
1527 * number=0) -> nil
1528 *
1529 * @par JSON-RPC请求示例
1530 * {"jsonrpc":"2.0","method":"rob1.IoControl.setDigitalOutputRunstate","params":[1,0,"WaypointArrived",1,"P1",3],"id":1}
1531 *
1532 * @par JSON-RPC响应示例
1533 * {"id":1,"jsonrpc":"2.0","result":0}
1534 * \endchinese
1535 * \english
1536 * Set digital output runstate with optional condition checking based on
1537 * waypoint, plane or obstacle thresholds.
1538 *
1539 * Use this API to control a digital output when a specified condition is
1540 * met (for example, waypoint arrival or distance to a plane/obstacle).
1541 * Specify an object type, name and a threshold value to enable conditional
1542 * triggering. When the condition is satisfied, the given digital output
1543 * will be set to the requested runstate.
1544 *
1545 * @param io_type Numeric IO type (e.g. 0=standard, 1=tool, 2=configurable)
1546 * @param index IO pin index starting from 0
1547 * @param runstate The desired output action
1548 * @param object_type Condition object type: 0=None, 1=Waypoint, 2=Plane,
1549 * 3=Obstacle
1550 * @param object_name Unique identifier of the condition object (optional)
1551 * @param threshold Condition threshold: angle in degrees for waypoints,
1552 * or distance in millimeters for planes/obstacles(optional)
1553 *
1554 * @return Returns 0 on success, non-zero error code on failure.
1555 * \endenglish
1556 */
1557 int setDigitalOutputRunstate(int io_type, int index,
1558 StandardOutputRunState runstate,
1559 int object_type,
1560 const std::string &object_name, int threshold);
1561
1562 /**
1563 * @ingroup IoControl
1564 * \chinese
1565 * 获取标准数字输出状态选择
1566 *
1567 * @param index: 表示IO口的管脚,管脚编号从0开始。
1568 * 例如,0表示第一个管脚。
1569 * @return 输出状态选择
1570 *
1571 * @throws arcs::common_interface::AuboException
1572 *
1573 * @par Python函数原型
1574 * getStandardDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int)
1575 * -> arcs::common_interface::StandardOutputRunState
1576 *
1577 * @par Lua函数原型
1578 * getStandardDigitalOutputRunstate(index: number) -> number
1579 *
1580 * @par Lua示例
1581 * num = getStandardDigitalOutputRunstate(0)
1582 *
1583 * @par JSON-RPC请求示例
1584 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalOutputRunstate","params":[0],"id":1}
1585 *
1586 * @par JSON-RPC响应示例
1587 * {"id":1,"jsonrpc":"2.0","result":"None"}
1588 *
1589 * \endchinese
1590 * \english
1591 * Get the runstate for standard digital output.
1592 *
1593 * @param index: Indicates the IO pin, starting from 0.
1594 * For example, 0 means the first pin.
1595 * @return Output runstate selection
1596 *
1597 * @throws arcs::common_interface::AuboException
1598 *
1599 * @par Python function prototype
1600 * getStandardDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int)
1601 * -> arcs::common_interface::StandardOutputRunState
1602 *
1603 * @par Lua function prototype
1604 * getStandardDigitalOutputRunstate(index: number) -> number
1605 *
1606 * @par Lua example
1607 * num = getStandardDigitalOutputRunstate(0)
1608 *
1609 * @par JSON-RPC request example
1610 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalOutputRunstate","params":[0],"id":1}
1611 *
1612 * @par JSON-RPC response example
1613 * {"id":1,"jsonrpc":"2.0","result":"None"}
1614 *
1615 * \endenglish
1616 */
1618
1619 /**
1620 * @ingroup IoControl
1621 * \chinese
1622 * 获取工具端数字输出状态选择
1623 *
1624 * @param index: 表示IO口的管脚,管脚编号从0开始。
1625 * 例如,0表示第一个管脚。
1626 * @return 输出状态选择
1627 *
1628 * @throws arcs::common_interface::AuboException
1629 *
1630 * @par Python函数原型
1631 * getToolDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int) ->
1632 * arcs::common_interface::StandardOutputRunState
1633 *
1634 * @par Lua函数原型
1635 * getToolDigitalOutputRunstate(index: number) -> number
1636 *
1637 * @par Lua示例
1638 * num = getToolDigitalOutputRunstate(0)
1639 *
1640 * @par JSON-RPC请求示例
1641 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalOutputRunstate","params":[0],"id":1}
1642 *
1643 * @par JSON-RPC响应示例
1644 * {"id":1,"jsonrpc":"2.0","result":"None"}
1645 *
1646 * \endchinese
1647 * \english
1648 * Get the runstate for tool digital output.
1649 *
1650 * @param index: Indicates the IO pin, starting from 0.
1651 * For example, 0 means the first pin.
1652 * @return Output runstate selection
1653 *
1654 * @throws arcs::common_interface::AuboException
1655 *
1656 * @par Python function prototype
1657 * getToolDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int) ->
1658 * arcs::common_interface::StandardOutputRunState
1659 *
1660 * @par Lua function prototype
1661 * getToolDigitalOutputRunstate(index: number) -> number
1662 *
1663 * @par Lua example
1664 * num = getToolDigitalOutputRunstate(0)
1665 *
1666 * @par JSON-RPC request example
1667 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalOutputRunstate","params":[0],"id":1}
1668 *
1669 * @par JSON-RPC response example
1670 * {"id":1,"jsonrpc":"2.0","result":"None"}
1671 *
1672 * \endenglish
1673 */
1675
1676 /**
1677 * @ingroup IoControl
1678 * \chinese
1679 * 获取可配置数字输出状态选择
1680 *
1681 * @param index: 表示IO口的管脚,管脚编号从0开始。
1682 * 例如,0表示第一个管脚。
1683 * @return 输出状态选择
1684 *
1685 * @throws arcs::common_interface::AuboException
1686 *
1687 * @par Python函数原型
1688 * getConfigurableDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0:
1689 * int)
1690 * -> arcs::common_interface::StandardOutputRunState
1691 *
1692 * @par Lua函数原型
1693 * getConfigurableDigitalOutputRunstate(index: number) -> number
1694 *
1695 * @par Lua示例
1696 * num = getConfigurableDigitalOutputRunstate(0)
1697 *
1698 * @par JSON-RPC请求示例
1699 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalOutputRunstate","params":[0],"id":1}
1700 *
1701 * @par JSON-RPC响应示例
1702 * {"id":1,"jsonrpc":"2.0","result":"None"}
1703 *
1704 * \endchinese
1705 * \english
1706 * Get the runstate for configurable digital output.
1707 *
1708 * @param index: Indicates the IO pin, starting from 0.
1709 * For example, 0 means the first pin.
1710 * @return Output runstate selection
1711 *
1712 * @throws arcs::common_interface::AuboException
1713 *
1714 * @par Python function prototype
1715 * getConfigurableDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0:
1716 * int)
1717 * -> arcs::common_interface::StandardOutputRunState
1718 *
1719 * @par Lua function prototype
1720 * getConfigurableDigitalOutputRunstate(index: number) -> number
1721 *
1722 * @par Lua example
1723 * num = getConfigurableDigitalOutputRunstate(0)
1724 *
1725 * @par JSON-RPC request example
1726 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalOutputRunstate","params":[0],"id":1}
1727 *
1728 * @par JSON-RPC response example
1729 * {"id":1,"jsonrpc":"2.0","result":"None"}
1730 *
1731 * \endenglish
1732 */
1734
1735 /**
1736 * @ingroup IoControl
1737 * \chinese
1738 * 获取指定类型数字输出状态选择。
1739 *
1740 * 用于查询不同类型的数字输出(标准数字输出、工具端数字输出、可配置数字输出)的
1741 * 当前运行状态选择(例如 WaypointArrived 等),
1742 * 一般跟 setDigitalOutputRunstate 一起使用。
1743 *
1744 * @param io_type
1745 * 数字输出类型(0=标准数字输出、1=工具数字输出、2=可配置数字输出)
1746 * @param index 输出口的索引,管脚编号从0开始
1747 * @return 返回对应的 `StandardOutputRunState` 枚举值
1748 *
1749 * @throws arcs::common_interface::AuboException
1750 *
1751 * @par Python函数原型
1752 * getDigitalOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int, arg1:
1753 * int) -> arcs::common_interface::StandardOutputRunState
1754 *
1755 * @par Lua函数原型
1756 * getDigitalOutputRunstate(io_type: number, index: number) -> number
1757 *
1758 * @par JSON-RPC请求示例
1759 * {"jsonrpc":"2.0","method":"rob1.IoControl.getDigitalOutputRunstate","params":[1,0],"id":1}
1760 *
1761 * @par JSON-RPC响应示例
1762 * {"id":1,"jsonrpc":"2.0","result":"None"}
1763 * \endchinese
1764 * \english
1765 * Get the current runstate of a digital output of the specified type.
1766 *
1767 * Use this API to query the runstate selection (for example None,
1768 * Handguiding, WaypointArrived) of different digital output types
1769 * (standard, tool, configurable).
1770 *
1771 * @param io_type Numeric IO type (0=standard, 1=tool, 2=configurable)
1772 * @param index IO pin index starting from 0
1773 * @return Returns the corresponding `StandardOutputRunState` enum value
1774 *
1775 * @throws arcs::common_interface::AuboException
1776 * \endenglish
1777 */
1779
1780 /**
1781 * @ingroup IoControl
1782 * \chinese
1783 * 设置标准模拟输出状态选择
1784 *
1785 * @note
1786 * 当给输出状态设置为无(StandardOutputRunState::None)时,
1787 * 用户可以设置模拟输出值。\n
1788 * 当给输出设置状态时,用户不可设置模拟输出值,控制器会自动设置模拟输出值。\n
1789 * 例如,当设置AO0的输出状态为高电平指示正在拖动示教(StandardOutputRunState::Handguiding)时,
1790 * 机器人进入拖动示教,AO0的值会自动变为最大值。
1791 * 机器人退出拖动示教,AO0的值会自动变为0。
1792 *
1793 * @param index: 表示IO口的管脚,管脚编号从0开始。
1794 * 例如,0表示第一个管脚。
1795 * @param runstate: 输出状态选择
1796 * @return 成功返回0;失败返回错误码
1797 * AUBO_REQUEST_IGNORE
1798 * AUBO_BUSY
1799 * AUBO_BAD_STATE
1800 * -AUBO_INVL_ARGUMENT
1801 * -AUBO_BAD_STATE
1802 *
1803 * @throws arcs::common_interface::AuboException
1804 *
1805 * @par Python函数原型
1806 * setStandardAnalogOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int,
1807 * arg1: arcs::common_interface::StandardOutputRunState) -> int
1808 *
1809 * @par Lua函数原型
1810 * setStandardAnalogOutputRunstate(index: number, runstate: number) -> nil
1811 *
1812 * @par Lua示例
1813 * setStandardAnalogOutputRunstate(0,6)
1814 *
1815 * @par JSON-RPC请求示例
1816 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardAnalogOutputRunstate","params":[0,"None"],"id":1}
1817 *
1818 * @par JSON-RPC响应示例
1819 * {"id":1,"jsonrpc":"2.0","result":0}
1820 *
1821 * \endchinese
1822 * \english
1823 * Set the runstate for standard analog output.
1824 *
1825 * @note
1826 * When the output runstate is set to None (StandardOutputRunState::None),
1827 * users can set the analog output value.\n
1828 * When the output runstate is set, users cannot set the analog output
1829 * value, and the controller will set it automatically.\n For example, when
1830 * AO0's output runstate is set to indicate hand-guiding
1831 * (StandardOutputRunState::Handguiding), the robot enters hand-guiding mode
1832 * and AO0 will automatically become the maximum value. When the robot exits
1833 * hand-guiding, AO0 will automatically become 0.
1834 *
1835 * @param index: Indicates the IO pin, starting from 0.
1836 * For example, 0 means the first pin.
1837 * @param runstate: Output runstate selection
1838 * @return Returns 0 on success; error code on failure.
1839 * AUBO_REQUEST_IGNORE
1840 * AUBO_BUSY
1841 * AUBO_BAD_STATE
1842 * -AUBO_INVL_ARGUMENT
1843 * -AUBO_BAD_STATE
1844 *
1845 * @throws arcs::common_interface::AuboException
1846 *
1847 * @par Python function prototype
1848 * setStandardAnalogOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int,
1849 * arg1: arcs::common_interface::StandardOutputRunState) -> int
1850 *
1851 * @par Lua function prototype
1852 * setStandardAnalogOutputRunstate(index: number, runstate: number) -> nil
1853 *
1854 * @par Lua example
1855 * setStandardAnalogOutputRunstate(0,6)
1856 *
1857 * @par JSON-RPC request example
1858 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardAnalogOutputRunstate","params":[0,"None"],"id":1}
1859 *
1860 * @par JSON-RPC response example
1861 * {"id":1,"jsonrpc":"2.0","result":0}
1862 *
1863 * \endenglish
1864 */
1866 StandardOutputRunState runstate);
1867
1868 /**
1869 * @ingroup IoControl
1870 * \chinese
1871 * 设置工具端模拟输出状态选择
1872 *
1873 * @param index: 表示IO口的管脚,管脚编号从0开始。
1874 * 例如,0表示第一个管脚。
1875 * @param runstate: 输出状态选择
1876 * @return 成功返回0;失败返回错误码
1877 * AUBO_REQUEST_IGNORE
1878 * AUBO_BUSY
1879 * AUBO_BAD_STATE
1880 * -AUBO_INVL_ARGUMENT
1881 * -AUBO_BAD_STATE
1882 *
1883 * @throws arcs::common_interface::AuboException
1884 *
1885 * @par Python函数原型
1886 * setToolAnalogOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int, arg1:
1887 * arcs::common_interface::StandardOutputRunState) -> int
1888 *
1889 * @par Lua函数原型
1890 * setToolAnalogOutputRunstate(index: number, runstate: number) -> nil
1891 *
1892 * @par Lua示例
1893 * setToolAnalogOutputRunstate(0,1)
1894 *
1895 * @par JSON-RPC请求示例
1896 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolAnalogOutputRunstate","params":[0,"None"],"id":1}
1897 *
1898 * @par JSON-RPC响应示例
1899 * {"id":1,"jsonrpc":"2.0","result":0}
1900 *
1901 * \endchinese
1902 * \english
1903 * Set the runstate for tool analog output.
1904 *
1905 * @param index: Indicates the IO pin, starting from 0.
1906 * For example, 0 means the first pin.
1907 * @param runstate: Output runstate selection
1908 * @return Returns 0 on success; error code on failure.
1909 * AUBO_REQUEST_IGNORE
1910 * AUBO_BUSY
1911 * AUBO_BAD_STATE
1912 * -AUBO_INVL_ARGUMENT
1913 * -AUBO_BAD_STATE
1914 *
1915 * @throws arcs::common_interface::AuboException
1916 *
1917 * @par Python function prototype
1918 * setToolAnalogOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int, arg1:
1919 * arcs::common_interface::StandardOutputRunState) -> int
1920 *
1921 * @par Lua function prototype
1922 * setToolAnalogOutputRunstate(index: number, runstate: number) -> nil
1923 *
1924 * @par Lua example
1925 * setToolAnalogOutputRunstate(0,1)
1926 *
1927 * @par JSON-RPC request example
1928 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolAnalogOutputRunstate","params":[0,"None"],"id":1}
1929 *
1930 * @par JSON-RPC response example
1931 * {"id":1,"jsonrpc":"2.0","result":0}
1932 *
1933 * \endenglish
1934 */
1936
1937 /**
1938 * @ingroup IoControl
1939 * \chinese
1940 * 获取标准模拟输出状态选择
1941 *
1942 * @param index: 表示IO口的管脚,管脚编号从0开始。
1943 * 例如,0表示第一个管脚。
1944 * @return 标准模拟输出状态选择
1945 *
1946 * @throws arcs::common_interface::AuboException
1947 *
1948 * @par Python函数原型
1949 * getStandardAnalogOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int) ->
1950 * arcs::common_interface::StandardOutputRunState
1951 *
1952 * @par Lua函数原型
1953 * getStandardAnalogOutputRunstate(index: number) -> number
1954 *
1955 * @par Lua示例
1956 * num = getStandardAnalogOutputRunstate(0)
1957 *
1958 * @par JSON-RPC请求示例
1959 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogOutputRunstate","params":[0],"id":1}
1960 *
1961 * @par JSON-RPC响应示例
1962 * {"id":1,"jsonrpc":"2.0","result":"None"}
1963 *
1964 * \endchinese
1965 * \english
1966 * Get the runstate for standard analog output.
1967 *
1968 * @param index: Indicates the IO pin, starting from 0.
1969 * For example, 0 means the first pin.
1970 * @return Standard analog output runstate selection
1971 *
1972 * @throws arcs::common_interface::AuboException
1973 *
1974 * @par Python function prototype
1975 * getStandardAnalogOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int) ->
1976 * arcs::common_interface::StandardOutputRunState
1977 *
1978 * @par Lua function prototype
1979 * getStandardAnalogOutputRunstate(index: number) -> number
1980 *
1981 * @par Lua example
1982 * num = getStandardAnalogOutputRunstate(0)
1983 *
1984 * @par JSON-RPC request example
1985 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogOutputRunstate","params":[0],"id":1}
1986 *
1987 * @par JSON-RPC response example
1988 * {"id":1,"jsonrpc":"2.0","result":"None"}
1989 *
1990 * \endenglish
1991 */
1993
1994 /**
1995 * @ingroup IoControl
1996 * \chinese
1997 * 获取工具端模拟输出状态选择
1998 *
1999 * @param index: 表示IO口的管脚,管脚编号从0开始。
2000 * 例如,0表示第一个管脚。
2001 * @return 工具端模拟输出状态选择
2002 *
2003 * @throws arcs::common_interface::AuboException
2004 *
2005 * @par Python函数原型
2006 * getToolAnalogOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int) ->
2007 * arcs::common_interface::StandardOutputRunState
2008 *
2009 * @par Lua函数原型
2010 * getToolAnalogOutputRunstate(index: number) -> number
2011 *
2012 * @par Lua示例
2013 * num = getToolAnalogOutputRunstate(0)
2014 *
2015 * @par JSON-RPC请求示例
2016 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogOutputRunstate","params":[0],"id":1}
2017 *
2018 * @par JSON-RPC响应示例
2019 * {"id":1,"jsonrpc":"2.0","result":"None"}
2020 *
2021 * \endchinese
2022 * \english
2023 * Get the runstate for tool analog output.
2024 *
2025 * @param index: Indicates the IO pin, starting from 0.
2026 * For example, 0 means the first pin.
2027 * @return Tool analog output runstate selection
2028 *
2029 * @throws arcs::common_interface::AuboException
2030 *
2031 * @par Python function prototype
2032 * getToolAnalogOutputRunstate(self: pyaubo_sdk.IoControl, arg0: int) ->
2033 * arcs::common_interface::StandardOutputRunState
2034 *
2035 * @par Lua function prototype
2036 * getToolAnalogOutputRunstate(index: number) -> number
2037 *
2038 * @par Lua example
2039 * num = getToolAnalogOutputRunstate(0)
2040 *
2041 * @par JSON-RPC request example
2042 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogOutputRunstate","params":[0],"id":1}
2043 *
2044 * @par JSON-RPC response example
2045 * {"id":1,"jsonrpc":"2.0","result":"None"}
2046 *
2047 * \endenglish
2048 */
2050
2051 /**
2052 * @ingroup IoControl
2053 * \chinese
2054 * 设置所有数字输出急停后状态为默认(不做改变)
2055 *
2056 * @return 成功返回0;失败返回错误码
2057 * AUBO_BUSY
2058 * AUBO_BAD_STATE
2059 * -AUBO_BAD_STATE
2060 *
2061 * @throws arcs::common_interface::AuboException
2062 *
2063 * @par Python函数原型
2064 * setDigitalOutputAfterEStopDefault(self: pyaubo_sdk.IoControl) -> int
2065 *
2066 * @par Lua函数原型
2067 * setDigitalOutputAfterEStopDefault() -> nil
2068 *
2069 * @par Lua示例
2070 * setDigitalOutputAfterEStopDefault()
2071 *
2072 * @par JSON-RPC请求示例
2073 * {"jsonrpc":"2.0","method":"rob1.IoControl.setDigitalOutputAfterEStopDefault","params":[],"id":1}
2074 *
2075 * @par JSON-RPC响应示例
2076 * {"id":1,"jsonrpc":"2.0","result":0}
2077 *
2078 * \endchinese
2079 * \english
2080 * Set all digital output states after emergency stop to default(no change)
2081 *
2082 * @return Returns 0 on success; error code on failure.
2083 * AUBO_BUSY
2084 * AUBO_BAD_STATE
2085 * -AUBO_BAD_STATE
2086 *
2087 * @throws arcs::common_interface::AuboException
2088 *
2089 * @par Python function prototype
2090 * setDigitalOutputAfterEStopDefault(self: pyaubo_sdk.IoControl) -> int
2091 *
2092 * @par Lua function prototype
2093 * setDigitalOutputAfterEStopDefault() -> nil
2094 *
2095 * @par Lua example
2096 * setDigitalOutputAfterEStopDefault()
2097 *
2098 * @par JSON-RPC request example
2099 * {"jsonrpc":"2.0","method":"rob1.IoControl.setDigitalOutputAfterEStopDefault","params":[],"id":1}
2100 *
2101 * @par JSON-RPC response example
2102 * {"id":1,"jsonrpc":"2.0","result":0}
2103 *
2104 * \endenglish
2105 */
2107
2108 /**
2109 * @ingroup IoControl
2110 * \chinese
2111 * 设置所有模拟输出急停后状态为默认(不做改变)
2112 *
2113 * @return 成功返回0;失败返回错误码
2114 * AUBO_BUSY
2115 * AUBO_BAD_STATE
2116 * -AUBO_BAD_STATE
2117 *
2118 * @throws arcs::common_interface::AuboException
2119 *
2120 * @par Python函数原型
2121 * setAnalogOutputAfterEStopDefault(self: pyaubo_sdk.IoControl) -> int
2122 *
2123 * @par Lua函数原型
2124 * setAnalogOutputAfterEStopDefault() -> nil
2125 *
2126 * @par Lua示例
2127 * setAnalogOutputAfterEStopDefault()
2128 *
2129 * @par JSON-RPC请求示例
2130 * {"jsonrpc":"2.0","method":"rob1.IoControl.setAnalogOutputAfterEStopDefault","params":[],"id":1}
2131 *
2132 * @par JSON-RPC响应示例
2133 * {"id":1,"jsonrpc":"2.0","result":0}
2134 *
2135 * \endchinese
2136 * \english
2137 * Set all analog output states after emergency stop to default(no change)
2138 *
2139 * @return Returns 0 on success; error code on failure.
2140 * AUBO_BUSY
2141 * AUBO_BAD_STATE
2142 * -AUBO_BAD_STATE
2143 *
2144 * @throws arcs::common_interface::AuboException
2145 *
2146 * @par Python function prototype
2147 * setAnalogOutputAfterEStopDefault(self: pyaubo_sdk.IoControl) -> int
2148 *
2149 * @par Lua function prototype
2150 * setAnalogOutputAfterEStopDefault() -> nil
2151 *
2152 * @par Lua example
2153 * setAnalogOutputAfterEStopDefault()
2154 *
2155 * @par JSON-RPC request example
2156 * {"jsonrpc":"2.0","method":"rob1.IoControl.setAnalogOutputAfterEStopDefault","params":[],"id":1}
2157 *
2158 * @par JSON-RPC response example
2159 * {"id":1,"jsonrpc":"2.0","result":0}
2160 *
2161 * \endenglish
2162 */
2164
2165 /**
2166 * @ingroup IoControl
2167 * \chinese
2168 * 设置标准数字输出急停后的输出值
2169 *
2170 * @param index: 表示IO口的管脚,
2171 * @param value: 输出值
2172 * @return 成功返回0;失败返回错误码
2173 * AUBO_REQUEST_IGNORE
2174 * AUBO_BUSY
2175 * AUBO_BAD_STATE
2176 * -AUBO_INVL_ARGUMENT
2177 * -AUBO_BAD_STATE
2178 *
2179 * @throws arcs::common_interface::AuboException
2180 *
2181 * @par Python函数原型
2182 * setStandardDigitalOutputAfterEStop(self: pyaubo_sdk.IoControl, arg0: int,
2183 * arg1: bool) -> int
2184 *
2185 * @par Lua函数原型
2186 * setStandardDigitalOutputAfterEStop(index: number, value: boolean) -> nil
2187 *
2188 * @par Lua示例
2189 * setStandardDigitalOutputAfterEStop(0,true)
2190 *
2191 * @par JSON-RPC请求示例
2192 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardDigitalOutputAfterEStop","params":[0,true],"id":1}
2193 *
2194 * @par JSON-RPC响应示例
2195 * {"id":1,"jsonrpc":"2.0","result":0}
2196 *
2197 * \endchinese
2198 * \english
2199 * Set the value of a standard digital output after emergency stop
2200 *
2201 * @param index: Indicates the IO pin.
2202 * @param value: Output value.
2203 * @return Returns 0 on success; error code on failure.
2204 * AUBO_REQUEST_IGNORE
2205 * AUBO_BUSY
2206 * AUBO_BAD_STATE
2207 * -AUBO_INVL_ARGUMENT
2208 * -AUBO_BAD_STATE
2209 *
2210 * @throws arcs::common_interface::AuboException
2211 *
2212 * @par Python function prototype
2213 * setStandardDigitalOutputAfterEStop(self: pyaubo_sdk.IoControl, arg0: int,
2214 * arg1: bool) -> int
2215 *
2216 * @par Lua function prototype
2217 * setStandardDigitalOutputAfterEStop(index: number, value: boolean) -> nil
2218 *
2219 * @par Lua example
2220 * setStandardDigitalOutputAfterEStop(0,true)
2221 *
2222 * @par JSON-RPC request example
2223 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardDigitalOutputAfterEStop","params":[0,true],"id":1}
2224 *
2225 * @par JSON-RPC response example
2226 * {"id":1,"jsonrpc":"2.0","result":0}
2227 *
2228 * \endenglish
2229 */
2230 int setStandardDigitalOutputAfterEStop(int index, bool value);
2231
2232 /**
2233 * @ingroup IoControl
2234 * \chinese
2235 * 设置可配置数字输出急停后的输出值
2236 *
2237 * @param index: 表示IO口的管脚,
2238 * @param value: 输出值
2239 * @return 成功返回0;失败返回错误码
2240 * AUBO_REQUEST_IGNORE
2241 * AUBO_BUSY
2242 * AUBO_BAD_STATE
2243 * -AUBO_INVL_ARGUMENT
2244 * -AUBO_BAD_STATE
2245 *
2246 * @throws arcs::common_interface::AuboException
2247 *
2248 * @par Python函数原型
2249 * setConfigurableDigitalOutputAfterEStop(self: pyaubo_sdk.IoControl, arg0:
2250 * int, arg1: bool) -> int
2251 *
2252 * @par Lua函数原型
2253 * setConfigurableDigitalOutputAfterEStop(index: number, value: boolean) ->
2254 * nil
2255 *
2256 * @par Lua示例
2257 * setConfigurableDigitalOutputAfterEStop(0,true)
2258 *
2259 * @par JSON-RPC请求示例
2260 * {"jsonrpc":"2.0","method":"rob1.IoControl.setConfigurableDigitalOutputAfterEStop","params":[0,true],"id":1}
2261 *
2262 * @par JSON-RPC响应示例
2263 * {"id":1,"jsonrpc":"2.0","result":0}
2264 *
2265 * \endchinese
2266 * \english
2267 * Set the value of a configurable digital output after emergency stop
2268 *
2269 * @param index: Indicates the IO pin.
2270 * @param value: Output value.
2271 * @return Returns 0 on success; error code on failure.
2272 * AUBO_REQUEST_IGNORE
2273 * AUBO_BUSY
2274 * AUBO_BAD_STATE
2275 * -AUBO_INVL_ARGUMENT
2276 * -AUBO_BAD_STATE
2277 *
2278 * @throws arcs::common_interface::AuboException
2279 *
2280 * @par Python function prototype
2281 * setConfigurableDigitalOutputAfterEStop(self: pyaubo_sdk.IoControl, arg0:
2282 * int, arg1: bool) -> int
2283 *
2284 * @par Lua function prototype
2285 * setConfigurableDigitalOutputAfterEStop(index: number, value: boolean) ->
2286 * nil
2287 *
2288 * @par Lua example
2289 * setConfigurableDigitalOutputAfterEStop(0,true)
2290 *
2291 * @par JSON-RPC request example
2292 * {"jsonrpc":"2.0","method":"rob1.IoControl.setConfigurableDigitalOutputAfterEStop","params":[0,true],"id":1}
2293 *
2294 * @par JSON-RPC response example
2295 * {"id":1,"jsonrpc":"2.0","result":0}
2296 *
2297 * \endenglish
2298 */
2299 int setConfigurableDigitalOutputAfterEStop(int index, bool value);
2300
2301 /**
2302 * @ingroup IoControl
2303 * \chinese
2304 * 设置标准模拟输出急停后的输出值
2305 *
2306 * @param index: 表示IO口的管脚,管脚编号从0开始。
2307 * 例如,0表示第一个管脚。
2308 * @param value: 模拟输出值
2309 *
2310 * @return 成功返回0;失败返回错误码
2311 * AUBO_REQUEST_IGNORE
2312 * AUBO_BUSY
2313 * AUBO_BAD_STATE
2314 * -AUBO_INVL_ARGUMENT
2315 * -AUBO_BAD_STATE
2316 *
2317 * @throws arcs::common_interface::AuboException
2318 *
2319 * @par Python函数原型
2320 * setStandardAnalogOutputAfterEStop(self: pyaubo_sdk.IoControl, arg0: int,
2321 * arg1: float) -> int
2322 *
2323 * @par Lua函数原型
2324 * setStandardAnalogOutputAfterEStop(index: number, value: number) -> nil
2325 *
2326 * @par Lua示例
2327 * setStandardAnalogOutputAfterEStop(0,5.4)
2328 *
2329 * \endchinese
2330 * \english
2331 * Set the value of standard analog output after emergency stop
2332 *
2333 * @param index: Indicates the IO pin, starting from 0.
2334 * For example, 0 means the first pin.
2335 * @param value: Output value.
2336 *
2337 * @return Returns 0 on success; error code on failure.
2338 * AUBO_REQUEST_IGNORE
2339 * AUBO_BUSY
2340 * AUBO_BAD_STATE
2341 * -AUBO_INVL_ARGUMENT
2342 * -AUBO_BAD_STATE
2343 *
2344 * @throws arcs::common_interface::AuboException
2345 *
2346 * @par Python function prototype
2347 * setStandardAnalogOutputAfterEStop(self: pyaubo_sdk.IoControl, arg0: int,
2348 * arg1: float) -> int
2349 *
2350 * @par Lua function prototype
2351 * setStandardAnalogOutputAfterEStop(index: number, value: number) -> nil
2352 *
2353 * @par Lua example
2354 * setStandardAnalogOutputAfterEStop(0,5.4)
2355 *
2356 * \endenglish
2357 */
2358 int setStandardAnalogOutputAfterEStop(int index, double value);
2359
2360 /**
2361 * @ingroup IoControl
2362 * \chinese
2363 * 设置标准模拟输入的范围
2364 *
2365 * @param index: 表示IO口的管脚,管脚编号从0开始。
2366 * 例如,0表示第一个管脚。
2367 * @param domain: 输入的范围
2368 *
2369 * @return 成功返回0;失败返回错误码
2370 * AUBO_REQUEST_IGNORE
2371 * AUBO_BUSY
2372 * AUBO_BAD_STATE
2373 * -AUBO_INVL_ARGUMENT
2374 * -AUBO_BAD_STATE
2375 *
2376 * @throws arcs::common_interface::AuboException
2377 *
2378 * @par Python函数原型
2379 * setStandardAnalogInputDomain(self: pyaubo_sdk.IoControl, arg0: int, arg1:
2380 * int) -> int
2381 *
2382 * @par Lua函数原型
2383 * setStandardAnalogInputDomain(index: number, domain: number) -> nil
2384 *
2385 * @par Lua示例
2386 * setStandardAnalogInputDomain(0,1)
2387 *
2388 * @par JSON-RPC请求示例
2389 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardAnalogInputDomain","params":[0,8],"id":1}
2390 *
2391 * @par JSON-RPC响应示例
2392 * {"id":1,"jsonrpc":"2.0","result":0}
2393 *
2394 * \endchinese
2395 * \english
2396 * Set the range of standard analog input.
2397 *
2398 * @param index: Indicates the IO pin, starting from 0.
2399 * For example, 0 means the first pin.
2400 * @param domain: Input range
2401 *
2402 * @return Returns 0 on success; error code on failure.
2403 * AUBO_REQUEST_IGNORE
2404 * AUBO_BUSY
2405 * AUBO_BAD_STATE
2406 * -AUBO_INVL_ARGUMENT
2407 * -AUBO_BAD_STATE
2408 *
2409 * @throws arcs::common_interface::AuboException
2410 *
2411 * @par Python function prototype
2412 * setStandardAnalogInputDomain(self: pyaubo_sdk.IoControl, arg0: int, arg1:
2413 * int) -> int
2414 *
2415 * @par Lua function prototype
2416 * setStandardAnalogInputDomain(index: number, domain: number) -> nil
2417 *
2418 * @par Lua example
2419 * setStandardAnalogInputDomain(0,1)
2420 *
2421 * @par JSON-RPC request example
2422 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardAnalogInputDomain","params":[0,8],"id":1}
2423 *
2424 * @par JSON-RPC response example
2425 * {"id":1,"jsonrpc":"2.0","result":0}
2426 *
2427 * \endenglish
2428 */
2429 int setStandardAnalogInputDomain(int index, int domain);
2430
2431 /**
2432 * @ingroup IoControl
2433 * \chinese
2434 * 设置工具端模拟输入的范围
2435 *
2436 * @param index: 表示IO口的管脚,管脚编号从0开始。
2437 * 例如,0表示第一个管脚。
2438 * @param domain: 输入的范围
2439 * @return 成功返回0;失败返回错误码
2440 * AUBO_REQUEST_IGNORE
2441 * AUBO_BUSY
2442 * AUBO_BAD_STATE
2443 * -AUBO_INVL_ARGUMENT
2444 * -AUBO_BAD_STATE
2445 *
2446 * @throws arcs::common_interface::AuboException
2447 *
2448 * @par Python函数原型
2449 * setToolAnalogInputDomain(self: pyaubo_sdk.IoControl, arg0: int, arg1:
2450 * int) -> int
2451 *
2452 * @par Lua函数原型
2453 * setToolAnalogInputDomain(index: number, domain: number) -> nil
2454 *
2455 * @par Lua示例
2456 * setToolAnalogInputDomain(0,1)
2457 *
2458 * @par JSON-RPC请求示例
2459 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolAnalogInputDomain","params":[0,8],"id":1}
2460 *
2461 * @par JSON-RPC响应示例
2462 * {"id":1,"jsonrpc":"2.0","result":0}
2463 *
2464 * \endchinese
2465 * \english
2466 * Set the range of tool analog input.
2467 *
2468 * @param index: Indicates the IO pin, starting from 0.
2469 * For example, 0 means the first pin.
2470 * @param domain: Input range
2471 * @return Returns 0 on success; error code on failure.
2472 * AUBO_REQUEST_IGNORE
2473 * AUBO_BUSY
2474 * AUBO_BAD_STATE
2475 * -AUBO_INVL_ARGUMENT
2476 * -AUBO_BAD_STATE
2477 *
2478 * @throws arcs::common_interface::AuboException
2479 *
2480 * @par Python function prototype
2481 * setToolAnalogInputDomain(self: pyaubo_sdk.IoControl, arg0: int, arg1:
2482 * int) -> int
2483 *
2484 * @par Lua function prototype
2485 * setToolAnalogInputDomain(index: number, domain: number) -> nil
2486 *
2487 * @par Lua example
2488 * setToolAnalogInputDomain(0,1)
2489 *
2490 * @par JSON-RPC request example
2491 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolAnalogInputDomain","params":[0,8],"id":1}
2492 *
2493 * @par JSON-RPC response example
2494 * {"id":1,"jsonrpc":"2.0","result":0}
2495 *
2496 * \endenglish
2497 */
2498 int setToolAnalogInputDomain(int index, int domain);
2499
2500 /**
2501 * @ingroup IoControl
2502 * \chinese
2503 * 获取标准模式输入范围
2504 *
2505 * @param index: 表示IO口的管脚,管脚编号从0开始。
2506 * 例如,0表示第一个管脚。
2507 * @return 标准模式输入范围
2508 *
2509 * @throws arcs::common_interface::AuboException
2510 *
2511 * @par Python函数原型
2512 * getStandardAnalogInputDomain(self: pyaubo_sdk.IoControl, arg0: int) ->
2513 * int
2514 *
2515 * @par Lua函数原型
2516 * getStandardAnalogInputDomain(index: number) -> number
2517 *
2518 * @par Lua示例
2519 * num = getStandardAnalogInputDomain(0)
2520 *
2521 * @par JSON-RPC请求示例
2522 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogInputDomain","params":[0],"id":1}
2523 *
2524 * @par JSON-RPC响应示例
2525 * {"id":1,"jsonrpc":"2.0","result":0}
2526 *
2527 * \endchinese
2528 * \english
2529 * Get the domain of standard analog input.
2530 *
2531 * @param index: Indicates the IO pin, starting from 0.
2532 * For example, 0 means the first pin.
2533 * @return Standard analog input domain
2534 *
2535 * @throws arcs::common_interface::AuboException
2536 *
2537 * @par Python function prototype
2538 * getStandardAnalogInputDomain(self: pyaubo_sdk.IoControl, arg0: int) ->
2539 * int
2540 *
2541 * @par Lua function prototype
2542 * getStandardAnalogInputDomain(index: number) -> number
2543 *
2544 * @par Lua example
2545 * num = getStandardAnalogInputDomain(0)
2546 *
2547 * @par JSON-RPC request example
2548 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogInputDomain","params":[0],"id":1}
2549 *
2550 * @par JSON-RPC response example
2551 * {"id":1,"jsonrpc":"2.0","result":0}
2552 *
2553 * \endenglish
2554 */
2556
2557 /**
2558 * @ingroup IoControl
2559 * \chinese
2560 * 获取工具端模式输入范围
2561 *
2562 * @param index: 表示IO口的管脚,管脚编号从0开始。
2563 * 例如,0表示第一个管脚。
2564 * @return 工具端模式输入范围
2565 *
2566 * @throws arcs::common_interface::AuboException
2567 *
2568 * @par Python函数原型
2569 * getToolAnalogInputDomain(self: pyaubo_sdk.IoControl, arg0: int) -> int
2570 *
2571 * @par Lua函数原型
2572 * getToolAnalogInputDomain(index: number) -> number
2573 *
2574 * @par Lua示例
2575 * num = getToolAnalogInputDomain(0)
2576 *
2577 * @par JSON-RPC请求示例
2578 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogInputDomain","params":[0],"id":1}
2579 *
2580 * @par JSON-RPC响应示例
2581 * {"id":1,"jsonrpc":"2.0","result":10}
2582 *
2583 * \endchinese
2584 * \english
2585 * Get the domain of tool analog input.
2586 *
2587 * @param index: Indicates the IO pin, starting from 0.
2588 * For example, 0 means the first pin.
2589 * @return Tool analog input domain
2590 *
2591 * @throws arcs::common_interface::AuboException
2592 *
2593 * @par Python function prototype
2594 * getToolAnalogInputDomain(self: pyaubo_sdk.IoControl, arg0: int) -> int
2595 *
2596 * @par Lua function prototype
2597 * getToolAnalogInputDomain(index: number) -> number
2598 *
2599 * @par Lua example
2600 * num = getToolAnalogInputDomain(0)
2601 *
2602 * @par JSON-RPC request example
2603 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogInputDomain","params":[0],"id":1}
2604 *
2605 * @par JSON-RPC response example
2606 * {"id":1,"jsonrpc":"2.0","result":10}
2607 *
2608 * \endenglish
2609 */
2611
2612 /**
2613 * @ingroup IoControl
2614 * \chinese
2615 * 设置标准模拟输出的范围
2616 *
2617 * @param index: 表示IO口的管脚,管脚编号从0开始。
2618 * 例如,0表示第一个管脚。
2619 * @param domain: 输出的范围
2620 *
2621 * @return 成功返回0;失败返回错误码
2622 * AUBO_REQUEST_IGNORE
2623 * AUBO_BUSY
2624 * AUBO_BAD_STATE
2625 * -AUBO_INVL_ARGUMENT
2626 * -AUBO_BAD_STATE
2627 *
2628 * @throws arcs::common_interface::AuboException
2629 *
2630 * @par Python函数原型
2631 * setStandardAnalogOutputDomain(self: pyaubo_sdk.IoControl, arg0: int,
2632 * arg1: int) -> int
2633 *
2634 * @par Lua函数原型
2635 * setStandardAnalogOutputDomain(index: number, domain: number) -> nil
2636 *
2637 * @par Lua示例
2638 * setStandardAnalogOutputDomain(0,1)
2639 *
2640 * @par JSON-RPC请求示例
2641 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardAnalogOutputDomain","params":[0,8],"id":1}
2642 *
2643 * @par JSON-RPC响应示例
2644 * {"id":1,"jsonrpc":"2.0","result":0}
2645 *
2646 * \endchinese
2647 * \english
2648 * Set the range of standard analog output.
2649 *
2650 * @param index: Indicates the IO pin, starting from 0.
2651 * For example, 0 means the first pin.
2652 * @param domain: Output range
2653 *
2654 * @return Returns 0 on success; error code on failure.
2655 * AUBO_REQUEST_IGNORE
2656 * AUBO_BUSY
2657 * AUBO_BAD_STATE
2658 * -AUBO_INVL_ARGUMENT
2659 * -AUBO_BAD_STATE
2660 *
2661 * @throws arcs::common_interface::AuboException
2662 *
2663 * @par Python function prototype
2664 * setStandardAnalogOutputDomain(self: pyaubo_sdk.IoControl, arg0: int,
2665 * arg1: int) -> int
2666 *
2667 * @par Lua function prototype
2668 * setStandardAnalogOutputDomain(index: number, domain: number) -> nil
2669 *
2670 * @par Lua example
2671 * setStandardAnalogOutputDomain(0,1)
2672 *
2673 * @par JSON-RPC request example
2674 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardAnalogOutputDomain","params":[0,8],"id":1}
2675 *
2676 * @par JSON-RPC response example
2677 * {"id":1,"jsonrpc":"2.0","result":0}
2678 *
2679 * \endenglish
2680 */
2681 int setStandardAnalogOutputDomain(int index, int domain);
2682
2683 /**
2684 * @ingroup IoControl
2685 * \chinese
2686 * 设置工具端模拟输出范围
2687 *
2688 * @param index: 表示IO口的管脚,管脚编号从0开始。
2689 * 例如,0表示第一个管脚。
2690 * @param domain: 输出的范围
2691 *
2692 * @return 成功返回0;失败返回错误码
2693 * AUBO_REQUEST_IGNORE
2694 * AUBO_BUSY
2695 * AUBO_BAD_STATE
2696 * -AUBO_INVL_ARGUMENT
2697 * -AUBO_BAD_STATE
2698 *
2699 * @throws arcs::common_interface::AuboException
2700 *
2701 * @par Python函数原型
2702 * setToolAnalogOutputDomain(self: pyaubo_sdk.IoControl, arg0: int, arg1:
2703 * int) -> int
2704 *
2705 * @par Lua函数原型
2706 * setToolAnalogOutputDomain(index: number, domain: number) -> nil
2707 *
2708 * @par Lua示例
2709 * setToolAnalogOutputDomain(0,1)
2710 *
2711 * \endchinese
2712 * \english
2713 * Set the range of tool analog output.
2714 *
2715 * @param index: Indicates the IO pin, starting from 0.
2716 * For example, 0 means the first pin.
2717 * @param domain: Output range
2718 *
2719 * @return Returns 0 on success; error code on failure.
2720 * AUBO_REQUEST_IGNORE
2721 * AUBO_BUSY
2722 * AUBO_BAD_STATE
2723 * -AUBO_INVL_ARGUMENT
2724 * -AUBO_BAD_STATE
2725 *
2726 * @throws arcs::common_interface::AuboException
2727 *
2728 * @par Python function prototype
2729 * setToolAnalogOutputDomain(self: pyaubo_sdk.IoControl, arg0: int, arg1:
2730 * int) -> int
2731 *
2732 * @par Lua function prototype
2733 * setToolAnalogOutputDomain(index: number, domain: number) -> nil
2734 *
2735 * @par Lua example
2736 * setToolAnalogOutputDomain(0,1)
2737 *
2738 * \endenglish
2739 */
2740 int setToolAnalogOutputDomain(int index, int domain);
2741
2742 /**
2743 * @ingroup IoControl
2744 * \chinese
2745 * 获取标准模拟输出范围
2746 *
2747 * @param index: 表示IO口的管脚,管脚编号从0开始。
2748 * 例如,0表示第一个管脚。
2749 * @return 标准模拟输出范围
2750 *
2751 * @throws arcs::common_interface::AuboException
2752 *
2753 * @par Python函数原型
2754 * getStandardAnalogOutputDomain(self: pyaubo_sdk.IoControl, arg0: int) ->
2755 * int
2756 *
2757 * @par Lua函数原型
2758 * getStandardAnalogOutputDomain(index: number) -> number
2759 *
2760 * @par Lua示例
2761 * num = getStandardAnalogOutputDomain(0)
2762 *
2763 * @par JSON-RPC请求示例
2764 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogOutputDomain","params":[0],"id":1}
2765 *
2766 * @par JSON-RPC响应示例
2767 * {"id":1,"jsonrpc":"2.0","result":0}
2768 *
2769 * \endchinese
2770 * \english
2771 * Get the domain of standard analog output.
2772 *
2773 * @param index: Indicates the IO pin, starting from 0.
2774 * For example, 0 means the first pin.
2775 * @return Standard analog output domain
2776 *
2777 * @throws arcs::common_interface::AuboException
2778 *
2779 * @par Python function prototype
2780 * getStandardAnalogOutputDomain(self: pyaubo_sdk.IoControl, arg0: int) ->
2781 * int
2782 *
2783 * @par Lua function prototype
2784 * getStandardAnalogOutputDomain(index: number) -> number
2785 *
2786 * @par Lua example
2787 * num = getStandardAnalogOutputDomain(0)
2788 *
2789 * @par JSON-RPC request example
2790 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogOutputDomain","params":[0],"id":1}
2791 *
2792 * @par JSON-RPC response example
2793 * {"id":1,"jsonrpc":"2.0","result":0}
2794 *
2795 * \endenglish
2796 */
2798
2799 /**
2800 * @ingroup IoControl
2801 * \chinese
2802 * 获取工具端模拟输出范围
2803 *
2804 * @param index: 表示IO口的管脚,管脚编号从0开始。
2805 * 例如,0表示第一个管脚。
2806 * @return 工具端模拟输出范围
2807 *
2808 * @throws arcs::common_interface::AuboException
2809 *
2810 * @par Python函数原型
2811 * getToolAnalogOutputDomain(self: pyaubo_sdk.IoControl, arg0: int) -> int
2812 *
2813 * @par Lua函数原型
2814 * getToolAnalogOutputDomain(index: number) -> number
2815 *
2816 * @par Lua示例
2817 * num = getToolAnalogOutputDomain(0)
2818 *
2819 * @par JSON-RPC请求示例
2820 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogOutputDomain","params":[0],"id":1}
2821 *
2822 * @par JSON-RPC响应示例
2823 * {"id":1,"jsonrpc":"2.0","result":0}
2824 *
2825 * \endchinese
2826 * \english
2827 * Get the domain of tool analog output.
2828 *
2829 * @param index: Indicates the IO pin, starting from 0.
2830 * For example, 0 means the first pin.
2831 * @return Tool analog output domain
2832 *
2833 * @throws arcs::common_interface::AuboException
2834 *
2835 * @par Python function prototype
2836 * getToolAnalogOutputDomain(self: pyaubo_sdk.IoControl, arg0: int) -> int
2837 *
2838 * @par Lua function prototype
2839 * getToolAnalogOutputDomain(index: number) -> number
2840 *
2841 * @par Lua example
2842 * num = getToolAnalogOutputDomain(0)
2843 *
2844 * @par JSON-RPC request example
2845 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogOutputDomain","params":[0],"id":1}
2846 *
2847 * @par JSON-RPC response example
2848 * {"id":1,"jsonrpc":"2.0","result":0}
2849 *
2850 * \endenglish
2851 */
2853
2854 /**
2855 * @ingroup IoControl
2856 * \chinese
2857 * 设置工具端电源电压值(单位V)
2858 *
2859 * @param domain: 工具端电源电压值,可选三个档位,分别为0、12和24。\n
2860 * 0表示0V, 12表示12V, 24表示24V。
2861 *
2862 * @return 成功返回0; 失败返回错误码
2863 * AUBO_REQUEST_IGNORE
2864 * AUBO_BUSY
2865 * AUBO_BAD_STATE
2866 * -AUBO_INVL_ARGUMENT
2867 * -AUBO_BAD_STATE
2868 *
2869 * @throws arcs::common_interface::AuboException
2870 *
2871 * @par Python函数原型
2872 * setToolVoltageOutputDomain(self: pyaubo_sdk.IoControl, arg0: int) -> int
2873 *
2874 * @par Lua函数原型
2875 * setToolVoltageOutputDomain(domain: number) -> nil
2876 *
2877 * @par Lua示例
2878 * setToolVoltageOutputDomain(24)
2879 *
2880 * @par JSON-RPC请求示例
2881 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolVoltageOutputDomain","params":[24],"id":1}
2882 *
2883 * @par JSON-RPC响应示例
2884 * {"id":1,"jsonrpc":"2.0","result":0}
2885 *
2886 * \endchinese
2887 * \english
2888 * Set the tool voltage output value (unit: V)
2889 *
2890 * @param domain: Tool voltage output value, can be 0, 12, or 24.\n
2891 * 0 means 0V, 12 means 12V, 24 means 24V.
2892 *
2893 * @return Returns 0 on success; error code on failure.
2894 * AUBO_REQUEST_IGNORE
2895 * AUBO_BUSY
2896 * AUBO_BAD_STATE
2897 * -AUBO_INVL_ARGUMENT
2898 * -AUBO_BAD_STATE
2899 *
2900 * @throws arcs::common_interface::AuboException
2901 *
2902 * @par Python function prototype
2903 * setToolVoltageOutputDomain(self: pyaubo_sdk.IoControl, arg0: int) -> int
2904 *
2905 * @par Lua function prototype
2906 * setToolVoltageOutputDomain(domain: number) -> nil
2907 *
2908 * @par Lua example
2909 * setToolVoltageOutputDomain(24)
2910 *
2911 * @par JSON-RPC request example
2912 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolVoltageOutputDomain","params":[24],"id":1}
2913 *
2914 * @par JSON-RPC response example
2915 * {"id":1,"jsonrpc":"2.0","result":0}
2916 *
2917 * \endenglish
2918 */
2920
2921 /**
2922 * @ingroup IoControl
2923 * \chinese
2924 * 获取工具端电源电压值(单位V)
2925 *
2926 * @return 工具端电源电压值(单位V)
2927 *
2928 * @throws arcs::common_interface::AuboException
2929 *
2930 * @par Python函数原型
2931 * getToolVoltageOutputDomain(self: pyaubo_sdk.IoControl) -> int
2932 *
2933 * @par Lua函数原型
2934 * getToolVoltageOutputDomain() -> number
2935 *
2936 * @par Lua示例
2937 * num = getToolVoltageOutputDomain()
2938 *
2939 * @par JSON-RPC请求示例
2940 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolVoltageOutputDomain","params":[],"id":1}
2941 *
2942 * @par JSON-RPC响应示例
2943 * {"id":1,"jsonrpc":"2.0","result":0}
2944 *
2945 * \endchinese
2946 * \english
2947 * Get the tool voltage output value (unit: V)
2948 *
2949 * @return Tool voltage output value (unit: V)
2950 *
2951 * @throws arcs::common_interface::AuboException
2952 *
2953 * @par Python function prototype
2954 * getToolVoltageOutputDomain(self: pyaubo_sdk.IoControl) -> int
2955 *
2956 * @par Lua function prototype
2957 * getToolVoltageOutputDomain() -> number
2958 *
2959 * @par Lua example
2960 * num = getToolVoltageOutputDomain()
2961 *
2962 * @par JSON-RPC request example
2963 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolVoltageOutputDomain","params":[],"id":1}
2964 *
2965 * @par JSON-RPC response example
2966 * {"id":1,"jsonrpc":"2.0","result":0}
2967 *
2968 * \endenglish
2969 */
2971
2972 /**
2973 * @ingroup IoControl
2974 * \chinese
2975 * 设置标准数字输出值
2976 *
2977 * @param index: 表示IO口的管脚,
2978 * @param value: 输出值
2979 * @return 成功返回0;失败返回错误码
2980 * AUBO_REQUEST_IGNORE
2981 * AUBO_BUSY
2982 * AUBO_BAD_STATE
2983 * -AUBO_INVL_ARGUMENT
2984 * -AUBO_BAD_STATE
2985 *
2986 * @throws arcs::common_interface::AuboException
2987 *
2988 * @par Python函数原型
2989 * setStandardDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int, arg1:
2990 * bool) -> int
2991 *
2992 * @par Lua函数原型
2993 * setStandardDigitalOutput(index: number, value: boolean) -> nil
2994 *
2995 * @par Lua示例
2996 * setStandardDigitalOutput(0,true)
2997 *
2998 * @par JSON-RPC请求示例
2999 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardDigitalOutput","params":[0,true],"id":1}
3000 *
3001 * @par JSON-RPC响应示例
3002 * {"id":1,"jsonrpc":"2.0","result":0}
3003 *
3004 * \endchinese
3005 * \english
3006 * Set the value of a standard digital output.
3007 *
3008 * @param index: Indicates the IO pin.
3009 * @param value: Output value.
3010 * @return Returns 0 on success; error code on failure.
3011 * AUBO_REQUEST_IGNORE
3012 * AUBO_BUSY
3013 * AUBO_BAD_STATE
3014 * -AUBO_INVL_ARGUMENT
3015 * -AUBO_BAD_STATE
3016 *
3017 * @throws arcs::common_interface::AuboException
3018 *
3019 * @par Python function prototype
3020 * setStandardDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int, arg1:
3021 * bool) -> int
3022 *
3023 * @par Lua function prototype
3024 * setStandardDigitalOutput(index: number, value: boolean) -> nil
3025 *
3026 * @par Lua example
3027 * setStandardDigitalOutput(0,true)
3028 *
3029 * @par JSON-RPC request example
3030 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardDigitalOutput","params":[0,true],"id":1}
3031 *
3032 * @par JSON-RPC response example
3033 * {"id":1,"jsonrpc":"2.0","result":0}
3034 *
3035 * \endenglish
3036 */
3037 int setStandardDigitalOutput(int index, bool value);
3038
3039 /**
3040 * @ingroup IoControl
3041 * \chinese
3042 * 设置数字输出脉冲
3043 *
3044 * @param index
3045 * @param value
3046 * @param duration
3047 *
3048 * @return 成功返回0;失败返回错误码
3049 * AUBO_REQUEST_IGNORE
3050 * AUBO_BUSY
3051 * AUBO_BAD_STATE
3052 * -AUBO_INVL_ARGUMENT
3053 * -AUBO_BAD_STATE
3054 *
3055 * @throws arcs::common_interface::AuboException
3056 *
3057 * @par Python函数原型
3058 * setStandardDigitalOutputPulse(self: pyaubo_sdk.IoControl, arg0: int,
3059 * arg1: bool, arg2: float) -> int
3060 *
3061 * @par Lua函数原型
3062 * setStandardDigitalOutputPulse(index: number, value: boolean, duration:
3063 * number) -> nil
3064 *
3065 * @par Lua示例
3066 * setStandardDigitalOutputPulse(0,true,2.5)
3067 *
3068 * @par JSON-RPC请求示例
3069 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardDigitalOutputPulse","params":[0,true,0.5],"id":1}
3070 *
3071 * @par JSON-RPC响应示例
3072 * {"id":1,"jsonrpc":"2.0","result":0}
3073 *
3074 * \endchinese
3075 * \english
3076 * Set digital output pulse.
3077 *
3078 * @param index
3079 * @param value
3080 * @param duration
3081 *
3082 * @return Returns 0 on success; error code on failure.
3083 * AUBO_REQUEST_IGNORE
3084 * AUBO_BUSY
3085 * AUBO_BAD_STATE
3086 * -AUBO_INVL_ARGUMENT
3087 * -AUBO_BAD_STATE
3088 *
3089 * @throws arcs::common_interface::AuboException
3090 *
3091 * @par Python function prototype
3092 * setStandardDigitalOutputPulse(self: pyaubo_sdk.IoControl, arg0: int,
3093 * arg1: bool, arg2: float) -> int
3094 *
3095 * @par Lua function prototype
3096 * setStandardDigitalOutputPulse(index: number, value: boolean, duration:
3097 * number) -> nil
3098 *
3099 * @par Lua example
3100 * setStandardDigitalOutputPulse(0,true,2.5)
3101 *
3102 * @par JSON-RPC request example
3103 * {"jsonrpc":"2.0","method":"rob1.IoControl.setStandardDigitalOutputPulse","params":[0,true,0.5],"id":1}
3104 *
3105 * @par JSON-RPC response example
3106 * {"id":1,"jsonrpc":"2.0","result":0}
3107 *
3108 * \endenglish
3109 */
3110 int setStandardDigitalOutputPulse(int index, bool value, double duration);
3111
3112 /**
3113 * @ingroup IoControl
3114 * \chinese
3115 * 设置工具端数字输出值
3116 *
3117 * @param index: 表示IO口的管脚,管脚编号从0开始。
3118 * 例如,0表示第一个管脚。
3119 * @param value: 数字输出值
3120 *
3121 * @return 成功返回0;失败返回错误码
3122 * AUBO_REQUEST_IGNORE
3123 * AUBO_BUSY
3124 * AUBO_BAD_STATE
3125 * -AUBO_INVL_ARGUMENT
3126 * -AUBO_BAD_STATE
3127 *
3128 * @throws arcs::common_interface::AuboException
3129 *
3130 * @par Python函数原型
3131 * setToolDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int, arg1: bool)
3132 * -> int
3133 *
3134 * @par Lua函数原型
3135 * setToolDigitalOutput(index: number, value: boolean) -> nil
3136 *
3137 * @par Lua示例
3138 * setToolDigitalOutput(0,true)
3139 *
3140 * @par JSON-RPC请求示例
3141 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolDigitalOutput","params":[0,true],"id":1}
3142 *
3143 * @par JSON-RPC响应示例
3144 * {"id":1,"jsonrpc":"2.0","result":0}
3145 *
3146 * \endchinese
3147 * \english
3148 * Set the value of tool digital output.
3149 *
3150 * @param index: Indicates the IO pin, starting from 0.
3151 * For example, 0 means the first pin.
3152 * @param value: Output value.
3153 *
3154 * @return Returns 0 on success; error code on failure.
3155 * AUBO_REQUEST_IGNORE
3156 * AUBO_BUSY
3157 * AUBO_BAD_STATE
3158 * -AUBO_INVL_ARGUMENT
3159 * -AUBO_BAD_STATE
3160 *
3161 * @throws arcs::common_interface::AuboException
3162 *
3163 * @par Python function prototype
3164 * setToolDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int, arg1: bool)
3165 * -> int
3166 *
3167 * @par Lua function prototype
3168 * setToolDigitalOutput(index: number, value: boolean) -> nil
3169 *
3170 * @par Lua example
3171 * setToolDigitalOutput(0,true)
3172 *
3173 * @par JSON-RPC request example
3174 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolDigitalOutput","params":[0,true],"id":1}
3175 *
3176 * @par JSON-RPC response example
3177 * {"id":1,"jsonrpc":"2.0","result":0}
3178 *
3179 * \endenglish
3180 */
3181 int setToolDigitalOutput(int index, bool value);
3182
3183 /**
3184 * @ingroup IoControl
3185 * \chinese
3186 * 设置工具端数字输出脉冲
3187 *
3188 * @param index
3189 * @param value
3190 * @param duration
3191 *
3192 * @return 成功返回0;失败返回错误码
3193 * AUBO_REQUEST_IGNORE
3194 * AUBO_BUSY
3195 * AUBO_BAD_STATE
3196 * -AUBO_INVL_ARGUMENT
3197 * -AUBO_BAD_STATE
3198 *
3199 * @throws arcs::common_interface::AuboException
3200 *
3201 * @par Python函数原型
3202 * setToolDigitalOutputPulse(self: pyaubo_sdk.IoControl, arg0: int, arg1:
3203 * bool, arg2: float) -> int
3204 *
3205 * @par Lua函数原型
3206 * setToolDigitalOutputPulse(index: number, value: boolean, duration:
3207 * number) -> nil
3208 *
3209 * @par Lua示例
3210 * setToolDigitalOutputPulse(0,true,2)
3211 *
3212 * @par JSON-RPC请求示例
3213 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolDigitalOutputPulse","params":[0,true,0.5],"id":1}
3214 *
3215 * @par JSON-RPC响应示例
3216 * {"id":1,"jsonrpc":"2.0","result":0}
3217 *
3218 * \endchinese
3219 * \english
3220 * Set tool digital output pulse.
3221 *
3222 * @param index
3223 * @param value
3224 * @param duration
3225 *
3226 * @return Returns 0 on success; error code on failure.
3227 * AUBO_REQUEST_IGNORE
3228 * AUBO_BUSY
3229 * AUBO_BAD_STATE
3230 * -AUBO_INVL_ARGUMENT
3231 * -AUBO_BAD_STATE
3232 *
3233 * @throws arcs::common_interface::AuboException
3234 *
3235 * @par Python function prototype
3236 * setToolDigitalOutputPulse(self: pyaubo_sdk.IoControl, arg0: int, arg1:
3237 * bool, arg2: float) -> int
3238 *
3239 * @par Lua function prototype
3240 * setToolDigitalOutputPulse(index: number, value: boolean, duration:
3241 * number) -> nil
3242 *
3243 * @par Lua example
3244 * setToolDigitalOutputPulse(0,true,2)
3245 *
3246 * @par JSON-RPC request example
3247 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolDigitalOutputPulse","params":[0,true,0.5],"id":1}
3248 *
3249 * @par JSON-RPC response example
3250 * {"id":1,"jsonrpc":"2.0","result":0}
3251 *
3252 * \endenglish
3253 */
3254 int setToolDigitalOutputPulse(int index, bool value, double duration);
3255
3256 /**
3257 * @ingroup IoControl
3258 * \chinese
3259 * 设置可配置数字输出值
3260 *
3261 * @param index: 表示IO口的管脚,管脚编号从0开始。
3262 * 例如,0表示第一个管脚。
3263 * @param value: 数字输出值
3264 *
3265 * @return 成功返回0;失败返回错误码
3266 * AUBO_REQUEST_IGNORE
3267 * AUBO_BUSY
3268 * AUBO_BAD_STATE
3269 * -AUBO_INVL_ARGUMENT
3270 * -AUBO_BAD_STATE
3271 *
3272 * @throws arcs::common_interface::AuboException
3273 *
3274 * @par Python函数原型
3275 * setConfigurableDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int, arg1:
3276 * bool) -> int
3277 *
3278 * @par Lua函数原型
3279 * setConfigurableDigitalOutput(index: number, value: boolean) -> nil
3280 *
3281 * @par Lua示例
3282 * setConfigurableDigitalOutput(0,true)
3283 *
3284 * @par JSON-RPC请求示例
3285 * {"jsonrpc":"2.0","method":"rob1.IoControl.setConfigurableDigitalOutput","params":[0,true],"id":1}
3286 *
3287 * @par JSON-RPC响应示例
3288 * {"id":1,"jsonrpc":"2.0","result":0}
3289 *
3290 * \endchinese
3291 * \english
3292 * Set the value of configurable digital output.
3293 *
3294 * @param index: Indicates the IO pin, starting from 0.
3295 * For example, 0 means the first pin.
3296 * @param value: Output value.
3297 *
3298 * @return Returns 0 on success; error code on failure.
3299 * AUBO_REQUEST_IGNORE
3300 * AUBO_BUSY
3301 * AUBO_BAD_STATE
3302 * -AUBO_INVL_ARGUMENT
3303 * -AUBO_BAD_STATE
3304 *
3305 * @throws arcs::common_interface::AuboException
3306 *
3307 * @par Python function prototype
3308 * setConfigurableDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int, arg1:
3309 * bool) -> int
3310 *
3311 * @par Lua function prototype
3312 * setConfigurableDigitalOutput(index: number, value: boolean) -> nil
3313 *
3314 * @par Lua example
3315 * setConfigurableDigitalOutput(0,true)
3316 *
3317 * @par JSON-RPC request example
3318 * {"jsonrpc":"2.0","method":"rob1.IoControl.setConfigurableDigitalOutput","params":[0,true],"id":1}
3319 *
3320 * @par JSON-RPC response example
3321 * {"id":1,"jsonrpc":"2.0","result":0}
3322 *
3323 * \endenglish
3324 */
3325 int setConfigurableDigitalOutput(int index, bool value);
3326
3327 /**
3328 * @ingroup IoControl
3329 * \chinese
3330 * 设置可配置数字输出脉冲
3331 *
3332 * @param index
3333 * @param value
3334 * @param duration
3335 *
3336 * @return 成功返回0;失败返回错误码
3337 * AUBO_REQUEST_IGNORE
3338 * AUBO_BUSY
3339 * AUBO_BAD_STATE
3340 * -AUBO_INVL_ARGUMENT
3341 * -AUBO_BAD_STATE
3342 *
3343 * @throws arcs::common_interface::AuboException
3344 *
3345 * @par Python函数原型
3346 * setConfigurableDigitalOutputPulse(self: pyaubo_sdk.IoControl, arg0: int,
3347 * arg1: bool, arg2: float) -> int
3348 *
3349 * @par Lua函数原型
3350 * setConfigurableDigitalOutputPulse(index: number, value: boolean,
3351 * duration: number) -> nil
3352 *
3353 * @par Lua示例
3354 * setConfigurableDigitalOutputPulse(0,true,2.3)
3355 *
3356 * @par JSON-RPC请求示例
3357 * {"jsonrpc":"2.0","method":"rob1.IoControl.setConfigurableDigitalOutputPulse","params":[0,true,0.5],"id":1}
3358 *
3359 * @par JSON-RPC响应示例
3360 * {"id":1,"jsonrpc":"2.0","result":0}
3361 *
3362 * \endchinese
3363 * \english
3364 * Set configurable digital output pulse.
3365 *
3366 * @param index
3367 * @param value
3368 * @param duration
3369 *
3370 * @return Returns 0 on success; error code on failure.
3371 * AUBO_REQUEST_IGNORE
3372 * AUBO_BUSY
3373 * AUBO_BAD_STATE
3374 * -AUBO_INVL_ARGUMENT
3375 * -AUBO_BAD_STATE
3376 *
3377 * @throws arcs::common_interface::AuboException
3378 *
3379 * @par Python function prototype
3380 * setConfigurableDigitalOutputPulse(self: pyaubo_sdk.IoControl, arg0: int,
3381 * arg1: bool, arg2: float) -> int
3382 *
3383 * @par Lua function prototype
3384 * setConfigurableDigitalOutputPulse(index: number, value: boolean,
3385 * duration: number) -> nil
3386 *
3387 * @par Lua example
3388 * setConfigurableDigitalOutputPulse(0,true,2.3)
3389 *
3390 * @par JSON-RPC request example
3391 * {"jsonrpc":"2.0","method":"rob1.IoControl.setConfigurableDigitalOutputPulse","params":[0,true,0.5],"id":1}
3392 *
3393 * @par JSON-RPC response example
3394 * {"id":1,"jsonrpc":"2.0","result":0}
3395 *
3396 * \endenglish
3397 */
3398 int setConfigurableDigitalOutputPulse(int index, bool value,
3399 double duration);
3400
3401 /**
3402 * @ingroup IoControl
3403 * \chinese
3404 * 设置标准模拟输出值
3405 *
3406 * @param index: 表示IO口的管脚,管脚编号从0开始。
3407 * 例如,0表示第一个管脚。
3408 * @param value: 模拟输出值
3409 *
3410 * @return 成功返回0;失败返回错误码
3411 * AUBO_REQUEST_IGNORE
3412 * AUBO_BUSY
3413 * AUBO_BAD_STATE
3414 * -AUBO_INVL_ARGUMENT
3415 * -AUBO_BAD_STATE
3416 *
3417 * @throws arcs::common_interface::AuboException
3418 *
3419 * @par Python函数原型
3420 * setStandardAnalogOutput(self: pyaubo_sdk.IoControl, arg0: int, arg1:
3421 * float) -> int
3422 *
3423 * @par Lua函数原型
3424 * setStandardAnalogOutput(index: number, value: number) -> nil
3425 *
3426 * @par Lua示例
3427 * setStandardAnalogOutput(0,5.4)
3428 *
3429 * \endchinese
3430 * \english
3431 * Set the value of standard analog output.
3432 *
3433 * @param index: Indicates the IO pin, starting from 0.
3434 * For example, 0 means the first pin.
3435 * @param value: Output value.
3436 *
3437 * @return Returns 0 on success; error code on failure.
3438 * AUBO_REQUEST_IGNORE
3439 * AUBO_BUSY
3440 * AUBO_BAD_STATE
3441 * -AUBO_INVL_ARGUMENT
3442 * -AUBO_BAD_STATE
3443 *
3444 * @throws arcs::common_interface::AuboException
3445 *
3446 * @par Python function prototype
3447 * setStandardAnalogOutput(self: pyaubo_sdk.IoControl, arg0: int, arg1:
3448 * float) -> int
3449 *
3450 * @par Lua function prototype
3451 * setStandardAnalogOutput(index: number, value: number) -> nil
3452 *
3453 * @par Lua example
3454 * setStandardAnalogOutput(0,5.4)
3455 *
3456 * \endenglish
3457 */
3458 int setStandardAnalogOutput(int index, double value);
3459
3460 /**
3461 * @ingroup IoControl
3462 * \chinese
3463 * 设置工具端模拟输出值
3464 *
3465 * @param index: 表示IO口的管脚,管脚编号从0开始。
3466 * 例如,0表示第一个管脚。
3467 * @param value: 模拟输出
3468 *
3469 * @return 成功返回0;失败返回错误码
3470 * AUBO_REQUEST_IGNORE
3471 * AUBO_BUSY
3472 * AUBO_BAD_STATE
3473 * -AUBO_INVL_ARGUMENT
3474 * -AUBO_BAD_STATE
3475 *
3476 * @throws arcs::common_interface::AuboException
3477 *
3478 * @par Python函数原型
3479 * setToolAnalogOutput(self: pyaubo_sdk.IoControl, arg0: int, arg1: float)
3480 * -> int
3481 *
3482 * @par Lua函数原型
3483 * setToolAnalogOutput(index: number, value: number) -> nil
3484 *
3485 * @par Lua示例
3486 * setToolAnalogOutput(0,1.2)
3487 *
3488 * @par JSON-RPC请求示例
3489 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolAnalogOutput","params":[0,0.5],"id":1}
3490 *
3491 * @par JSON-RPC响应示例
3492 * {"id":1,"jsonrpc":"2.0","result":13}
3493 *
3494 * \endchinese
3495 * \english
3496 * Set the value of tool analog output.
3497 *
3498 * @param index: Indicates the IO pin, starting from 0.
3499 * For example, 0 means the first pin.
3500 * @param value: Output value.
3501 *
3502 * @return Returns 0 on success; error code on failure.
3503 * AUBO_REQUEST_IGNORE
3504 * AUBO_BUSY
3505 * AUBO_BAD_STATE
3506 * -AUBO_INVL_ARGUMENT
3507 * -AUBO_BAD_STATE
3508 *
3509 * @throws arcs::common_interface::AuboException
3510 *
3511 * @par Python function prototype
3512 * setToolAnalogOutput(self: pyaubo_sdk.IoControl, arg0: int, arg1: float)
3513 * -> int
3514 *
3515 * @par Lua function prototype
3516 * setToolAnalogOutput(index: number, value: number) -> nil
3517 *
3518 * @par Lua example
3519 * setToolAnalogOutput(0,1.2)
3520 *
3521 * @par JSON-RPC request example
3522 * {"jsonrpc":"2.0","method":"rob1.IoControl.setToolAnalogOutput","params":[0,0.5],"id":1}
3523 *
3524 * @par JSON-RPC response example
3525 * {"id":1,"jsonrpc":"2.0","result":13}
3526 *
3527 * \endenglish
3528 */
3529 int setToolAnalogOutput(int index, double value);
3530
3531 /**
3532 * @ingroup IoControl
3533 * \chinese
3534 * 获取标准数字输入值
3535 *
3536 * @param index: 表示IO口的管脚,管脚编号从0开始。
3537 * 例如,0表示第一个管脚。
3538 *
3539 * @return 高电平返回true; 低电平返回false
3540 *
3541 * @throws arcs::common_interface::AuboException
3542 *
3543 * @par Python函数原型
3544 * getStandardDigitalInput(self: pyaubo_sdk.IoControl, arg0: int) -> bool
3545 *
3546 * @par Lua函数原型
3547 * getStandardDigitalInput(index: number) -> boolean
3548 *
3549 * @par Lua示例
3550 * status = getStandardDigitalInput(0)
3551 *
3552 * @par JSON-RPC请求示例
3553 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalInput","params":[0],"id":1}
3554 *
3555 * @par JSON-RPC响应示例
3556 * {"id":1,"jsonrpc":"2.0","result":false}
3557 *
3558 * \endchinese
3559 * \english
3560 * Get the value of a standard digital input.
3561 *
3562 * @param index: Indicates the IO pin, starting from 0.
3563 * For example, 0 means the first pin.
3564 *
3565 * @return Returns true for high level; false for low level.
3566 *
3567 * @throws arcs::common_interface::AuboException
3568 *
3569 * @par Python function prototype
3570 * getStandardDigitalInput(self: pyaubo_sdk.IoControl, arg0: int) -> bool
3571 *
3572 * @par Lua function prototype
3573 * getStandardDigitalInput(index: number) -> boolean
3574 *
3575 * @par Lua example
3576 * status = getStandardDigitalInput(0)
3577 *
3578 * @par JSON-RPC request example
3579 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalInput","params":[0],"id":1}
3580 *
3581 * @par JSON-RPC response example
3582 * {"id":1,"jsonrpc":"2.0","result":false}
3583 *
3584 * \endenglish
3585 */
3587
3588 /**
3589 * @ingroup IoControl
3590 * \chinese
3591 * 获取所有的标准数字输入值
3592 *
3593 * @return 所有的标准数字输入值 \n
3594 * 例如,当返回值是2863267846时,换成2进制后是10101010101010100000000000000110。
3595 * 后16位就是所有的标准数字输入状态值,
3596 * 最后一位表示DI00的输入状态值,倒数第二位表示DI01的输入状态值,以此类推。\n
3597 * 1表示高电平状态,0表示低电平状态
3598 *
3599 * @throws arcs::common_interface::AuboException
3600 *
3601 * @par Python函数原型
3602 * getStandardDigitalInputs(self: pyaubo_sdk.IoControl) -> int
3603 *
3604 * @par Lua函数原型
3605 * getStandardDigitalInputs() -> number
3606 *
3607 * @par Lua示例
3608 * num = getStandardDigitalInputs()
3609 *
3610 * @par JSON-RPC请求示例
3611 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalInputs","params":[],"id":1}
3612 *
3613 * @par JSON-RPC响应示例
3614 * {"id":1,"jsonrpc":"2.0","result":0}
3615 *
3616 * \endchinese
3617 * \english
3618 * Get all standard digital input values.
3619 *
3620 * @return All standard digital input values.\n
3621 * For example, if the return value is 2863267846, its binary representation
3622 * is 10101010101010100000000000000110. The lower 16 bits represent the
3623 * status of all standard digital inputs, the least significant bit
3624 * indicates the input status of DI00, the second least significant bit
3625 * indicates DI01, and so on.\n 1 means high level, 0 means low level.
3626 *
3627 * @throws arcs::common_interface::AuboException
3628 *
3629 * @par Python function prototype
3630 * getStandardDigitalInputs(self: pyaubo_sdk.IoControl) -> int
3631 *
3632 * @par Lua function prototype
3633 * getStandardDigitalInputs() -> number
3634 *
3635 * @par Lua example
3636 * num = getStandardDigitalInputs()
3637 *
3638 * @par JSON-RPC request example
3639 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalInputs","params":[],"id":1}
3640 *
3641 * @par JSON-RPC response example
3642 * {"id":1,"jsonrpc":"2.0","result":0}
3643 *
3644 * \endenglish
3645 */
3647
3648 /**
3649 * @ingroup IoControl
3650 * \chinese
3651 * 获取工具端数字输入值
3652 *
3653 * @param index: 表示IO口的管脚,管脚编号从0开始。
3654 * 例如,0表示第一个管脚。
3655 *
3656 * @return 高电平返回true; 低电平返回false
3657 *
3658 * @throws arcs::common_interface::AuboException
3659 *
3660 * @par Python函数原型
3661 * getToolDigitalInput(self: pyaubo_sdk.IoControl, arg0: int) -> bool
3662 *
3663 * @par Lua函数原型
3664 * getToolDigitalInput(index: number) -> boolean
3665 *
3666 * @par Lua示例
3667 * status = getToolDigitalInput(0)
3668 *
3669 * @par JSON-RPC请求示例
3670 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalInput","params":[0],"id":1}
3671 *
3672 * @par JSON-RPC响应示例
3673 * {"id":1,"jsonrpc":"2.0","result":false}
3674 *
3675 * \endchinese
3676 * \english
3677 * Get the value of tool digital input.
3678 *
3679 * @param index: Indicates the IO pin, starting from 0.
3680 * For example, 0 means the first pin.
3681 *
3682 * @return Returns true for high level; false for low level.
3683 *
3684 * @throws arcs::common_interface::AuboException
3685 *
3686 * @par Python function prototype
3687 * getToolDigitalInput(self: pyaubo_sdk.IoControl, arg0: int) -> bool
3688 *
3689 * @par Lua function prototype
3690 * getToolDigitalInput(index: number) -> boolean
3691 *
3692 * @par Lua example
3693 * status = getToolDigitalInput(0)
3694 *
3695 * @par JSON-RPC request example
3696 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalInput","params":[0],"id":1}
3697 *
3698 * @par JSON-RPC response example
3699 * {"id":1,"jsonrpc":"2.0","result":false}
3700 *
3701 * \endenglish
3702 */
3703 bool getToolDigitalInput(int index);
3704
3705 /**
3706 * @ingroup IoControl
3707 * \chinese
3708 * 获取所有的工具端数字输入值
3709 *
3710 * @return 返回所有的工具端数字输入值
3711 *
3712 * @throws arcs::common_interface::AuboException
3713 *
3714 * @par Python函数原型
3715 * getToolDigitalInputs(self: pyaubo_sdk.IoControl) -> int
3716 *
3717 * @par Lua函数原型
3718 * getToolDigitalInputs() -> number
3719 *
3720 * @par Lua示例
3721 * num = getToolDigitalInputs()
3722 *
3723 * @par JSON-RPC请求示例
3724 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalInputs","params":[],"id":1}
3725 *
3726 * @par JSON-RPC响应示例
3727 * {"id":1,"jsonrpc":"2.0","result":0}
3728 *
3729 * \endchinese
3730 * \english
3731 * Get all tool digital input values.
3732 *
3733 * @return Returns all tool digital input values.
3734 *
3735 * @throws arcs::common_interface::AuboException
3736 *
3737 * @par Python function prototype
3738 * getToolDigitalInputs(self: pyaubo_sdk.IoControl) -> int
3739 *
3740 * @par Lua function prototype
3741 * getToolDigitalInputs() -> number
3742 *
3743 * @par Lua example
3744 * num = getToolDigitalInputs()
3745 *
3746 * @par JSON-RPC request example
3747 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalInputs","params":[],"id":1}
3748 *
3749 * @par JSON-RPC response example
3750 * {"id":1,"jsonrpc":"2.0","result":0}
3751 *
3752 * \endenglish
3753 */
3755
3756 /**
3757 * @ingroup IoControl
3758 * \chinese
3759 * 获取可配置数字输入值
3760 *
3761 * @note 可用于获取安全IO的输入值
3762 *
3763 * @param index: 表示IO口的管脚,管脚编号从0开始。
3764 * 例如,0表示第一个管脚。
3765 *
3766 * @return 高电平返回true; 低电平返回false
3767 *
3768 * @throws arcs::common_interface::AuboException
3769 *
3770 * @par Python函数原型
3771 * getConfigurableDigitalInput(self: pyaubo_sdk.IoControl, arg0: int) ->
3772 * bool
3773 *
3774 * @par Lua函数原型
3775 * getConfigurableDigitalInput(index: number) -> boolean
3776 *
3777 * @par Lua示例
3778 * status = getConfigurableDigitalInput(0)
3779 *
3780 * @par JSON-RPC请求示例
3781 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalInput","params":[0],"id":1}
3782 *
3783 * @par JSON-RPC响应示例
3784 * {"id":1,"jsonrpc":"2.0","result":false}
3785 *
3786 * \endchinese
3787 * \english
3788 * Get the value of configurable digital input.
3789 *
3790 * @note Can be used to get the value of safety IO.
3791 *
3792 * @param index: Indicates the IO pin, starting from 0.
3793 * For example, 0 means the first pin.
3794 *
3795 * @return Returns true for high level; false for low level.
3796 *
3797 * @throws arcs::common_interface::AuboException
3798 *
3799 * @par Python function prototype
3800 * getConfigurableDigitalInput(self: pyaubo_sdk.IoControl, arg0: int) ->
3801 * bool
3802 *
3803 * @par Lua function prototype
3804 * getConfigurableDigitalInput(index: number) -> boolean
3805 *
3806 * @par Lua example
3807 * status = getConfigurableDigitalInput(0)
3808 *
3809 * @par JSON-RPC request example
3810 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalInput","params":[0],"id":1}
3811 *
3812 * @par JSON-RPC response example
3813 * {"id":1,"jsonrpc":"2.0","result":false}
3814 *
3815 * \endenglish
3816 */
3818
3819 /**
3820 * @ingroup IoControl
3821 * \chinese
3822 * 获取所有的可配置数字输入值
3823 *
3824 * @note 可用于获取安全IO的输入值
3825 *
3826 * @return 所有的可配置数字输入值\n
3827 * 例如,当返回值是2863267846时,换成2进制后是10101010101010100000000000000110。
3828 * 后16位就是所有的输入状态值,
3829 * 最后一位表示管脚0的输入状态值,倒数第二位表示管脚1的输入状态值,以此类推。\n
3830 * 1表示高电平状态,0表示低电平状态
3831 *
3832 * @throws arcs::common_interface::AuboException
3833 *
3834 * @par Python函数原型
3835 * getConfigurableDigitalInputs(self: pyaubo_sdk.IoControl) -> int
3836 *
3837 * @par Lua函数原型
3838 * getConfigurableDigitalInputs() -> number
3839 *
3840 * @par Lua示例
3841 * num = getConfigurableDigitalInputs()
3842 *
3843 * @par JSON-RPC请求示例
3844 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalInputs","params":[],"id":1}
3845 *
3846 * @par JSON-RPC响应示例
3847 * {"id":1,"jsonrpc":"2.0","result":0}
3848 *
3849 * \endchinese
3850 * \english
3851 * Get all configurable digital input values.
3852 *
3853 * @note Can be used to get the value of safety IO.
3854 *
3855 * @return All configurable digital input values.\n
3856 * For example, if the return value is 2863267846, its binary representation
3857 * is 10101010101010100000000000000110. The lower 16 bits represent the
3858 * status of all input pins, the least significant bit indicates the input
3859 * status of pin 0, the second least significant bit indicates pin 1, and so
3860 * on.\n 1 means high level, 0 means low level.
3861 *
3862 * @throws arcs::common_interface::AuboException
3863 *
3864 * @par Python function prototype
3865 * getConfigurableDigitalInputs(self: pyaubo_sdk.IoControl) -> int
3866 *
3867 * @par Lua function prototype
3868 * getConfigurableDigitalInputs() -> number
3869 *
3870 * @par Lua example
3871 * num = getConfigurableDigitalInputs()
3872 *
3873 * @par JSON-RPC request example
3874 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalInputs","params":[],"id":1}
3875 *
3876 * @par JSON-RPC response example
3877 * {"id":1,"jsonrpc":"2.0","result":0}
3878 *
3879 * \endenglish
3880 */
3882
3883 /**
3884 * @ingroup IoControl
3885 * \chinese
3886 * 获取标准数字输出值
3887 *
3888 * @param index: 表示IO口的管脚,管脚编号从0开始。
3889 * 例如,0表示第一个管脚。
3890 *
3891 * @return 高电平返回true; 低电平返回false
3892 *
3893 * @throws arcs::common_interface::AuboException
3894 *
3895 * @par Python函数原型
3896 * getStandardDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int) -> bool
3897 *
3898 * @par Lua函数原型
3899 * getStandardDigitalOutput(index: number) -> boolean
3900 *
3901 * @par Lua示例
3902 * status = getStandardDigitalOutput(0)
3903 *
3904 * @par JSON-RPC请求示例
3905 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalOutput","params":[0],"id":1}
3906 *
3907 * @par JSON-RPC响应示例
3908 * {"id":1,"jsonrpc":"2.0","result":true}
3909 *
3910 * \endchinese
3911 * \english
3912 * Get the value of a standard digital output.
3913 *
3914 * @param index: Indicates the IO pin, starting from 0.
3915 * For example, 0 means the first pin.
3916 *
3917 * @return Returns true for high level; false for low level.
3918 *
3919 * @throws arcs::common_interface::AuboException
3920 *
3921 * @par Python function prototype
3922 * getStandardDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int) -> bool
3923 *
3924 * @par Lua function prototype
3925 * getStandardDigitalOutput(index: number) -> boolean
3926 *
3927 * @par Lua example
3928 * status = getStandardDigitalOutput(0)
3929 *
3930 * @par JSON-RPC request example
3931 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalOutput","params":[0],"id":1}
3932 *
3933 * @par JSON-RPC response example
3934 * {"id":1,"jsonrpc":"2.0","result":true}
3935 *
3936 * \endenglish
3937 */
3939
3940 /**
3941 * @ingroup IoControl
3942 * \chinese
3943 * 获取所有的标准数字输出值
3944 *
3945 * @return 所有的标准数字输出值 \n
3946 * 例如,当返回值是2863267846时,换成2进制后是10101010101010100000000000000110。
3947 * 后16位就是所有的标准数字输出状态值,
3948 * 最后一位表示DI00的输出状态值,倒数第二位表示DI01的输出状态值,以此类推。\n
3949 * 1表示高电平状态,0表示低电平状态.
3950 *
3951 * @throws arcs::common_interface::AuboException
3952 *
3953 * @par Python函数原型
3954 * getStandardDigitalOutputs(self: pyaubo_sdk.IoControl) -> int
3955 *
3956 * @par Lua函数原型
3957 * getStandardDigitalOutputs() -> number
3958 *
3959 * @par Lua示例
3960 * num = getStandardDigitalOutputs()
3961 *
3962 * @par JSON-RPC请求示例
3963 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalOutputs","params":[],"id":1}
3964 *
3965 * @par JSON-RPC响应示例
3966 * {"id":1,"jsonrpc":"2.0","result":69}
3967 *
3968 * \endchinese
3969 * \english
3970 * Get all standard digital output values.
3971 *
3972 * @return All standard digital output values.\n
3973 * For example, if the return value is 2863267846, its binary representation
3974 * is 10101010101010100000000000000110. The lower 16 bits represent the
3975 * status of all standard digital outputs, the least significant bit
3976 * indicates the output status of DO00, the second least significant bit
3977 * indicates DO01, and so on.\n 1 means high level, 0 means low level.
3978 *
3979 * @throws arcs::common_interface::AuboException
3980 *
3981 * @par Python function prototype
3982 * getStandardDigitalOutputs(self: pyaubo_sdk.IoControl) -> int
3983 *
3984 * @par Lua function prototype
3985 * getStandardDigitalOutputs() -> number
3986 *
3987 * @par Lua example
3988 * num = getStandardDigitalOutputs()
3989 *
3990 * @par JSON-RPC request example
3991 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardDigitalOutputs","params":[],"id":1}
3992 *
3993 * @par JSON-RPC response example
3994 * {"id":1,"jsonrpc":"2.0","result":69}
3995 *
3996 * \endenglish
3997 */
3999
4000 /**
4001 * @ingroup IoControl
4002 * \chinese
4003 * 获取工具端数字输出值
4004 *
4005 * @param index: 表示IO口的管脚,管脚编号从0开始。
4006 * 例如,0表示第一个管脚。
4007 *
4008 * @return 高电平返回true; 低电平返回false
4009 *
4010 * @throws arcs::common_interface::AuboException
4011 *
4012 * @par Python函数原型
4013 * getToolDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int) -> bool
4014 *
4015 * @par Lua函数原型
4016 * getToolDigitalOutput(index: number) -> boolean
4017 *
4018 * @par Lua示例
4019 * status = getToolDigitalOutput(0)
4020 *
4021 * @par JSON-RPC请求示例
4022 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalOutput","params":[0],"id":1}
4023 *
4024 * @par JSON-RPC响应示例
4025 * {"id":1,"jsonrpc":"2.0","result":false}
4026 *
4027 * \endchinese
4028 * \english
4029 * Get the value of tool digital output.
4030 *
4031 * @param index: Indicates the IO pin, starting from 0.
4032 * For example, 0 means the first pin.
4033 *
4034 * @return Returns true for high level; false for low level.
4035 *
4036 * @throws arcs::common_interface::AuboException
4037 *
4038 * @par Python function prototype
4039 * getToolDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int) -> bool
4040 *
4041 * @par Lua function prototype
4042 * getToolDigitalOutput(index: number) -> boolean
4043 *
4044 * @par Lua example
4045 * status = getToolDigitalOutput(0)
4046 *
4047 * @par JSON-RPC request example
4048 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalOutput","params":[0],"id":1}
4049 *
4050 * @par JSON-RPC response example
4051 * {"id":1,"jsonrpc":"2.0","result":false}
4052 *
4053 * \endenglish
4054 */
4055 bool getToolDigitalOutput(int index);
4056
4057 /**
4058 * @ingroup IoControl
4059 * \chinese
4060 * 获取所有的工具端数字输出值
4061 *
4062 * @return 所有的工具端数字输出值
4063 *
4064 * @throws arcs::common_interface::AuboException
4065 *
4066 * @par Python函数原型
4067 * getToolDigitalOutputs(self: pyaubo_sdk.IoControl) -> int
4068 *
4069 * @par Lua函数原型
4070 * getToolDigitalOutputs() -> number
4071 *
4072 * @par Lua示例
4073 * num = getToolDigitalOutputs()
4074 *
4075 * @par JSON-RPC请求示例
4076 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalOutputs","params":[],"id":1}
4077 *
4078 * @par JSON-RPC响应示例
4079 * {"id":1,"jsonrpc":"2.0","result":9}
4080 *
4081 * \endchinese
4082 * \english
4083 * Get all tool digital output values.
4084 *
4085 * @return All tool digital output values.
4086 *
4087 * @throws arcs::common_interface::AuboException
4088 *
4089 * @par Python function prototype
4090 * getToolDigitalOutputs(self: pyaubo_sdk.IoControl) -> int
4091 *
4092 * @par Lua function prototype
4093 * getToolDigitalOutputs() -> number
4094 *
4095 * @par Lua example
4096 * num = getToolDigitalOutputs()
4097 *
4098 * @par JSON-RPC request example
4099 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolDigitalOutputs","params":[],"id":1}
4100 *
4101 * @par JSON-RPC response example
4102 * {"id":1,"jsonrpc":"2.0","result":9}
4103 *
4104 * \endenglish
4105 */
4107
4108 /**
4109 * @ingroup IoControl
4110 * \chinese
4111 * 获取可配值数字输出值
4112 *
4113 * @note 可用于获取安全IO的输出值
4114 *
4115 * @param index: 表示IO口的管脚,管脚编号从0开始。
4116 * 例如,0表示第一个管脚。
4117 *
4118 * @return 高电平返回true; 低电平返回false
4119 *
4120 * @throws arcs::common_interface::AuboException
4121 *
4122 * @par Python函数原型
4123 * getConfigurableDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int) ->
4124 * bool
4125 *
4126 * @par Lua函数原型
4127 * getConfigurableDigitalOutput(index: number) -> boolean
4128 *
4129 * @par Lua示例
4130 * status = getConfigurableDigitalOutput(0)
4131 *
4132 * @par JSON-RPC请求示例
4133 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalOutput","params":[0],"id":1}
4134 *
4135 * @par JSON-RPC响应示例
4136 * {"id":1,"jsonrpc":"2.0","result":true}
4137 *
4138 * \endchinese
4139 * \english
4140 * Get the value of configurable digital output.
4141 *
4142 * @note Can be used to get the value of safety IO.
4143 *
4144 * @param index: Indicates the IO pin, starting from 0.
4145 * For example, 0 means the first pin.
4146 *
4147 * @return Returns true for high level; false for low level.
4148 *
4149 * @throws arcs::common_interface::AuboException
4150 *
4151 * @par Python function prototype
4152 * getConfigurableDigitalOutput(self: pyaubo_sdk.IoControl, arg0: int) ->
4153 * bool
4154 *
4155 * @par Lua function prototype
4156 * getConfigurableDigitalOutput(index: number) -> boolean
4157 *
4158 * @par Lua example
4159 * status = getConfigurableDigitalOutput(0)
4160 *
4161 * @par JSON-RPC request example
4162 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalOutput","params":[0],"id":1}
4163 *
4164 * @par JSON-RPC response example
4165 * {"id":1,"jsonrpc":"2.0","result":true}
4166 *
4167 * \endenglish
4168 */
4170
4171 /**
4172 * @ingroup IoControl
4173 * \chinese
4174 * 获取所有的可配值数字输出值
4175 *
4176 * @note 可用于获取安全IO的输出值
4177 *
4178 * @return 所有的可配值数字输出\n
4179 * 例如,当返回值是2863267846时,换成2进制后是10101010101010100000000000000110。
4180 * 后16位就是所有的输出值,
4181 * 最后一位表示管脚0的输出状态值,倒数第二位表示管脚1的输出状态值,以此类推。\n
4182 * 1表示高电平状态,0表示低电平状态.
4183 *
4184 * @throws arcs::common_interface::AuboException
4185 *
4186 * @par Python函数原型
4187 * getConfigurableDigitalOutputs(self: pyaubo_sdk.IoControl) -> int
4188 *
4189 * @par Lua函数原型
4190 * getConfigurableDigitalOutputs() -> number
4191 *
4192 * @par Lua示例
4193 * num = getConfigurableDigitalOutputs()
4194 *
4195 * @par JSON-RPC请求示例
4196 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalOutputs","params":[],"id":1}
4197 *
4198 * @par JSON-RPC响应示例
4199 * {"id":1,"jsonrpc":"2.0","result":1}
4200 *
4201 * \endchinese
4202 * \english
4203 * Get all configurable digital output values.
4204 *
4205 * @note Can be used to get the value of safety IO.
4206 *
4207 * @return All configurable digital output values.\n
4208 * For example, if the return value is 2863267846, its binary representation
4209 * is 10101010101010100000000000000110. The lower 16 bits represent the
4210 * status of all output pins, the least significant bit indicates the output
4211 * status of pin 0, the second least significant bit indicates pin 1, and so
4212 * on.\n 1 means high level, 0 means low level.
4213 *
4214 * @throws arcs::common_interface::AuboException
4215 *
4216 * @par Python function prototype
4217 * getConfigurableDigitalOutputs(self: pyaubo_sdk.IoControl) -> int
4218 *
4219 * @par Lua function prototype
4220 * getConfigurableDigitalOutputs() -> number
4221 *
4222 * @par Lua example
4223 * num = getConfigurableDigitalOutputs()
4224 *
4225 * @par JSON-RPC request example
4226 * {"jsonrpc":"2.0","method":"rob1.IoControl.getConfigurableDigitalOutputs","params":[],"id":1}
4227 *
4228 * @par JSON-RPC response example
4229 * {"id":1,"jsonrpc":"2.0","result":1}
4230 *
4231 * \endenglish
4232 */
4234
4235 /**
4236 * @ingroup IoControl
4237 * \chinese
4238 * 获取标准模拟输入值
4239 *
4240 * @param index: 表示IO口的管脚,管脚编号从0开始。
4241 * 例如,0表示第一个管脚。
4242 *
4243 * @return 标准模拟输入值
4244 *
4245 * @throws arcs::common_interface::AuboException
4246 *
4247 * @par Python函数原型
4248 * getStandardAnalogInput(self: pyaubo_sdk.IoControl, arg0: int) -> float
4249 *
4250 * @par Lua函数原型
4251 * getStandardAnalogInput(index: number) -> number
4252 *
4253 * @par Lua示例
4254 * getStandardAnalogInput(0)
4255 *
4256 * @par JSON-RPC请求示例
4257 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogInput","params":[0],"id":1}
4258 *
4259 * @par JSON-RPC响应示例
4260 * {"id":1,"jsonrpc":"2.0","result":0.0}
4261 *
4262 * \endchinese
4263 * \english
4264 * Get the value of standard analog input.
4265 *
4266 * @param index: Indicates the IO pin, starting from 0.
4267 * For example, 0 means the first pin.
4268 *
4269 * @return Standard analog input value.
4270 *
4271 * @throws arcs::common_interface::AuboException
4272 *
4273 * @par Python function prototype
4274 * getStandardAnalogInput(self: pyaubo_sdk.IoControl, arg0: int) -> float
4275 *
4276 * @par Lua function prototype
4277 * getStandardAnalogInput(index: number) -> number
4278 *
4279 * @par Lua example
4280 * getStandardAnalogInput(0)
4281 *
4282 * @par JSON-RPC request example
4283 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogInput","params":[0],"id":1}
4284 *
4285 * @par JSON-RPC response example
4286 * {"id":1,"jsonrpc":"2.0","result":0.0}
4287 *
4288 * \endenglish
4289 */
4290 double getStandardAnalogInput(int index);
4291
4292 /**
4293 * @ingroup IoControl
4294 * \chinese
4295 * 获取工具端模拟输入值
4296 *
4297 * @param index: 表示IO口的管脚,管脚编号从0开始。
4298 * 例如,0表示第一个管脚。
4299 *
4300 * @return 工具端模拟输入值
4301 *
4302 * @throws arcs::common_interface::AuboException
4303 *
4304 * @par Python函数原型
4305 * getToolAnalogInput(self: pyaubo_sdk.IoControl, arg0: int) -> float
4306 *
4307 * @par Lua函数原型
4308 * getToolAnalogInput(index: number) -> number
4309 *
4310 * @par Lua示例
4311 * num = getToolAnalogInput(0)
4312 *
4313 * @par JSON-RPC请求示例
4314 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogInput","params":[0],"id":1}
4315 *
4316 * @par JSON-RPC响应示例
4317 * {"id":1,"jsonrpc":"2.0","result":0.0}
4318 *
4319 * \endchinese
4320 * \english
4321 * Get the value of tool analog input.
4322 *
4323 * @param index: Indicates the IO pin, starting from 0.
4324 * For example, 0 means the first pin.
4325 *
4326 * @return Tool analog input value.
4327 *
4328 * @throws arcs::common_interface::AuboException
4329 *
4330 * @par Python function prototype
4331 * getToolAnalogInput(self: pyaubo_sdk.IoControl, arg0: int) -> float
4332 *
4333 * @par Lua function prototype
4334 * getToolAnalogInput(index: number) -> number
4335 *
4336 * @par Lua example
4337 * num = getToolAnalogInput(0)
4338 *
4339 * @par JSON-RPC request example
4340 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogInput","params":[0],"id":1}
4341 *
4342 * @par JSON-RPC response example
4343 * {"id":1,"jsonrpc":"2.0","result":0.0}
4344 *
4345 * \endenglish
4346 */
4347 double getToolAnalogInput(int index);
4348
4349 /**
4350 * @ingroup IoControl
4351 * \chinese
4352 * 获取标准模拟输出值
4353 *
4354 * @param index: 表示IO口的管脚,管脚编号从0开始。
4355 * 例如,0表示第一个管脚。
4356 *
4357 * @return 标准模拟输出值
4358 *
4359 * @throws arcs::common_interface::AuboException
4360 *
4361 * @par Python函数原型
4362 * getStandardAnalogOutput(self: pyaubo_sdk.IoControl, arg0: int) -> float
4363 *
4364 * @par Lua函数原型
4365 * getStandardAnalogOutput(index: number) -> number
4366 *
4367 * @par Lua示例
4368 * num = getStandardAnalogOutput(0)
4369 *
4370 * @par JSON-RPC请求示例
4371 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogOutput","params":[0],"id":1}
4372 *
4373 * @par JSON-RPC响应示例
4374 * {"id":1,"jsonrpc":"2.0","result":0.0}
4375 *
4376 * \endchinese
4377 * \english
4378 * Get the value of standard analog output.
4379 *
4380 * @param index: Indicates the IO pin, starting from 0.
4381 * For example, 0 means the first pin.
4382 *
4383 * @return Standard analog output value.
4384 *
4385 * @throws arcs::common_interface::AuboException
4386 *
4387 * @par Python function prototype
4388 * getStandardAnalogOutput(self: pyaubo_sdk.IoControl, arg0: int) -> float
4389 *
4390 * @par Lua function prototype
4391 * getStandardAnalogOutput(index: number) -> number
4392 *
4393 * @par Lua example
4394 * num = getStandardAnalogOutput(0)
4395 *
4396 * @par JSON-RPC request example
4397 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStandardAnalogOutput","params":[0],"id":1}
4398 *
4399 * @par JSON-RPC response example
4400 * {"id":1,"jsonrpc":"2.0","result":0.0}
4401 *
4402 * \endenglish
4403 */
4404 double getStandardAnalogOutput(int index);
4405
4406 /**
4407 * @ingroup IoControl
4408 * \chinese
4409 * 获取工具端模拟输出值
4410 *
4411 * @param index: 表示IO口的管脚,管脚编号从0开始。
4412 * 例如,0表示第一个管脚。
4413 *
4414 * @return 工具端模拟输出值
4415 *
4416 * @throws arcs::common_interface::AuboException
4417 *
4418 * @par Python函数原型
4419 * getToolAnalogOutput(self: pyaubo_sdk.IoControl, arg0: int) -> float
4420 *
4421 * @par Lua函数原型
4422 * getToolAnalogOutput(index: number) -> number
4423 *
4424 * @par Lua示例
4425 * num = getToolAnalogOutput(0)
4426 *
4427 * @par JSON-RPC请求示例
4428 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogOutput","params":[0],"id":1}
4429 *
4430 * @par JSON-RPC响应示例
4431 * {"id":1,"jsonrpc":"2.0","result":0.0}
4432 *
4433 * \endchinese
4434 * \english
4435 * Get the value of tool analog output.
4436 *
4437 * @param index: Indicates the IO pin, starting from 0.
4438 * For example, 0 means the first pin.
4439 *
4440 * @return Tool analog output value.
4441 *
4442 * @throws arcs::common_interface::AuboException
4443 *
4444 * @par Python function prototype
4445 * getToolAnalogOutput(self: pyaubo_sdk.IoControl, arg0: int) -> float
4446 *
4447 * @par Lua function prototype
4448 * getToolAnalogOutput(index: number) -> number
4449 *
4450 * @par Lua example
4451 * num = getToolAnalogOutput(0)
4452 *
4453 * @par JSON-RPC request example
4454 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolAnalogOutput","params":[0],"id":1}
4455 *
4456 * @par JSON-RPC response example
4457 * {"id":1,"jsonrpc":"2.0","result":0.0}
4458 *
4459 * \endenglish
4460 */
4461 double getToolAnalogOutput(int index);
4462
4463 /**
4464 * @ingroup IoControl
4465 * \chinese
4466 * 获取联动输入数量
4467 *
4468 * @return 联动输入数量
4469 *
4470 * @throws arcs::common_interface::AuboException
4471 *
4472 * @par Python函数原型
4473 * getStaticLinkInputNum(self: pyaubo_sdk.IoControl) -> int
4474 *
4475 * @par Lua函数原型
4476 * getStaticLinkInputNum() -> number
4477 *
4478 * @par Lua示例
4479 * num = getStaticLinkInputNum()
4480 *
4481 * @par JSON-RPC请求示例
4482 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStaticLinkInputNum","params":[],"id":1}
4483 *
4484 * @par JSON-RPC响应示例
4485 * {"id":1,"jsonrpc":"2.0","result":8}
4486 *
4487 * \endchinese
4488 * \english
4489 * Get the number of static link inputs.
4490 *
4491 * @return Number of static link inputs.
4492 *
4493 * @throws arcs::common_interface::AuboException
4494 *
4495 * @par Python function prototype
4496 * getStaticLinkInputNum(self: pyaubo_sdk.IoControl) -> int
4497 *
4498 * @par Lua function prototype
4499 * getStaticLinkInputNum() -> number
4500 *
4501 * @par Lua example
4502 * num = getStaticLinkInputNum()
4503 *
4504 * @par JSON-RPC request example
4505 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStaticLinkInputNum","params":[],"id":1}
4506 *
4507 * @par JSON-RPC response example
4508 * {"id":1,"jsonrpc":"2.0","result":8}
4509 *
4510 * \endenglish
4511 */
4513
4514 /**
4515 * @ingroup IoControl
4516 * \chinese
4517 * 获取联动输出数量
4518 *
4519 * @return 联动输出数量
4520 *
4521 * @throws arcs::common_interface::AuboException
4522 *
4523 * @par Python函数原型
4524 * getStaticLinkOutputNum(self: pyaubo_sdk.IoControl) -> int
4525 *
4526 * @par Lua函数原型
4527 * getStaticLinkOutputNum() -> number
4528 *
4529 * @par Lua示例
4530 * num = getStaticLinkOutputNum()
4531 *
4532 * @par JSON-RPC请求示例
4533 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStaticLinkOutputNum","params":[],"id":1}
4534 *
4535 * @par JSON-RPC响应示例
4536 * {"id":1,"jsonrpc":"2.0","result":0}
4537 *
4538 * \endchinese
4539 * \english
4540 * Get the number of static link outputs.
4541 *
4542 * @return Number of static link outputs.
4543 *
4544 * @throws arcs::common_interface::AuboException
4545 *
4546 * @par Python function prototype
4547 * getStaticLinkOutputNum(self: pyaubo_sdk.IoControl) -> int
4548 *
4549 * @par Lua function prototype
4550 * getStaticLinkOutputNum() -> number
4551 *
4552 * @par Lua example
4553 * num = getStaticLinkOutputNum()
4554 *
4555 * @par JSON-RPC request example
4556 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStaticLinkOutputNum","params":[],"id":1}
4557 *
4558 * @par JSON-RPC response example
4559 * {"id":1,"jsonrpc":"2.0","result":0}
4560 *
4561 * \endenglish
4562 */
4564
4565 /**
4566 * @ingroup IoControl
4567 * \chinese
4568 * 获取所有的联动输入值
4569 *
4570 * @return 所有的联动输入值\n
4571 * 例如,当返回值是2863267846时,换成2进制后是10101010101010100000000000000110。
4572 * 后16位就是所有的联动输入状态值,
4573 * 最后一位表示管脚0的输入状态值,倒数第二位表示管脚1的输入状态值,以此类推。\n
4574 * 1表示高电平状态,0表示低电平状态.
4575 *
4576 * @throws arcs::common_interface::AuboException
4577 *
4578 * @par Python函数原型
4579 * getStaticLinkInputs(self: pyaubo_sdk.IoControl) -> int
4580 *
4581 * @par Lua函数原型
4582 * getStaticLinkInputs() -> number
4583 *
4584 * @par Lua示例
4585 * num = getStaticLinkInputs()
4586 *
4587 * @par JSON-RPC请求示例
4588 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStaticLinkInputs","params":[],"id":1}
4589 *
4590 * @par JSON-RPC响应示例
4591 * {"id":1,"jsonrpc":"2.0","result":0}
4592 *
4593 * \endchinese
4594 * \english
4595 * Get all static link input values.
4596 *
4597 * @return All static link input values.\n
4598 * For example, if the return value is 2863267846, its binary representation
4599 * is 10101010101010100000000000000110. The lower 16 bits represent the
4600 * status of all static link inputs, the least significant bit indicates the
4601 * input status of pin 0, the second least significant bit indicates pin 1,
4602 * and so on.\n 1 means high level, 0 means low level.
4603 *
4604 * @throws arcs::common_interface::AuboException
4605 *
4606 * @par Python function prototype
4607 * getStaticLinkInputs(self: pyaubo_sdk.IoControl) -> int
4608 *
4609 * @par Lua function prototype
4610 * getStaticLinkInputs() -> number
4611 *
4612 * @par Lua example
4613 * num = getStaticLinkInputs()
4614 *
4615 * @par JSON-RPC request example
4616 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStaticLinkInputs","params":[],"id":1}
4617 *
4618 * @par JSON-RPC response example
4619 * {"id":1,"jsonrpc":"2.0","result":0}
4620 *
4621 * \endenglish
4622 */
4624
4625 /**
4626 * @ingroup IoControl
4627 * \chinese
4628 * 获取所有的联动输出值
4629 *
4630 * @return 返回所有的联动输出值 \n
4631 * 例如,当返回值是2863267846时,换成2进制后是10101010101010100000000000000110。
4632 * 后16位就是所有的联动输出状态值,
4633 * 最后一位表示管脚0的输出状态值,倒数第二位表示管脚1的输出状态值,以此类推。\n
4634 * 1表示高电平状态,0表示低电平状态.
4635 *
4636 * @throws arcs::common_interface::AuboException
4637 *
4638 * @par Python函数原型
4639 * getStaticLinkOutputs(self: pyaubo_sdk.IoControl) -> int
4640 *
4641 * @par Lua函数原型
4642 * getStaticLinkOutputs() -> number
4643 *
4644 * @par Lua示例
4645 * num = getStaticLinkOutputs()
4646 *
4647 * @par JSON-RPC请求示例
4648 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStaticLinkOutputs","params":[],"id":1}
4649 *
4650 * @par JSON-RPC响应示例
4651 * {"id":1,"jsonrpc":"2.0","result":0}
4652 *
4653 * \endchinese
4654 * \english
4655 * Get all static link output values.
4656 *
4657 * @return Returns all static link output values.\n
4658 * For example, if the return value is 2863267846, its binary representation
4659 * is 10101010101010100000000000000110. The lower 16 bits represent the
4660 * status of all static link outputs, the least significant bit indicates
4661 * the output status of pin 0, the second least significant bit indicates
4662 * pin 1, and so on.\n 1 means high level, 0 means low level.
4663 *
4664 * @throws arcs::common_interface::AuboException
4665 *
4666 * @par Python function prototype
4667 * getStaticLinkOutputs(self: pyaubo_sdk.IoControl) -> int
4668 *
4669 * @par Lua function prototype
4670 * getStaticLinkOutputs() -> number
4671 *
4672 * @par Lua example
4673 * num = getStaticLinkOutputs()
4674 *
4675 * @par JSON-RPC request example
4676 * {"jsonrpc":"2.0","method":"rob1.IoControl.getStaticLinkOutputs","params":[],"id":1}
4677 *
4678 * @par JSON-RPC response example
4679 * {"id":1,"jsonrpc":"2.0","result":0}
4680 *
4681 * \endenglish
4682 */
4684
4685 /**
4686 * @ingroup IoControl
4687 * \chinese
4688 * 机器人是否配置了编码器
4689 * 集成编码器的编号为 0
4690 *
4691 * @return 机器人配置编码器返回 true, 反之返回 false
4692 *
4693 * @throws arcs::common_interface::AuboException
4694 *
4695 * @par JSON-RPC请求示例
4696 * {"jsonrpc":"2.0","method":"rob1.IoControl.hasEncoderSensor","params":[],"id":1}
4697 *
4698 * @par JSON-RPC响应示例
4699 * {"id":1,"jsonrpc":"2.0","result":true}
4700 *
4701 * \endchinese
4702 * \english
4703 * Whether the robot is equipped with an encoder.
4704 * The integrated encoder number is 0.
4705 *
4706 * @return Returns true if the robot is equipped with an encoder, otherwise
4707 * false.
4708 *
4709 * @throws arcs::common_interface::AuboException
4710 *
4711 * @par JSON-RPC request example
4712 * {"jsonrpc":"2.0","method":"rob1.IoControl.hasEncoderSensor","params":[],"id":1}
4713 *
4714 * @par JSON-RPC response example
4715 * {"id":1,"jsonrpc":"2.0","result":true}
4716 *
4717 * \endenglish
4718 */
4720 /**
4721 * @ingroup IoControl
4722 * \chinese
4723 * 设置集成编码器的解码方式
4724 *
4725 * @param type
4726 * 0-禁用编码器
4727 * 1-AB正交
4728 * 2-AB正交+Z
4729 * 3-AB差分正交
4730 * 4-AB差分正交+Z差分
4731 *
4732 * @param range_id
4733 * 0 表示32位有符号编码器,范围为 [-2147483648, 2147483647]
4734 * 1 表示8位无符号编码器,范围为 [0, 255]
4735 * 2 表示16位无符号编码器,范围为 [0, 65535]
4736 * 3 表示24位无符号编码器,范围为 [0, 16777215]
4737 * 4 表示32位无符号编码器,范围为 [0, 4294967295]
4738 *
4739 * @return 成功返回0;失败返回错误码
4740 * AUBO_NO_ACCESS
4741 * AUBO_BUSY
4742 * AUBO_BAD_STATE
4743 * -AUBO_INVL_ARGUMENT
4744 * -AUBO_BAD_STATE
4745 *
4746 * @throws arcs::common_interface::AuboException
4747 * \endchinese
4748 * \english
4749 * Set the decoding method of the integrated encoder.
4750 *
4751 * @param type
4752 * 0 - Disable encoder
4753 * 1 - AB quadrature
4754 * 2 - AB quadrature + Z
4755 * 3 - AB differential quadrature
4756 * 4 - AB differential quadrature + Z differential
4757 *
4758 * @param range_id
4759 * 0 is a 32-bit signed encoder, range [-2147483648, 2147483647]
4760 * 1 is an 8-bit unsigned encoder, range [0, 255]
4761 * 2 is a 16-bit unsigned encoder, range [0, 65535]
4762 * 3 is a 24-bit unsigned encoder, range [0, 16777215]
4763 * 4 is a 32-bit unsigned encoder, range [0, 4294967295]
4764 *
4765 * @return Returns 0 on success; error code on failure.
4766 * AUBO_NO_ACCESS
4767 * AUBO_BUSY
4768 * AUBO_BAD_STATE
4769 * -AUBO_INVL_ARGUMENT
4770 * -AUBO_BAD_STATE
4771 *
4772 * @throws arcs::common_interface::AuboException
4773 * \endenglish
4774 */
4775 int setEncDecoderType(int type, int range_id);
4776
4777 /**
4778 * @ingroup IoControl
4779 * \chinese
4780 * 设置集成编码器脉冲数
4781 *
4782 * @param tick 脉冲数
4783 *
4784 * @return 成功返回0;失败返回错误码
4785 * AUBO_NO_ACCESS
4786 * AUBO_BUSY
4787 * AUBO_BAD_STATE
4788 * -AUBO_INVL_ARGUMENT
4789 * -AUBO_BAD_STATE
4790 *
4791 * @throws arcs::common_interface::AuboException
4792 * \endchinese
4793 * \english
4794 * Set the tick count of the integrated encoder.
4795 *
4796 * @param tick Tick count
4797 *
4798 * @return Returns 0 on success; error code on failure.
4799 * AUBO_NO_ACCESS
4800 * AUBO_BUSY
4801 * AUBO_BAD_STATE
4802 * -AUBO_INVL_ARGUMENT
4803 * -AUBO_BAD_STATE
4804 *
4805 * @throws arcs::common_interface::AuboException
4806 * \endenglish
4807 */
4808 int setEncTickCount(int tick);
4809
4810 /**
4811 * @ingroup IoControl
4812 * \chinese
4813 * 获取编码器的解码方式
4814 *
4815 * @return 成功返回0;失败返回错误码
4816 * AUBO_NO_ACCESS
4817 * AUBO_BUSY
4818 * AUBO_BAD_STATE
4819 * -AUBO_BAD_STATE
4820 *
4821 * @throws arcs::common_interface::AuboException
4822 *
4823 * @par JSON-RPC请求示例
4824 * {"jsonrpc":"2.0","method":"rob1.IoControl.getEncDecoderType","params":[],"id":1}
4825 *
4826 * @par JSON-RPC响应示例
4827 * {"id":1,"jsonrpc":"2.0","result":0}
4828 *
4829 * \endchinese
4830 * \english
4831 * Get the decoder type of the encoder.
4832 *
4833 * @return Returns 0 on success; error code on failure.
4834 * AUBO_NO_ACCESS
4835 * AUBO_BUSY
4836 * AUBO_BAD_STATE
4837 * -AUBO_BAD_STATE
4838 *
4839 * @throws arcs::common_interface::AuboException
4840 *
4841 * @par JSON-RPC request example
4842 * {"jsonrpc":"2.0","method":"rob1.IoControl.getEncDecoderType","params":[],"id":1}
4843 *
4844 * @par JSON-RPC response example
4845 * {"id":1,"jsonrpc":"2.0","result":0}
4846 *
4847 * \endenglish
4848 */
4850
4851 /**
4852 * @ingroup IoControl
4853 * \chinese
4854 * 获取脉冲数
4855 *
4856 * @return 成功返回0;失败返回错误码
4857 * AUBO_NO_ACCESS
4858 * AUBO_BUSY
4859 * AUBO_BAD_STATE
4860 * -AUBO_BAD_STATE
4861 *
4862 * @throws arcs::common_interface::AuboException
4863 *
4864 * @par JSON-RPC请求示例
4865 * {"jsonrpc":"2.0","method":"rob1.IoControl.getEncTickCount","params":[],"id":1}
4866 *
4867 * @par JSON-RPC响应示例
4868 * {"id":1,"jsonrpc":"2.0","result":0}
4869 *
4870 * \endchinese
4871 * \english
4872 * Get the tick count
4873 *
4874 * @return Returns 0 on success; error code on failure.
4875 * AUBO_NO_ACCESS
4876 * AUBO_BUSY
4877 * AUBO_BAD_STATE
4878 * -AUBO_BAD_STATE
4879 *
4880 * @throws arcs::common_interface::AuboException
4881 *
4882 * @par JSON-RPC request example
4883 * {"jsonrpc":"2.0","method":"rob1.IoControl.getEncTickCount","params":[],"id":1}
4884 *
4885 * @par JSON-RPC response example
4886 * {"id":1,"jsonrpc":"2.0","result":0}
4887 *
4888 * \endenglish
4889 */
4891
4892 /**
4893 * @ingroup IoControl
4894 * \chinese
4895 * 防止在计数超出范围时计数错误
4896 *
4897 * @param delta_count
4898 *
4899 * @return 成功返回0;失败返回错误码
4900 * AUBO_NO_ACCESS
4901 * AUBO_BUSY
4902 * AUBO_BAD_STATE
4903 * -AUBO_BAD_STATE
4904 *
4905 * @throws arcs::common_interface::AuboException
4906 * \endchinese
4907 * \english
4908 * Prevent counting errors when the count exceeds the range
4909 *
4910 * @param delta_count
4911 *
4912 * @return Returns 0 on success; error code on failure.
4913 * AUBO_NO_ACCESS
4914 * AUBO_BUSY
4915 * AUBO_BAD_STATE
4916 * -AUBO_BAD_STATE
4917 *
4918 * @throws arcs::common_interface::AuboException
4919 * \endenglish
4920 */
4921 int unwindEncDeltaTickCount(int delta_count);
4922
4923 /**
4924 * @ingroup IoControl
4925 * \chinese
4926 * 获取末端按钮状态
4927 *
4928 * @return 按下返回true; 否则返回false
4929 *
4930 * @throws arcs::common_interface::AuboException
4931 *
4932 * @par Python函数原型
4933 * getToolButtonStatus() -> bool
4934 *
4935 * @par Lua函数原型
4936 * getToolButtonStatus() -> boolean
4937 *
4938 * @par Lua示例
4939 * status = getToolButtonStatus()
4940 *
4941 * @par JSON-RPC请求示例
4942 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolButtonStatus","params":[],"id":1}
4943 *
4944 * @par JSON-RPC响应示例
4945 * {"id":1,"jsonrpc":"2.0","result":false}
4946 *
4947 * \endchinese
4948 * \english
4949 * Get the status of the tool button.
4950 *
4951 * @return Returns true if pressed; otherwise false.
4952 *
4953 * @throws arcs::common_interface::AuboException
4954 *
4955 * @par Python function prototype
4956 * getToolButtonStatus() -> bool
4957 *
4958 * @par Lua function prototype
4959 * getToolButtonStatus() -> boolean
4960 *
4961 * @par Lua example
4962 * status = getToolButtonStatus()
4963 *
4964 * @par JSON-RPC request example
4965 * {"jsonrpc":"2.0","method":"rob1.IoControl.getToolButtonStatus","params":[],"id":1}
4966 *
4967 * @par JSON-RPC response example
4968 * {"id":1,"jsonrpc":"2.0","result":false}
4969 *
4970 * \endenglish
4971 */
4973
4974 /**
4975 * @ingroup IoControl
4976 * \chinese
4977 * 获取手柄按键状态
4978 *
4979 * @note 获取手柄按键状态
4980 *
4981 * @return 所有的手柄按键输入值\n
4982 * 例如,当返回值是2863267846时,换成2进制后是10101010101010100000000000000110。
4983 * 后16位就是所有的输入状态值,
4984 * 最后一位表示管脚0的输入状态值,倒数第二位表示管脚1的输入状态值,以此类推。\n
4985 * 1表示高电平状态,0表示低电平状态
4986 *
4987 * @throws arcs::common_interface::AuboException
4988 *
4989 * @par Python函数原型
4990 * getHandleIoStatus(self: pyaubo_sdk.IoControl) -> int
4991 *
4992 * @par Lua函数原型
4993 * getHandleIoStatus() -> number
4994 *
4995 * @par Lua示例
4996 * num = getHandleIoStatus()
4997 *
4998 * @par JSON-RPC请求示例
4999 * {"jsonrpc":"2.0","method":"rob1.IoControl.getHandleIoStatus","params":[],"id":1}
5000 *
5001 * @par JSON-RPC响应示例
5002 * {"id":1,"jsonrpc":"2.0","result":0}
5003 *
5004 * \endchinese
5005 * \english
5006 * Get the status of handle buttons.
5007 *
5008 * @note Get the status of handle buttons.
5009 *
5010 * @return All handle button input values.\n
5011 * For example, if the return value is 2863267846, its binary representation
5012 * is 10101010101010100000000000000110. The lower 16 bits represent the
5013 * status of all input pins, the least significant bit indicates the input
5014 * status of pin 0, the second least significant bit indicates pin 1, and so
5015 * on.\n 1 means high level, 0 means low level.
5016 *
5017 * @throws arcs::common_interface::AuboException
5018 *
5019 * @par Python function prototype
5020 * getHandleIoStatus(self: pyaubo_sdk.IoControl) -> int
5021 *
5022 * @par Lua function prototype
5023 * getHandleIoStatus() -> number
5024 *
5025 * @par Lua example
5026 * num = getHandleIoStatus()
5027 *
5028 * @par JSON-RPC request example
5029 * {"jsonrpc":"2.0","method":"rob1.IoControl.getHandleIoStatus","params":[],"id":1}
5030 *
5031 * @par JSON-RPC response example
5032 * {"id":1,"jsonrpc":"2.0","result":0}
5033 *
5034 * \endenglish
5035 */
5037
5038 /**
5039 * @ingroup IoControl
5040 * \chinese
5041 * 获取手柄类型
5042 *
5043 * @return type
5044 *
5045 * @throws arcs::common_interface::AuboException
5046 *
5047 * @par Python函数原型
5048 * getHandleType() -> int
5049 *
5050 * @par Lua函数原型
5051 * getHandleType() -> int
5052 *
5053 * @par Lua示例
5054 * int_num = getHandleType()
5055 *
5056 * @par JSON-RPC请求示例
5057 * {"jsonrpc":"2.0","method":"rob1.IoControl.getHandleType","params":[],"id":1}
5058 *
5059 * @par JSON-RPC响应示例
5060 * {"id":1,"jsonrpc":"2.0","result":0}
5061 *
5062 * \endchinese
5063 * \english
5064 * Get the handle type.
5065 *
5066 * @return type
5067 *
5068 * @throws arcs::common_interface::AuboException
5069 *
5070 * @par Python function prototype
5071 * getHandleType() -> int
5072 *
5073 * @par Lua function prototype
5074 * getHandleType() -> int
5075 *
5076 * @par Lua example
5077 * int_num = getHandleType()
5078 *
5079 * @par JSON-RPC request example
5080 * {"jsonrpc":"2.0","method":"rob1.IoControl.getHandleType","params":[],"id":1}
5081 *
5082 * @par JSON-RPC response example
5083 * {"id":1,"jsonrpc":"2.0","result":0}
5084 *
5085 * \endenglish
5086 */
5088
5089protected:
5090 void *d_;
5091};
5092using IoControlPtr = std::shared_ptr<IoControl>;
5093} // namespace common_interface
5094} // namespace arcs
5095
5096#endif // AUBO_SDK_IO_CONTROL_INTERFACE_H
int setAnalogOutputAfterEStopDefault()
Set all analog output states after emergency stop to default(no change)
int setToolAnalogOutputDomain(int index, int domain)
Set the range of tool analog output.
StandardInputAction getStandardDigitalInputAction(int index)
Get the trigger action for standard digital input.
int setToolAnalogInputDomain(int index, int domain)
Set the range of tool analog input.
int setStandardDigitalOutputAfterEStop(int index, bool value)
Set the value of a standard digital output after emergency stop
bool getToolDigitalOutput(int index)
Get the value of tool digital output.
int getConfigurableDigitalOutputNum()
Get the number of configurable digital outputs.
int setConfigurableDigitalOutput(int index, bool value)
Set the value of configurable digital output.
StandardOutputRunState getToolAnalogOutputRunstate(int index)
Get the runstate for tool analog output.
uint32_t getStaticLinkOutputs()
Get all static link output values.
uint32_t getStandardDigitalOutputs()
Get all standard digital output values.
StandardInputAction getConfigurableDigitalInputAction(int index)
Get the trigger action for configurable digital input.
int setStandardDigitalInputAction(int index, StandardInputAction action)
Set the trigger action for standard digital input.
int setConfigurableDigitalInputAction(int index, StandardInputAction action)
Set the trigger action for configurable digital input.
int getConfigurableDigitalInputNum()
Get the number of configurable digital inputs.
int getStandardAnalogOutputNum()
Get the number of standard analog outputs.
int getToolDigitalOutputNum()
Get the number of tool digital IOs (including digital inputs and outputs).
double getStandardAnalogOutput(int index)
Get the value of standard analog output.
uint32_t getHandleIoStatus()
Get the status of handle buttons.
int setDigitalOutputRunstateDefault()
Set all digital output runstates to None.
StandardOutputRunState getStandardDigitalOutputRunstate(int index)
Get the runstate for standard digital output.
int getStaticLinkOutputNum()
Get the number of static link outputs.
int getEncTickCount()
Get the tick count
int getStandardDigitalOutputNum()
Get the number of standard digital outputs.
int setConfigurableDigitalOutputAfterEStop(int index, bool value)
Set the value of a configurable digital output after emergency stop
int getHandleType()
Get the handle type.
int setToolAnalogOutputRunstate(int index, StandardOutputRunState runstate)
Set the runstate for tool analog output.
int getToolAnalogInputNum()
Get the number of tool analog inputs.
int setStandardDigitalOutput(int index, bool value)
Set the value of a standard digital output.
bool getStandardDigitalOutput(int index)
Get the value of a standard digital output.
bool getToolDigitalInput(int index)
Get the value of tool digital input.
StandardInputAction getToolDigitalInputAction(int index)
Get the trigger action for tool digital input.
StandardOutputRunState getDigitalOutputRunstate(int io_type, int index)
Get the current runstate of a digital output of the specified type.
int setDigitalOutputRunstate(int io_type, int index, StandardOutputRunState runstate, int object_type, const std::string &object_name, int threshold)
Set digital output runstate with optional condition checking based on waypoint, plane or obstacle thr...
double getToolAnalogOutput(int index)
Get the value of tool analog output.
int getToolVoltageOutputDomain()
Get the tool voltage output value (unit: V)
int getStandardDigitalInputNum()
Get the number of standard digital inputs.
int getToolDigitalInputNum()
Get the number of tool digital IOs (including digital inputs and outputs).
bool getStandardDigitalInput(int index)
Get the value of a standard digital input.
int setToolVoltageOutputDomain(int domain)
Set the tool voltage output value (unit: V)
int setToolDigitalOutputPulse(int index, bool value, double duration)
Set tool digital output pulse.
uint32_t getToolDigitalOutputs()
Get all tool digital output values.
int setToolDigitalInputAction(int index, StandardInputAction action)
Set the trigger action for tool digital input.
int setConfigurableDigitalOutputPulse(int index, bool value, double duration)
Set configurable digital output pulse.
int setStandardAnalogOutputDomain(int index, int domain)
Set the range of standard analog output.
double getToolAnalogInput(int index)
Get the value of tool analog input.
int setEncDecoderType(int type, int range_id)
Set the decoding method of the integrated encoder.
StandardOutputRunState getConfigurableDigitalOutputRunstate(int index)
Get the runstate for configurable digital output.
int getStandardAnalogInputDomain(int index)
Get the domain of standard analog input.
int setToolIoInput(int index, bool input)
Set the specified tool digital IO as input or output.
int getToolAnalogOutputNum()
Get the number of tool analog outputs.
StandardOutputRunState getStandardAnalogOutputRunstate(int index)
Get the runstate for standard analog output.
uint32_t getConfigurableDigitalInputs()
Get all configurable digital input values.
bool getToolButtonStatus()
Get the status of the tool button.
int getStandardAnalogOutputDomain(int index)
Get the domain of standard analog output.
int setStandardAnalogInputDomain(int index, int domain)
Set the range of standard analog input.
int setDigitalInputActionDefault()
Set all digital input actions to no trigger.
uint32_t getToolDigitalInputs()
Get all tool digital input values.
int getStandardAnalogInputNum()
Get the number of standard analog inputs.
int setToolAnalogOutput(int index, double value)
Set the value of tool analog output.
int setConfigurableDigitalOutputRunstate(int index, StandardOutputRunState runstate)
Set the runstate for configurable digital output.
int setEncTickCount(int tick)
Set the tick count of the integrated encoder.
bool hasEncoderSensor()
Whether the robot is equipped with an encoder.
int getToolAnalogOutputDomain(int index)
Get the domain of tool analog output.
int getToolAnalogInputDomain(int index)
Get the domain of tool analog input.
bool isToolIoInput(int index)
Determine whether the specified tool digital IO is configured as input.
int setStandardDigitalOutputRunstate(int index, StandardOutputRunState runstate)
Set the runstate for standard digital output.
int setToolDigitalOutputRunstate(int index, StandardOutputRunState runstate)
Set the runstate for tool digital output.
int setToolDigitalOutput(int index, bool value)
Set the value of tool digital output.
int setStandardAnalogOutputRunstate(int index, StandardOutputRunState runstate)
Set the runstate for standard analog output.
StandardOutputRunState getToolDigitalOutputRunstate(int index)
Get the runstate for tool digital output.
uint32_t getConfigurableDigitalOutputs()
Get all configurable digital output values.
int unwindEncDeltaTickCount(int delta_count)
Prevent counting errors when the count exceeds the range
int setDigitalOutputAfterEStopDefault()
Set all digital output states after emergency stop to default(no change)
uint32_t getStandardDigitalInputs()
Get all standard digital input values.
double getStandardAnalogInput(int index)
Get the value of standard analog input.
int getEncDecoderType()
Get the decoder type of the encoder.
int setStandardAnalogOutput(int index, double value)
Set the value of standard analog output.
uint32_t getStaticLinkInputs()
Get all static link input values.
bool getConfigurableDigitalInput(int index)
Get the value of configurable digital input.
int getStaticLinkInputNum()
Get the number of static link inputs.
int setStandardAnalogOutputAfterEStop(int index, double value)
Set the value of standard analog output after emergency stop
bool getConfigurableDigitalOutput(int index)
Get the value of configurable digital output.
int setStandardDigitalOutputPulse(int index, bool value, double duration)
Set digital output pulse.
StandardInputAction
The StandardInputAction enum.
Definition type_def.h:621
StandardOutputRunState
Standard Output Run State.
Definition type_def.h:613
std::shared_ptr< IoControl > IoControlPtr
enum type definitions