I'm a beginner with ROS, so i thank you in advance for your answers.

I have a file.bag (Video) available and I would like to publish the various frames on a specific topic at defined moments of time so that I can view this frame and work on it later. My question is how can I accomplish this in ROS Melodic with Python?

Thank you.

  • 1
    $\begingroup$ Welcome to Robotics Stack Exchange! As you are getting started with ROS, I suggest using existing ROS packages to achieve this functionality. Following are the steps: 1) Export images from the bag file, 2) Select the frames you are interested in, and 3) Publish those frames/images one by one. $\endgroup$
    – ravi
    Nov 16 at 2:38
  • $\begingroup$ Thank you so much @ravi $\endgroup$
    – oliver
    Nov 26 at 14:04


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.