Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
anla-xu committed Aug 8, 2022
1 parent c68ddfa commit efce8b6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLog for pymycobot

## v2.9.2 (2022-8-8)

- release v2.9.2
- fix bug jog_increment()

## v2.9.1 (2022-8-1)

- release v2.9.1
Expand Down
13 changes: 13 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ We support Python2, Python3.5 or later.
- [JOG mode and operation](#jog-mode-and-operation)
- [jog_angle](#jog_angle)
- [jog_coord](#jog_coord)
- [jog_increment](#jog_increment)
- [jog_stop](#jog_stop)
- [pause](#pause)
- [resume](#resume)
Expand Down Expand Up @@ -481,6 +482,18 @@ from pymycobot import MyCobot
- `direction`: `0` - decrease, `1` - increase
- `speed`: 0 ~ 100

### jog_increment

- **Prototype**: `jog_increment(coord_id, direction, speed)`

- **Description**: Step mode.

- **Parameters**

- `coord_id`: (`int`) 1 ~ 6
- `direction`:
- `speed`: 0 ~ 100

### jog_stop

- **Prototype**: `jog_stop()`
Expand Down
2 changes: 1 addition & 1 deletion pymycobot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"Mira"
]

__version__ = "2.9.1"
__version__ = "2.9.2"
__author__ = "Elephantrobotics"
__email__ = "[email protected]"
__git_url__ = "https://github.com/elephantrobotics/pymycobot"
Expand Down
2 changes: 1 addition & 1 deletion pymycobot/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def jog_increment(self, joint_id, increment, speed):
increment:
speed: int (0 - 100)
"""
return self._mesg(ProtocolCode.JOG_INCREMENT, id, joint_id, increment, speed)
return self._mesg(ProtocolCode.JOG_INCREMENT, joint_id, increment, speed)

def jog_stop(self):
"""Stop jog moving"""
Expand Down

0 comments on commit efce8b6

Please sign in to comment.