How can I save four consecutive frames of a camera?
Hello, i want to write a python script that when it is called it read four consecutive frames of a depth camera of a robot. I know i have to write a rospy.Subscriber but i dont know how i can specify that i can get four frames and and how to save them in a variable to process them later.
Any help is welcome as i cant find anyting online