Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pub=rospy.Publisher('/gripper/goal', control_msgs.msg.GripperCommandActionGoal, queue_size=10)
- r = rospy.Rate(10) # 10hz
- goal_message = control_msgs.msg.GripperCommandActionGoal
- while not rospy.is_shutdown():
- pub.publish(goal_message)
- r.sleep()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement