mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
Merge branch 'main' of https://github.com/elephantrobotics/myCobotROS into main
This commit is contained in:
commit
6c6bad26e8
2 changed files with 4 additions and 4 deletions
|
|
@ -203,7 +203,7 @@ class MyCobot():
|
|||
# print(command)
|
||||
self._write(command)
|
||||
|
||||
def jog_angle(joint_id, direction, speed):
|
||||
def jog_angle(self, joint_id, direction, speed):
|
||||
'''Joint control
|
||||
|
||||
joint_id: string
|
||||
|
|
@ -218,7 +218,7 @@ class MyCobot():
|
|||
command += '{}{}{}fa'.format(joint_id, direction, speed)
|
||||
self._write(command)
|
||||
|
||||
def jog_coord(coord, direction, speed):
|
||||
def jog_coord(self, coord, direction, speed):
|
||||
'''Coord control
|
||||
|
||||
coord: string
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ class MyCobot():
|
|||
# print(command)
|
||||
self._write(command)
|
||||
|
||||
def jog_angle(joint_id, direction, speed):
|
||||
def jog_angle(self, joint_id, direction, speed):
|
||||
'''Joint control
|
||||
|
||||
joint_id: string
|
||||
|
|
@ -219,7 +219,7 @@ class MyCobot():
|
|||
command += '{}{}{}fa'.format(joint_id, direction, speed)
|
||||
self._write(command)
|
||||
|
||||
def jog_coord(coord, direction, speed):
|
||||
def jog_coord(self, coord, direction, speed):
|
||||
'''Coord control
|
||||
|
||||
coord: string
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue