Skip to content

Commit cc2d642

Browse files
authored
feat(MyAGVPro): Add get_emergency_stop_state api (#169)
* add MyCobot 280 X5PI API * add MyCobot 280 X5 PI doc * Fix MyCobot 280 X5 Pi doc errors * add MyCobot 280 X5 PI sokcet sever&client * MyCobot 280 X5 PI server compatible with python2 * rename MyCobot280x5pi to MyCobot280RDKX5 * fix MyArmMControl bugs * fix MyArmC bugs * fix myArmM&C demo bug * update M&C demo * fix MyCobot280 rdkx5 bug * fix MyArmM&C bugs * fix bugs * fix bug * fix ThreeHand api bug * Fixed the issue that Pro630 could not read data * fix MyArmM bug * MyArmM&C adds get_joints_coord interface * fix Pro630 bug * fix Pro630 bugs * Fixed the pro630 socket communication bug * Optimize MyCobot280 RDK X5 interface parameter error prompt * Optimized the way MyAGV reads MCU data * feat(myagvpro): add myagvpro api * fix(ConveyorApi):Fix the problem that no data is returned * feat(MyAGVPro): Add get_emergency_stop_state api * refactor(MyAGVPro): rename get_emergency_stop_state to get_estop_state --------- Co-authored-by: Mrkun5018 <76215701+Mrkun5018@users.noreply.github.com>
1 parent 8932949 commit cc2d642

File tree

4 files changed

+278
-172
lines changed

4 files changed

+278
-172
lines changed

docs/MyAGVPro_en.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@
160160
- **position(int):**
161161
- **0: Left LED**
162162
- **1: Right LED**
163-
- **brightness(int): 0 - 255**
164163
- **color(tuple(int, int, int)): RGB color**
164+
- **brightness(int): 0 - 255(default 255)**
165165
- **Return value:**
166166
- **int: 1: Success, 0: Failed**
167167

@@ -175,7 +175,7 @@
175175
#### get_pin_input(pin):
176176
- **function:** Get the input IO
177177
- **parameter:**
178-
- **pin(int): 1, 2, 3, 4, 5, 6, 7, 8, 254**
178+
- **pin(int): 1 - 6**
179179
- **Return value:**
180180
- **int: 0: Low, 1: High, -1: There is no such pin**
181181

@@ -187,6 +187,11 @@
187187
- **Return value:**
188188
- **int: 1: Success, 0: Failed**
189189

190+
#### get_estop_state()
191+
- **function:** Get the emergency stop state
192+
- **Return value:**
193+
- **int: 0: Release, 1: Press**
194+
190195
### 5. WiFi & Bluetooth
191196

192197
#### get_wifi_ip_port():

0 commit comments

Comments
 (0)