How can I save four consecutive frames of a camera?

asked 2020-10-21 04:44:47 -0500

Qilos gravatar image

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

edit retag flag offensive close merge delete