Fixing minor errors

This commit is contained in:
Nathan BEAUD 2024-03-13 14:05:48 +01:00
parent 7b71d7f207
commit ae5de23754
1 changed files with 2 additions and 2 deletions

View File

@ -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)