Skip to content

Commit 1b954bd

Browse files
committed
release v2.9.8
1 parent f38a969 commit 1b954bd

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# ChangeLog for pymycobot
22

3+
## v2.9.8 (2022-11-22)
4+
5+
- release v2.9.8
6+
- Renaming mira to ultraArm
7+
- Fix variable name conflicts
8+
39
## v2.9.7 (2022-11-14)
410

511
- release v2.9.7

pymycobot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
from pymycobot.mybuddyemoticon import MyBuddyEmoticon
4242
__all__.append("MyBuddyEmoticon")
4343

44-
__version__ = "2.9.8b2"
44+
__version__ = "2.9.8"
4545
__author__ = "Elephantrobotics"
4646
__email__ = "[email protected]"
4747
__git_url__ = "https://github.com/elephantrobotics/pymycobot"

pymycobot/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ class ProtocolCode(object):
180180
SET_ANGLE = "M10"
181181
SET_ANGLES = "M11"
182182
GET_CURRENT_ANGLE_INFO = "M12"
183-
JOG_ANGLE = "M13"
183+
SET_JOG_ANGLE = "M13"
184184
JOG_COORD = "M14"
185-
JOG_STOP = "M15"
185+
SET_JOG_STOP = "M15"
186186
RELEASE_SERVOS = "M17"
187187
LOCK_SERVOS = "M18"
188188
GET_CURRENT_COORD_INFO = "M114"

pymycobot/ultraArm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def set_jog_angle(self, id=None, direction=None, speed=0):
442442
1 : negative
443443
speed : (int) 0-100 mm/s
444444
"""
445-
command = ProtocolCode.JOG_ANGLE
445+
command = ProtocolCode.SET_JOG_ANGLE
446446
if id is not None:
447447
command += " j" + str(id)
448448
if direction is not None:
@@ -481,7 +481,7 @@ def set_jog_coord(self, axis=None, direction=None, speed=0):
481481

482482
def set_jog_stop(self):
483483
"""Stop jog movement"""
484-
command = ProtocolCode.JOG_STOP
484+
command = ProtocolCode.SET_JOG_STOP
485485
command += ProtocolCode.END
486486
self._serial_port.write(command.encode())
487487
self._serial_port.flush()

0 commit comments

Comments
 (0)