Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wangWking committed Nov 29, 2024
1 parent 83fc7db commit 45ac0f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mycobot_320/new_mycobot_320/scripts/mycobot_320_slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import rospy
from sensor_msgs.msg import JointState

from pymycobot.mycobot320 import MyCobot320
from pymycobot.mycobot import MyCobot


mc = None
Expand All @@ -37,7 +37,7 @@ def listener():
port = rospy.get_param("~port", "/dev/ttyACM0")
baud = rospy.get_param("~baud", 115200)
print(port, baud)
mc = MyCobot320(port, baud)
mc = MyCobot(port, baud)
time.sleep(0.05)
mc.set_fresh_mode(1)
time.sleep(0.05)
Expand Down

0 comments on commit 45ac0f9

Please sign in to comment.