You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.MD
+21
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,25 @@
1
1
2
+
Version 0.2.20
3
+
=============
4
+
5
+
Features
6
+
--------
7
+
8
+
- Added the teaching pendant friction coefficient parameter to the gripper/teaching pendant parameter feedback command (both feedback and sending) and adapted the protocol.
9
+
- Added `ModeCtrl` and `EmergencyStop` functions to set modes and perform emergency stops (future updates will introduce dictionary-based parameter matching for all functions).
10
+
- Renamed all data reading files in the demo to start with "read" for easier searching.
11
+
- Initialized `rx_message` as an empty `Message()` in the `C_STD_CAN` encapsulation class.
12
+
13
+
Bug Fixes
14
+
---------
15
+
16
+
- Fixed the issue where the gripper feedback timestamp was of type `int`. Now, a unified timestamp retrieval function is used.
Copy file name to clipboardExpand all lines: asserts/V1/INTERFACE_V1(EN).MD
+3-1
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,9 @@ Each robot-related class has a timestamp. If the data can only be obtained by mu
122
122
|`__UpdatePiperFeedbackFK`| Getter Method | Updates the forward kinematics data for piper feedback information. | For internal class use only. | None | None |
123
123
|`__UpdatePiperCtrlFK`| Getter Method | Updates the forward kinematics data for piper control information. | For internal class use only. | None | None |
124
124
|`MotionCtrl_1`|Ctrl Method| 0x150, can control emergency stop, trajectory transmission, and teach mode. |Called from outside the class|`emergency_stop (uint8)`, `track_ctrl (uint8)`, `grag_teach_ctrl (uint8)``emergency_stop (uint8)`,`track_ctrl (uint8)`, `grag_teach_ctrl (uint8)`|NoneNone|
125
-
|`MotionCtrl_2`|Ctrl MethodCtrl Method|0x151, can set control mode, MOVE mode, and motion speed. Each time before controlling the robotic arm's motion, this must be sent, otherwise the arm may not move.|Called from outside the class|`ctrl_mode (uint8)`, `move_mode (uint8)`, `move_spd_rate_ctrl (uint8)``ctrl_mode (uint8)`,`move_mode (uint8)`, `move_spd_rate_ctrl (uint8)`|NoneNone|
125
+
|`EmergencyStop`|Ctrl Method|0x150,emergency stop|Called from outside the class|`emergency_stop (uint8)`|None|
126
+
|`MotionCtrl_2`|Ctrl MethodCtrl Method|0x151, can set control mode, MOVE mode, and motion speed. Each time before controlling the robotic arm's motion, this must be sent, otherwise the arm may not move.|Called from outside the class|`ctrl_mode (uint8)`, `move_mode (uint8)`, `move_spd_rate_ctrl (uint8)``ctrl_mode (uint8)`,`move_mode (uint8)`, `move_spd_rate_ctrl (uint8)`, `is_mit_mode(uint8)`|NoneNone|
127
+
|`ModeCtrl`|Ctrl Method|0x151, can set control mode, MOVE mode, and motion speed. Each time before controlling the robotic arm's motion, this must be sent, otherwise the arm may not move.|Called from outside the class|`ctrl_mode (uint8)`,`move_mode (uint8)`, `move_spd_rate_ctrl (uint8)`, `is_mit_mode(uint8)`|None|
126
128
|`EndPoseCtrl`|Ctrl MethodCtrl Method|0x152, 0x153, 0x154, control the end position and posture of the robotic arm. This function consolidates the three functions below; note that the x, y, z values sent by this function are in units of 0.001 mm, and the rx, ry, rz values are in units of 0.001 degrees. For example, if the robotic arm needs to move 0.3 m in the x-axis direction, the data sent should be 0.3 \* 100 \* 1000 = 30000.|Called from outside the class|`X (int)`, `Y (int)`, `Z (int)`, `RX (int)`, `RY (int)`, `RZ (int)`,`X (int)`, `Y (int)`, `Z (int)`, `RX (int)`, `RY (int)`, `RZ (int)`|None|
127
129
|`__CartesianCtrl_XY`|Ctrl MethodCtrl Method|Control the XY axis motion of the robotic arm in Cartesian coordinates.|Called within the class (private)|`X (int)`, `Y (int)`|None|
128
130
|`__CartesianCtrl_ZRX`|Ctrl Method|Control the Z-axis and RX-axis movement of the robotic arm in Cartesian coordinates.|Called within the class (private)|`Z (int)`, `RX (int)`|None|
Copy file name to clipboardExpand all lines: asserts/V2/INTERFACE_V2(EN).MD
+4-2
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,9 @@ Each robot-related class has a timestamp. If the data can only be obtained by mu
125
125
|`__UpdatePiperFeedbackFK`| Getter Method | Updates the forward kinematics data for piper feedback information. | For internal class use only. | None | None |
126
126
|`__UpdatePiperCtrlFK`| Getter Method | Updates the forward kinematics data for piper control information. | For internal class use only. | None | None |
127
127
|`MotionCtrl_1`|Ctrl Method| 0x150, can control emergency stop, trajectory transmission, and teach mode. |Called from outside the class|`emergency_stop (uint8)`, `track_ctrl (uint8)`, `grag_teach_ctrl (uint8)``emergency_stop (uint8)`,`track_ctrl (uint8)`, `grag_teach_ctrl (uint8)`|NoneNone|
128
-
|`MotionCtrl_2`|Ctrl MethodCtrl Method|0x151, can set control mode, MOVE mode, and motion speed. Each time before controlling the robotic arm's motion, this must be sent, otherwise the arm may not move.|Called from outside the class|`ctrl_mode (uint8)`, `move_mode (uint8)`, `move_spd_rate_ctrl (uint8)``ctrl_mode (uint8)`,`move_mode (uint8)`, `move_spd_rate_ctrl (uint8)`|NoneNone|
128
+
|`EmergencyStop`|Ctrl Method|0x150,emergency stop|Called from outside the class|`emergency_stop (uint8)`|None|
129
+
|`MotionCtrl_2`|Ctrl MethodCtrl Method|0x151, can set control mode, MOVE mode, and motion speed. Each time before controlling the robotic arm's motion, this must be sent, otherwise the arm may not move.|Called from outside the class|`ctrl_mode (uint8)`, `move_mode (uint8)`, `move_spd_rate_ctrl (uint8)``ctrl_mode (uint8)`,`move_mode (uint8)`, `move_spd_rate_ctrl (uint8)`, `is_mit_mode(uint8)`|NoneNone|
130
+
|`ModeCtrl`|Ctrl Method|0x151, can set control mode, MOVE mode, and motion speed. Each time before controlling the robotic arm's motion, this must be sent, otherwise the arm may not move.|Called from outside the class|`ctrl_mode (uint8)`,`move_mode (uint8)`, `move_spd_rate_ctrl (uint8)`, `is_mit_mode(uint8)`|None|
129
131
|`EndPoseCtrl`|Ctrl MethodCtrl Method|0x152, 0x153, 0x154, control the end position and posture of the robotic arm. This function consolidates the three functions below; note that the x, y, z values sent by this function are in units of 0.001 mm, and the rx, ry, rz values are in units of 0.001 degrees. For example, if the robotic arm needs to move 0.3 m in the x-axis direction, the data sent should be 0.3 \* 100 \* 1000 = 30000.|Called from outside the class|`X (int)`, `Y (int)`, `Z (int)`, `RX (int)`, `RY (int)`, `RZ (int)`,`X (int)`, `Y (int)`, `Z (int)`, `RX (int)`, `RY (int)`, `RZ (int)`|None|
130
132
|`__CartesianCtrl_XY`|Ctrl MethodCtrl Method|Control the XY axis motion of the robotic arm in Cartesian coordinates.|Called within the class (private)|`X (int)`, `Y (int)`|None|
131
133
|`__CartesianCtrl_ZRX`|Ctrl Method|Control the Z-axis and RX-axis movement of the robotic arm in Cartesian coordinates.|Called within the class (private)|`Z (int)`, `RX (int)`|None|
@@ -153,7 +155,7 @@ Each robot-related class has a timestamp. If the data can only be obtained by mu
153
155
|`SearchPiperFirmwareVersion`|Ctrl Method|Query the main controller firmware version of the Piper robotic arm|Called outside the class|None|None|
|`JointMitCtrl`| Ctrl Method | MIT control instruction for joints 1-6 of the robotic arm (0x15A, 0x15B, 0x15C, 0x15D, 0x15E, 0x15F). | External call |`self, motor_num: int`, `pos_ref: float`, `vel_ref: float`, `kp: float`, `kd: float`, `t_ref: float`| None |
156
-
|`GripperTeachingPendantParamConfig`|Ctrl Method|Gripper/Teach Pendant Parameter Setting Command (Based on version V1.5-2 and later)|Called outside the class|`teaching_range_per:int=100`, `max_range_config:int=70`|None|
158
+
|`GripperTeachingPendantParamConfig`|Ctrl Method|Gripper/Teach Pendant Parameter Setting Command (Based on version V1.5-2 and later)|Called outside the class|`teaching_range_per:int=100`, `max_range_config:int=70`, `teaching_friction:int = 1`|None|
0 commit comments