Fixing minor errors
This commit is contained in:
parent
7b71d7f207
commit
ae5de23754
|
|
@ -75,10 +75,10 @@ def shutdown():
|
|||
cv2.destroyAllWindows()
|
||||
|
||||
if __name__ == '__main__':
|
||||
rospy.init_node('red_ball_follower', anonymous=False)
|
||||
rospy.init_node('redball_chase', anonymous=False)
|
||||
bridge = CvBridge()
|
||||
cmd_vel_pub = rospy.Publisher('/cmd_vel', Twist, queue_size=1)
|
||||
rospy.Subscriber("/camera/rgb/image_raw", Image, image_callback)
|
||||
rospy.Subscriber("/camera/image", Image, image_callback)
|
||||
|
||||
rospy.on_shutdown(shutdown)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue