mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
fix sync_plan.py
This commit is contained in:
parent
8e73ce0712
commit
a9865e6b9a
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ from sensor_msgs.msg import JointState
|
|||
from pymycobot.ultraArm import ultraArm
|
||||
|
||||
|
||||
ma = None
|
||||
ua = None
|
||||
|
||||
|
||||
def callback(data):
|
||||
|
|
@ -20,7 +20,7 @@ def callback(data):
|
|||
|
||||
|
||||
def listener():
|
||||
global ma
|
||||
global ua
|
||||
rospy.init_node("control_slider", anonymous=True)
|
||||
|
||||
rospy.Subscriber("joint_states", JointState, callback)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue