diff --git a/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_follow_display.py b/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_follow_display.py index 483f3ec..7e0f531 100755 --- a/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_follow_display.py +++ b/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_follow_display.py @@ -16,7 +16,7 @@ def talker(): print("Try connect real mycobot...") port = rospy.get_param("~port", "/dev/ttyAMA0") - baud = rospy.get_param("~baud", 1000000) + baud = rospy.get_param("~baud", 115200) print("port: {}, baud: {}\n".format(port, baud)) try: mycobot = MyCobot(port, baud) diff --git a/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_slider.py b/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_slider.py index 06900fa..4a9ffb4 100755 --- a/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_slider.py +++ b/mycobot_320/new_mycobot_320_pi/scripts/mycobot_320_slider.py @@ -37,7 +37,7 @@ def listener(): rospy.Subscriber("joint_states", JointState, callback) port = rospy.get_param("~port", "/dev/ttyAMA0") - baud = rospy.get_param("~baud", 1000000) + baud = rospy.get_param("~baud", 115200) print(port, baud) mc = MyCobot(port, baud)