GithubHelp home page GithubHelp logo

ros2bag2video.py script gets stuck Python 3.10, ros2 humble, Ubuntu 22.04 in converting color raw bag to video about rosbag2video HOT 4 CLOSED

mlaiacker avatar mlaiacker commented on August 16, 2024
ros2bag2video.py script gets stuck Python 3.10, ros2 humble, Ubuntu 22.04 in converting color raw bag to video

from rosbag2video.

Comments (4)

francescosalispri avatar francescosalispri commented on August 16, 2024 1

I have exactly the same issue on galactic. It stops at that point and never goes on

franz@ubuntu:/home$ python3 ros2bag2video.py -t /image rosbag2_2023_10_26-10_05_48_0.db3
FPS (int) =  25
Rate (float) =  1.0
Topic (str) =  /image
Output File (str) =  output.mp4
Verbose (bool) =  False
Reading info from bag file: rosbag2_2023_10_26-10_05_48_0.db3
[INFO] [1699370188.371295949] [rosbag2_storage]: Opened database 'rosbag2_2023_10_26-10_05_48_0.db3' for READ_ONLY.
ROS Message name =  sensor_msgs/msg/Image
Image count =  172
msgtype =  <class 'sensor_msgs.msg._image.Image'>
AJB: subscribing to msg:  <class 'sensor_msgs.msg._image.Image'> on topic:  /image
Starting ROS bag playback...
[INFO] [1699370190.422660574] [rosbag2_storage]: Opened database 'rosbag2_2023_10_26-10_05_48_0.db3' for READ_ONLY.
[INFO] [1699370190.439226789] [rosbag2_storage]: Opened database 'rosbag2_2023_10_26-10_05_48_0.db3' for READ_ONLY.

Anyhow, the requested topic is in the bag

franz@ubuntu:/home$ ros2 bag info rosbag2_2023_10_26-10_05_48_0.db3
[INFO] [1699370461.316555050] [rosbag2_storage]: Opened database 'rosbag2_2023_10_26-10_05_48_0.db3' for READ_ONLY.

Files:             rosbag2_2023_10_26-10_05_48_0.db3
Bag size:          605.4 MiB
Storage id:        sqlite3
Duration:          52.987s
Start:             Oct 26 2023 08:05:48.610 (1698307548.610)
End:               Oct 26 2023 08:06:41.597 (1698307601.597)
Messages:          172
Topic information: Topic: /image | Type: sensor_msgs/msg/Image | Count: 172 | Serialization Format: cdr

Thanks

from rosbag2video.

mzahana avatar mzahana commented on August 16, 2024

Hi @monajalal

I have the same problem. Did you fix it?

Thanks

from rosbag2video.

zehranrgi avatar zehranrgi commented on August 16, 2024

Is there any update?

from rosbag2video.

monajalal avatar monajalal commented on August 16, 2024

I switched to using ROS Noetic

from rosbag2video.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.