Skip to content

Commit efce8b6

Browse files
committed
fix bug
1 parent c68ddfa commit efce8b6

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

CHANGELOG.md

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

3+
## v2.9.2 (2022-8-8)
4+
5+
- release v2.9.2
6+
- fix bug jog_increment()
7+
38
## v2.9.1 (2022-8-1)
49

510
- release v2.9.1

docs/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ We support Python2, Python3.5 or later.
3232
- [JOG mode and operation](#jog-mode-and-operation)
3333
- [jog_angle](#jog_angle)
3434
- [jog_coord](#jog_coord)
35+
- [jog_increment](#jog_increment)
3536
- [jog_stop](#jog_stop)
3637
- [pause](#pause)
3738
- [resume](#resume)
@@ -481,6 +482,18 @@ from pymycobot import MyCobot
481482
- `direction`: `0` - decrease, `1` - increase
482483
- `speed`: 0 ~ 100
483484

485+
### jog_increment
486+
487+
- **Prototype**: `jog_increment(coord_id, direction, speed)`
488+
489+
- **Description**: Step mode.
490+
491+
- **Parameters**
492+
493+
- `coord_id`: (`int`) 1 ~ 6
494+
- `direction`:
495+
- `speed`: 0 ~ 100
496+
484497
### jog_stop
485498

486499
- **Prototype**: `jog_stop()`

pymycobot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"Mira"
3131
]
3232

33-
__version__ = "2.9.1"
33+
__version__ = "2.9.2"
3434
__author__ = "Elephantrobotics"
3535
__email__ = "weiquan.xu@elephantrobotics.com"
3636
__git_url__ = "https://github.com/elephantrobotics/pymycobot"

pymycobot/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def jog_increment(self, joint_id, increment, speed):
373373
increment:
374374
speed: int (0 - 100)
375375
"""
376-
return self._mesg(ProtocolCode.JOG_INCREMENT, id, joint_id, increment, speed)
376+
return self._mesg(ProtocolCode.JOG_INCREMENT, joint_id, increment, speed)
377377

378378
def jog_stop(self):
379379
"""Stop jog moving"""

0 commit comments

Comments
 (0)