Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow mono8 recording and fix bug in local path #2

Merged
merged 2 commits into from Jun 2, 2022

Conversation

Affonso-Gui
Copy link

  1. Enable to save grayscale images with mono8 encoding (useful for mask images)
  2. Fix bug when trying to save to local path with --image-topic:
Traceback (most recent call last):                                         
  File "/home/affonso/jsk_common_ws/src/jsk_common/jsk_rosbag_tools/scripts/bag_to_vid
eo.py", line 57, in <module>                
    main()                                      
  File "/home/affonso/jsk_common_ws/src/jsk_common/jsk_rosbag_tools/scripts/bag_to_vid
eo.py", line 53, in main                         
    audio_topic=args.audio_topic)                                                     
  File "/home/affonso/jsk_common_ws/src/jsk_common/jsk_rosbag_tools/python/jsk_rosbag_
tools/bag_to_video.py", line 88, in bag_to_video
    makedirs(osp.dirname(output_filepath))
  File "/home/affonso/jsk_common_ws/src/jsk_common/jsk_rosbag_tools/python/jsk_rosbag_
tools/makedirs.py", line 30, in makedirs
    raise OSError                                                          
OSError  
(OSError: [Errno 2] No such file or directory: '')  

@iory iory merged commit 5695db9 into iory:rosbag-tools Jun 2, 2022
@iory
Copy link
Owner

iory commented Jun 2, 2022

Thank you!

@Affonso-Gui Affonso-Gui deleted the rosbag-tools branch June 2, 2022 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants