File tree 6 files changed +42
-0
lines changed 6 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 47
47
├── piper_set_mit.py
48
48
├── piper_slave_config.py
49
49
├── piper_status.py
50
+ ├── piper_stop.py
50
51
├── read_gripper_status.py
51
52
├── read_joint_state.py
52
53
└── read_piper_hardware.py
71
72
| ` piper_set_mit.py ` | Set the robotic arm to MIT mode, where it responds the fastest |
72
73
| ` piper_slave_config.py ` | Set the robotic arm as the slave arm |
73
74
| ` piper_status.py ` | Read the status of the robotic arm |
75
+ | ` piper_stop.py ` | The robotic arm stops with a slow descent, and it needs to be reset and re-enabled twice after use|
74
76
| ` read_gripper_status.py ` | Read the status of the gripper |
75
77
| ` read_joint_state.py ` | Read joint angle messages and print them |
76
78
| ` read_piper_hardware.py ` | Read the firmware version of the robotic arm's main controller |
Original file line number Diff line number Diff line change 47
47
├── piper_set_mit.py
48
48
├── piper_slave_config.py
49
49
├── piper_status.py
50
+ ├── piper_stop.py
50
51
├── read_gripper_status.py
51
52
├── read_joint_state.py
52
53
└── read_piper_hardware.py
71
72
| ` piper_set_mit.py ` | 设定机械臂为mit模式,这个模式下机械臂响应最快速|
72
73
| ` piper_slave_config.py ` | 机械臂设置为从臂|
73
74
| ` piper_status.py ` | 机械臂状态读取|
75
+ | ` piper_stop.py ` | 机械臂停止缓慢下落,需要在使用后reset,并重新使能两次|
74
76
| ` read_gripper_status.py ` | 机械臂夹爪状态读取|
75
77
| ` read_joint_state.py ` | 读取关节角消息并打印|
76
78
| ` read_piper_hardware.py ` | 读取机械臂主控固件版本|
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+ # -*-coding:utf8-*-
3
+ # 注意demo无法直接运行,需要pip安装sdk后才能运行
4
+ # 设置机械臂重置,需要在mit或者示教模式切换为位置速度控制模式时执行
5
+ # 使用后需要reset,并重新使能两次
6
+
7
+ from typing import (
8
+ Optional ,
9
+ )
10
+ import time
11
+ from piper_sdk import *
12
+
13
+ # 测试代码
14
+ if __name__ == "__main__" :
15
+ piper = C_PiperInterface ()
16
+ piper .ConnectPort ()
17
+ piper .MotionCtrl_1 (0x01 ,0 ,0 )
Original file line number Diff line number Diff line change 49
49
├── piper_set_mit.py
50
50
├── piper_slave_config.py
51
51
├── piper_status.py
52
+ ├── piper_stop.py
52
53
├── read_gripper_status.py
53
54
├── read_joint_state.py
54
55
├── read_piper_hardware.py
77
78
| ` piper_set_mit.py ` | Set the robotic arm to MIT mode, where it responds the fastest |
78
79
| ` piper_slave_config.py ` | Set the robotic arm as the slave arm |
79
80
| ` piper_status.py ` | Read the status of the robotic arm |
81
+ | ` piper_stop.py ` | The robotic arm stops with a slow descent, and it needs to be reset and re-enabled twice after use|
80
82
| ` read_gripper_status.py ` | Read the status of the gripper |
81
83
| ` read_joint_state.py ` | Read joint angle messages and print them |
82
84
| ` read_piper_hardware.py ` | Read the firmware version of the robotic arm's main controller |
Original file line number Diff line number Diff line change 49
49
├── piper_set_mit.py
50
50
├── piper_slave_config.py
51
51
├── piper_status.py
52
+ ├── piper_stop.py
52
53
├── read_gripper_status.py
53
54
├── read_joint_state.py
54
55
├── read_piper_hardware.py
77
78
| ` piper_set_mit.py ` | 设定机械臂为mit模式,这个模式下机械臂响应最快速|
78
79
| ` piper_slave_config.py ` | 机械臂设置为从臂|
79
80
| ` piper_status.py ` | 机械臂状态读取|
81
+ | ` piper_stop.py ` | 机械臂停止缓慢下落,需要在使用后reset,并重新使能两次|
80
82
| ` read_gripper_status.py ` | 机械臂夹爪状态读取|
81
83
| ` read_joint_state.py ` | 读取关节角消息并打印|
82
84
| ` read_piper_hardware.py ` | 读取机械臂主控固件版本|
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+ # -*-coding:utf8-*-
3
+ # 注意demo无法直接运行,需要pip安装sdk后才能运行
4
+ # 设置机械臂重置,需要在mit或者示教模式切换为位置速度控制模式时执行
5
+ # 使用后需要reset,并重新使能两次
6
+
7
+ from typing import (
8
+ Optional ,
9
+ )
10
+ import time
11
+ from piper_sdk import *
12
+
13
+ # 测试代码
14
+ if __name__ == "__main__" :
15
+ piper = C_PiperInterface_V2 ()
16
+ piper .ConnectPort ()
17
+ piper .MotionCtrl_1 (0x01 ,0 ,0 )
You can’t perform that action at this time.
0 commit comments