|
jsk_rosbag_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_common.git |
| VCS Type | git |
| VCS Version | 3.0.5 |
| Last Updated | 2026-11-10 |
| Dev Status | UNKNOWN |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Iori Yanokura
Authors
- Iori Yanokura
jsk_rosbag_tools
Tools such as creating video from rosbag and compressing rosbag images.
bag_to_video.py
Create video from rosbag.
Usage
usage: bag_to_video.py [-h] [--out OUT] [--fps FPS] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] [--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]] input_bagfile
rosbag to video
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output directory path or filename.
If more than one --image-topic are specified,
this will be interpreted as a directory name.
Otherwise this is the file name.
--fps FPS
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]
Topic name to extract.
Example
rosrun jsk_rosbag_tools bag_to_video.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
--image-topic /head_camera/rgb/throttled/image_rect_color/compressed \
-o /tmp/20220530173950_go_to_kitchen_rosbag.mp4
bag_to_audio.py
Create audio file from rosbag.
Usage
usage: bag_to_audio.py [-h] [--out OUT] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] input_bagfile
rosbag to audio
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output filename. If `--audio-topic`_info is exists, you don't have to specify samplerate and channels.
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
Example
rosrun jsk_rosbag_tools bag_to_audio.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
-o /tmp/20220530173950_go_to_kitchen_rosbag.wav
video_to_bag.py
Convert video file to bagfile.
Usage
usage: video_to_bag.py [-h] [--out output_file] [--topic-name TOPIC_NAME] [--compress] [--no-progress-bar] inputvideo
Convert video to bag.
positional arguments:
inputvideo
optional arguments:
-h, --help show this help message and exit
--out output_file, -o output_file
name of the output bag file
--topic-name TOPIC_NAME
Converted topic name.
--compress Compress Image flag.
--no-progress-bar Don't show progress bar.
Example
```
File truncated at 100 lines see the full file
Changelog for package jsk_rosbag_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
- Merge pull request #1838 from k-okada/no-ament-target-dependencies Fix ROS2 buildfarm binary jobs of 3.0.3: lyrical (ament_target_dependencies, message_filters), jsk_rosbag_tools samples/
- [jsk_rosbag_tools] do not install the missing samples/ on ROS2 The ROS2 binary jobs fail at make install with "jsk-rosbag-tools-3.0.3/samples: No such file or directory". samples/ only has samples/data/.gitignore until the ROS1 download targets fill it, and the source package drops .gitignore files, so the directory does not exist on the buildfarm; ROS2 has no download target. Install only scripts/ on ROS2 (the ROS1 line is unchanged). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.3 (2026-11-03)
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
Guess ROS_VERSION from AMENT_PREFIX_PATH when unset, depend on ros_environment The ROS2 binary jobs of the buildfarm failed at find_package(catkin): they install only the build dependencies, none of which pulls in ros_environment, so $ENV{ROS_VERSION} is empty and the fallback at the top of CMakeLists.txt chose ROS1.
- package.xml: add a ROS2 buildtool_depend on ros_environment, which sets ROS_VERSION.
- CMakeLists.txt: when ROS_VERSION is still unset, guess it from AMENT_PREFIX_PATH (bloom's ROS2 debian/rules passes it to cmake, setup.sh and colcon set the environment variable, catkin never does) instead of always assuming ROS1, and warn about it. jsk_tools had no fallback at all and gets the same block. Applies to jsk_ros1_ros2_compat, jsk_tools, jsk_topic_tools, jsk_common, jsk_data, jsk_rosbag_tools, dynamic_tf_publisher, audio_video_recorder and image_view2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Add array heatmap tools with ROS 1 and ROS 2 support
- Render numeric MultiArray and scalar Image topics as heatmap images with optional cell values and configurable color scales
- Add heatmap topics to bags while preserving original messages, recording timestamps, and connection or QoS metadata
- Extend the compatibility layer with raw bag I/O and shared message type helpers
- Add installation rules, documentation, and tests for both ROS versions
-
Merge pull request #1833 from k-okada/release-3.0.2 3.0.2
-
Contributors: Kei Okada, Shun Hasegawa
3.0.2 (2026-11-02)
3.0.0 (2026-10-29)
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| catkin_virtualenv | |
| jsk_ros1_ros2_compat | |
| catkin | |
| python-catkin-pkg-modules | |
| ament_cmake | |
| ros_environment | |
| ament_cmake_python | |
| audio_common_msgs | |
| cv_bridge | |
| jsk_topic_tools | |
| rosbag | |
| sensor_msgs | |
| python-numpy | |
| python-rospkg-modules | |
| python-scipy | |
| python-setuptools | |
| python-termcolor | |
| python-tqdm | |
| python-yaml | |
| roslint | |
| rostest | |
| ament_cmake_pytest |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common |
Launch files
Messages
Services
Plugins
Recent questions tagged jsk_rosbag_tools at Robotics Stack Exchange
|
jsk_rosbag_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_common.git |
| VCS Type | git |
| VCS Version | 3.0.5 |
| Last Updated | 2026-11-10 |
| Dev Status | UNKNOWN |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Iori Yanokura
Authors
- Iori Yanokura
jsk_rosbag_tools
Tools such as creating video from rosbag and compressing rosbag images.
bag_to_video.py
Create video from rosbag.
Usage
usage: bag_to_video.py [-h] [--out OUT] [--fps FPS] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] [--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]] input_bagfile
rosbag to video
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output directory path or filename.
If more than one --image-topic are specified,
this will be interpreted as a directory name.
Otherwise this is the file name.
--fps FPS
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]
Topic name to extract.
Example
rosrun jsk_rosbag_tools bag_to_video.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
--image-topic /head_camera/rgb/throttled/image_rect_color/compressed \
-o /tmp/20220530173950_go_to_kitchen_rosbag.mp4
bag_to_audio.py
Create audio file from rosbag.
Usage
usage: bag_to_audio.py [-h] [--out OUT] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] input_bagfile
rosbag to audio
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output filename. If `--audio-topic`_info is exists, you don't have to specify samplerate and channels.
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
Example
rosrun jsk_rosbag_tools bag_to_audio.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
-o /tmp/20220530173950_go_to_kitchen_rosbag.wav
video_to_bag.py
Convert video file to bagfile.
Usage
usage: video_to_bag.py [-h] [--out output_file] [--topic-name TOPIC_NAME] [--compress] [--no-progress-bar] inputvideo
Convert video to bag.
positional arguments:
inputvideo
optional arguments:
-h, --help show this help message and exit
--out output_file, -o output_file
name of the output bag file
--topic-name TOPIC_NAME
Converted topic name.
--compress Compress Image flag.
--no-progress-bar Don't show progress bar.
Example
```
File truncated at 100 lines see the full file
Changelog for package jsk_rosbag_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
- Merge pull request #1838 from k-okada/no-ament-target-dependencies Fix ROS2 buildfarm binary jobs of 3.0.3: lyrical (ament_target_dependencies, message_filters), jsk_rosbag_tools samples/
- [jsk_rosbag_tools] do not install the missing samples/ on ROS2 The ROS2 binary jobs fail at make install with "jsk-rosbag-tools-3.0.3/samples: No such file or directory". samples/ only has samples/data/.gitignore until the ROS1 download targets fill it, and the source package drops .gitignore files, so the directory does not exist on the buildfarm; ROS2 has no download target. Install only scripts/ on ROS2 (the ROS1 line is unchanged). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.3 (2026-11-03)
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
Guess ROS_VERSION from AMENT_PREFIX_PATH when unset, depend on ros_environment The ROS2 binary jobs of the buildfarm failed at find_package(catkin): they install only the build dependencies, none of which pulls in ros_environment, so $ENV{ROS_VERSION} is empty and the fallback at the top of CMakeLists.txt chose ROS1.
- package.xml: add a ROS2 buildtool_depend on ros_environment, which sets ROS_VERSION.
- CMakeLists.txt: when ROS_VERSION is still unset, guess it from AMENT_PREFIX_PATH (bloom's ROS2 debian/rules passes it to cmake, setup.sh and colcon set the environment variable, catkin never does) instead of always assuming ROS1, and warn about it. jsk_tools had no fallback at all and gets the same block. Applies to jsk_ros1_ros2_compat, jsk_tools, jsk_topic_tools, jsk_common, jsk_data, jsk_rosbag_tools, dynamic_tf_publisher, audio_video_recorder and image_view2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Add array heatmap tools with ROS 1 and ROS 2 support
- Render numeric MultiArray and scalar Image topics as heatmap images with optional cell values and configurable color scales
- Add heatmap topics to bags while preserving original messages, recording timestamps, and connection or QoS metadata
- Extend the compatibility layer with raw bag I/O and shared message type helpers
- Add installation rules, documentation, and tests for both ROS versions
-
Merge pull request #1833 from k-okada/release-3.0.2 3.0.2
-
Contributors: Kei Okada, Shun Hasegawa
3.0.2 (2026-11-02)
3.0.0 (2026-10-29)
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| catkin_virtualenv | |
| jsk_ros1_ros2_compat | |
| catkin | |
| python-catkin-pkg-modules | |
| ament_cmake | |
| ros_environment | |
| ament_cmake_python | |
| audio_common_msgs | |
| cv_bridge | |
| jsk_topic_tools | |
| rosbag | |
| sensor_msgs | |
| python-numpy | |
| python-rospkg-modules | |
| python-scipy | |
| python-setuptools | |
| python-termcolor | |
| python-tqdm | |
| python-yaml | |
| roslint | |
| rostest | |
| ament_cmake_pytest |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common |
Launch files
Messages
Services
Plugins
Recent questions tagged jsk_rosbag_tools at Robotics Stack Exchange
|
jsk_rosbag_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_common.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-10 |
| Dev Status | UNKNOWN |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Iori Yanokura
Authors
- Iori Yanokura
jsk_rosbag_tools
Tools such as creating video from rosbag and compressing rosbag images.
bag_to_video.py
Create video from rosbag.
Usage
usage: bag_to_video.py [-h] [--out OUT] [--fps FPS] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] [--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]] input_bagfile
rosbag to video
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output directory path or filename.
If more than one --image-topic are specified,
this will be interpreted as a directory name.
Otherwise this is the file name.
--fps FPS
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]
Topic name to extract.
Example
rosrun jsk_rosbag_tools bag_to_video.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
--image-topic /head_camera/rgb/throttled/image_rect_color/compressed \
-o /tmp/20220530173950_go_to_kitchen_rosbag.mp4
bag_to_audio.py
Create audio file from rosbag.
Usage
usage: bag_to_audio.py [-h] [--out OUT] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] input_bagfile
rosbag to audio
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output filename. If `--audio-topic`_info is exists, you don't have to specify samplerate and channels.
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
Example
rosrun jsk_rosbag_tools bag_to_audio.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
-o /tmp/20220530173950_go_to_kitchen_rosbag.wav
video_to_bag.py
Convert video file to bagfile.
Usage
usage: video_to_bag.py [-h] [--out output_file] [--topic-name TOPIC_NAME] [--compress] [--no-progress-bar] inputvideo
Convert video to bag.
positional arguments:
inputvideo
optional arguments:
-h, --help show this help message and exit
--out output_file, -o output_file
name of the output bag file
--topic-name TOPIC_NAME
Converted topic name.
--compress Compress Image flag.
--no-progress-bar Don't show progress bar.
Example
```
File truncated at 100 lines see the full file
Changelog for package jsk_rosbag_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
- Merge pull request #1838 from k-okada/no-ament-target-dependencies Fix ROS2 buildfarm binary jobs of 3.0.3: lyrical (ament_target_dependencies, message_filters), jsk_rosbag_tools samples/
- [jsk_rosbag_tools] do not install the missing samples/ on ROS2 The ROS2 binary jobs fail at make install with "jsk-rosbag-tools-3.0.3/samples: No such file or directory". samples/ only has samples/data/.gitignore until the ROS1 download targets fill it, and the source package drops .gitignore files, so the directory does not exist on the buildfarm; ROS2 has no download target. Install only scripts/ on ROS2 (the ROS1 line is unchanged). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.3 (2026-11-03)
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
Guess ROS_VERSION from AMENT_PREFIX_PATH when unset, depend on ros_environment The ROS2 binary jobs of the buildfarm failed at find_package(catkin): they install only the build dependencies, none of which pulls in ros_environment, so $ENV{ROS_VERSION} is empty and the fallback at the top of CMakeLists.txt chose ROS1.
- package.xml: add a ROS2 buildtool_depend on ros_environment, which sets ROS_VERSION.
- CMakeLists.txt: when ROS_VERSION is still unset, guess it from AMENT_PREFIX_PATH (bloom's ROS2 debian/rules passes it to cmake, setup.sh and colcon set the environment variable, catkin never does) instead of always assuming ROS1, and warn about it. jsk_tools had no fallback at all and gets the same block. Applies to jsk_ros1_ros2_compat, jsk_tools, jsk_topic_tools, jsk_common, jsk_data, jsk_rosbag_tools, dynamic_tf_publisher, audio_video_recorder and image_view2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Add array heatmap tools with ROS 1 and ROS 2 support
- Render numeric MultiArray and scalar Image topics as heatmap images with optional cell values and configurable color scales
- Add heatmap topics to bags while preserving original messages, recording timestamps, and connection or QoS metadata
- Extend the compatibility layer with raw bag I/O and shared message type helpers
- Add installation rules, documentation, and tests for both ROS versions
-
Merge pull request #1833 from k-okada/release-3.0.2 3.0.2
-
Contributors: Kei Okada, Shun Hasegawa
3.0.2 (2026-11-02)
3.0.0 (2026-10-29)
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| catkin_virtualenv | |
| jsk_ros1_ros2_compat | |
| catkin | |
| python-catkin-pkg-modules | |
| ament_cmake | |
| ros_environment | |
| ament_cmake_python | |
| audio_common_msgs | |
| cv_bridge | |
| jsk_topic_tools | |
| rosbag | |
| sensor_msgs | |
| python-numpy | |
| python-rospkg-modules | |
| python-scipy | |
| python-setuptools | |
| python-termcolor | |
| python-tqdm | |
| python-yaml | |
| roslint | |
| rostest | |
| ament_cmake_pytest |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common |
Launch files
Messages
Services
Plugins
Recent questions tagged jsk_rosbag_tools at Robotics Stack Exchange
|
jsk_rosbag_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_common.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-10 |
| Dev Status | UNKNOWN |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Iori Yanokura
Authors
- Iori Yanokura
jsk_rosbag_tools
Tools such as creating video from rosbag and compressing rosbag images.
bag_to_video.py
Create video from rosbag.
Usage
usage: bag_to_video.py [-h] [--out OUT] [--fps FPS] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] [--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]] input_bagfile
rosbag to video
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output directory path or filename.
If more than one --image-topic are specified,
this will be interpreted as a directory name.
Otherwise this is the file name.
--fps FPS
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]
Topic name to extract.
Example
rosrun jsk_rosbag_tools bag_to_video.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
--image-topic /head_camera/rgb/throttled/image_rect_color/compressed \
-o /tmp/20220530173950_go_to_kitchen_rosbag.mp4
bag_to_audio.py
Create audio file from rosbag.
Usage
usage: bag_to_audio.py [-h] [--out OUT] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] input_bagfile
rosbag to audio
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output filename. If `--audio-topic`_info is exists, you don't have to specify samplerate and channels.
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
Example
rosrun jsk_rosbag_tools bag_to_audio.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
-o /tmp/20220530173950_go_to_kitchen_rosbag.wav
video_to_bag.py
Convert video file to bagfile.
Usage
usage: video_to_bag.py [-h] [--out output_file] [--topic-name TOPIC_NAME] [--compress] [--no-progress-bar] inputvideo
Convert video to bag.
positional arguments:
inputvideo
optional arguments:
-h, --help show this help message and exit
--out output_file, -o output_file
name of the output bag file
--topic-name TOPIC_NAME
Converted topic name.
--compress Compress Image flag.
--no-progress-bar Don't show progress bar.
Example
```
File truncated at 100 lines see the full file
Changelog for package jsk_rosbag_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
- Merge pull request #1838 from k-okada/no-ament-target-dependencies Fix ROS2 buildfarm binary jobs of 3.0.3: lyrical (ament_target_dependencies, message_filters), jsk_rosbag_tools samples/
- [jsk_rosbag_tools] do not install the missing samples/ on ROS2 The ROS2 binary jobs fail at make install with "jsk-rosbag-tools-3.0.3/samples: No such file or directory". samples/ only has samples/data/.gitignore until the ROS1 download targets fill it, and the source package drops .gitignore files, so the directory does not exist on the buildfarm; ROS2 has no download target. Install only scripts/ on ROS2 (the ROS1 line is unchanged). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.3 (2026-11-03)
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
Guess ROS_VERSION from AMENT_PREFIX_PATH when unset, depend on ros_environment The ROS2 binary jobs of the buildfarm failed at find_package(catkin): they install only the build dependencies, none of which pulls in ros_environment, so $ENV{ROS_VERSION} is empty and the fallback at the top of CMakeLists.txt chose ROS1.
- package.xml: add a ROS2 buildtool_depend on ros_environment, which sets ROS_VERSION.
- CMakeLists.txt: when ROS_VERSION is still unset, guess it from AMENT_PREFIX_PATH (bloom's ROS2 debian/rules passes it to cmake, setup.sh and colcon set the environment variable, catkin never does) instead of always assuming ROS1, and warn about it. jsk_tools had no fallback at all and gets the same block. Applies to jsk_ros1_ros2_compat, jsk_tools, jsk_topic_tools, jsk_common, jsk_data, jsk_rosbag_tools, dynamic_tf_publisher, audio_video_recorder and image_view2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Add array heatmap tools with ROS 1 and ROS 2 support
- Render numeric MultiArray and scalar Image topics as heatmap images with optional cell values and configurable color scales
- Add heatmap topics to bags while preserving original messages, recording timestamps, and connection or QoS metadata
- Extend the compatibility layer with raw bag I/O and shared message type helpers
- Add installation rules, documentation, and tests for both ROS versions
-
Merge pull request #1833 from k-okada/release-3.0.2 3.0.2
-
Contributors: Kei Okada, Shun Hasegawa
3.0.2 (2026-11-02)
3.0.0 (2026-10-29)
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| catkin_virtualenv | |
| jsk_ros1_ros2_compat | |
| catkin | |
| python-catkin-pkg-modules | |
| ament_cmake | |
| ros_environment | |
| ament_cmake_python | |
| audio_common_msgs | |
| cv_bridge | |
| jsk_topic_tools | |
| rosbag | |
| sensor_msgs | |
| python-numpy | |
| python-rospkg-modules | |
| python-scipy | |
| python-setuptools | |
| python-termcolor | |
| python-tqdm | |
| python-yaml | |
| roslint | |
| rostest | |
| ament_cmake_pytest |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common |
Launch files
Messages
Services
Plugins
Recent questions tagged jsk_rosbag_tools at Robotics Stack Exchange
|
jsk_rosbag_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_common.git |
| VCS Type | git |
| VCS Version | 3.0.5 |
| Last Updated | 2026-11-10 |
| Dev Status | UNKNOWN |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Iori Yanokura
Authors
- Iori Yanokura
jsk_rosbag_tools
Tools such as creating video from rosbag and compressing rosbag images.
bag_to_video.py
Create video from rosbag.
Usage
usage: bag_to_video.py [-h] [--out OUT] [--fps FPS] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] [--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]] input_bagfile
rosbag to video
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output directory path or filename.
If more than one --image-topic are specified,
this will be interpreted as a directory name.
Otherwise this is the file name.
--fps FPS
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]
Topic name to extract.
Example
rosrun jsk_rosbag_tools bag_to_video.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
--image-topic /head_camera/rgb/throttled/image_rect_color/compressed \
-o /tmp/20220530173950_go_to_kitchen_rosbag.mp4
bag_to_audio.py
Create audio file from rosbag.
Usage
usage: bag_to_audio.py [-h] [--out OUT] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] input_bagfile
rosbag to audio
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output filename. If `--audio-topic`_info is exists, you don't have to specify samplerate and channels.
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
Example
rosrun jsk_rosbag_tools bag_to_audio.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
-o /tmp/20220530173950_go_to_kitchen_rosbag.wav
video_to_bag.py
Convert video file to bagfile.
Usage
usage: video_to_bag.py [-h] [--out output_file] [--topic-name TOPIC_NAME] [--compress] [--no-progress-bar] inputvideo
Convert video to bag.
positional arguments:
inputvideo
optional arguments:
-h, --help show this help message and exit
--out output_file, -o output_file
name of the output bag file
--topic-name TOPIC_NAME
Converted topic name.
--compress Compress Image flag.
--no-progress-bar Don't show progress bar.
Example
```
File truncated at 100 lines see the full file
Changelog for package jsk_rosbag_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
- Merge pull request #1838 from k-okada/no-ament-target-dependencies Fix ROS2 buildfarm binary jobs of 3.0.3: lyrical (ament_target_dependencies, message_filters), jsk_rosbag_tools samples/
- [jsk_rosbag_tools] do not install the missing samples/ on ROS2 The ROS2 binary jobs fail at make install with "jsk-rosbag-tools-3.0.3/samples: No such file or directory". samples/ only has samples/data/.gitignore until the ROS1 download targets fill it, and the source package drops .gitignore files, so the directory does not exist on the buildfarm; ROS2 has no download target. Install only scripts/ on ROS2 (the ROS1 line is unchanged). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.3 (2026-11-03)
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
Guess ROS_VERSION from AMENT_PREFIX_PATH when unset, depend on ros_environment The ROS2 binary jobs of the buildfarm failed at find_package(catkin): they install only the build dependencies, none of which pulls in ros_environment, so $ENV{ROS_VERSION} is empty and the fallback at the top of CMakeLists.txt chose ROS1.
- package.xml: add a ROS2 buildtool_depend on ros_environment, which sets ROS_VERSION.
- CMakeLists.txt: when ROS_VERSION is still unset, guess it from AMENT_PREFIX_PATH (bloom's ROS2 debian/rules passes it to cmake, setup.sh and colcon set the environment variable, catkin never does) instead of always assuming ROS1, and warn about it. jsk_tools had no fallback at all and gets the same block. Applies to jsk_ros1_ros2_compat, jsk_tools, jsk_topic_tools, jsk_common, jsk_data, jsk_rosbag_tools, dynamic_tf_publisher, audio_video_recorder and image_view2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Add array heatmap tools with ROS 1 and ROS 2 support
- Render numeric MultiArray and scalar Image topics as heatmap images with optional cell values and configurable color scales
- Add heatmap topics to bags while preserving original messages, recording timestamps, and connection or QoS metadata
- Extend the compatibility layer with raw bag I/O and shared message type helpers
- Add installation rules, documentation, and tests for both ROS versions
-
Merge pull request #1833 from k-okada/release-3.0.2 3.0.2
-
Contributors: Kei Okada, Shun Hasegawa
3.0.2 (2026-11-02)
3.0.0 (2026-10-29)
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| catkin_virtualenv | |
| jsk_ros1_ros2_compat | |
| catkin | |
| python-catkin-pkg-modules | |
| ament_cmake | |
| ros_environment | |
| ament_cmake_python | |
| audio_common_msgs | |
| cv_bridge | |
| jsk_topic_tools | |
| rosbag | |
| sensor_msgs | |
| python-numpy | |
| python-rospkg-modules | |
| python-scipy | |
| python-setuptools | |
| python-termcolor | |
| python-tqdm | |
| python-yaml | |
| roslint | |
| rostest | |
| ament_cmake_pytest |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common |
Launch files
Messages
Services
Plugins
Recent questions tagged jsk_rosbag_tools at Robotics Stack Exchange
|
jsk_rosbag_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_common.git |
| VCS Type | git |
| VCS Version | 3.0.5 |
| Last Updated | 2026-11-10 |
| Dev Status | UNKNOWN |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Iori Yanokura
Authors
- Iori Yanokura
jsk_rosbag_tools
Tools such as creating video from rosbag and compressing rosbag images.
bag_to_video.py
Create video from rosbag.
Usage
usage: bag_to_video.py [-h] [--out OUT] [--fps FPS] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] [--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]] input_bagfile
rosbag to video
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output directory path or filename.
If more than one --image-topic are specified,
this will be interpreted as a directory name.
Otherwise this is the file name.
--fps FPS
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]
Topic name to extract.
Example
rosrun jsk_rosbag_tools bag_to_video.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
--image-topic /head_camera/rgb/throttled/image_rect_color/compressed \
-o /tmp/20220530173950_go_to_kitchen_rosbag.mp4
bag_to_audio.py
Create audio file from rosbag.
Usage
usage: bag_to_audio.py [-h] [--out OUT] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] input_bagfile
rosbag to audio
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output filename. If `--audio-topic`_info is exists, you don't have to specify samplerate and channels.
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
Example
rosrun jsk_rosbag_tools bag_to_audio.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
-o /tmp/20220530173950_go_to_kitchen_rosbag.wav
video_to_bag.py
Convert video file to bagfile.
Usage
usage: video_to_bag.py [-h] [--out output_file] [--topic-name TOPIC_NAME] [--compress] [--no-progress-bar] inputvideo
Convert video to bag.
positional arguments:
inputvideo
optional arguments:
-h, --help show this help message and exit
--out output_file, -o output_file
name of the output bag file
--topic-name TOPIC_NAME
Converted topic name.
--compress Compress Image flag.
--no-progress-bar Don't show progress bar.
Example
```
File truncated at 100 lines see the full file
Changelog for package jsk_rosbag_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
- Merge pull request #1838 from k-okada/no-ament-target-dependencies Fix ROS2 buildfarm binary jobs of 3.0.3: lyrical (ament_target_dependencies, message_filters), jsk_rosbag_tools samples/
- [jsk_rosbag_tools] do not install the missing samples/ on ROS2 The ROS2 binary jobs fail at make install with "jsk-rosbag-tools-3.0.3/samples: No such file or directory". samples/ only has samples/data/.gitignore until the ROS1 download targets fill it, and the source package drops .gitignore files, so the directory does not exist on the buildfarm; ROS2 has no download target. Install only scripts/ on ROS2 (the ROS1 line is unchanged). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.3 (2026-11-03)
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
Guess ROS_VERSION from AMENT_PREFIX_PATH when unset, depend on ros_environment The ROS2 binary jobs of the buildfarm failed at find_package(catkin): they install only the build dependencies, none of which pulls in ros_environment, so $ENV{ROS_VERSION} is empty and the fallback at the top of CMakeLists.txt chose ROS1.
- package.xml: add a ROS2 buildtool_depend on ros_environment, which sets ROS_VERSION.
- CMakeLists.txt: when ROS_VERSION is still unset, guess it from AMENT_PREFIX_PATH (bloom's ROS2 debian/rules passes it to cmake, setup.sh and colcon set the environment variable, catkin never does) instead of always assuming ROS1, and warn about it. jsk_tools had no fallback at all and gets the same block. Applies to jsk_ros1_ros2_compat, jsk_tools, jsk_topic_tools, jsk_common, jsk_data, jsk_rosbag_tools, dynamic_tf_publisher, audio_video_recorder and image_view2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Add array heatmap tools with ROS 1 and ROS 2 support
- Render numeric MultiArray and scalar Image topics as heatmap images with optional cell values and configurable color scales
- Add heatmap topics to bags while preserving original messages, recording timestamps, and connection or QoS metadata
- Extend the compatibility layer with raw bag I/O and shared message type helpers
- Add installation rules, documentation, and tests for both ROS versions
-
Merge pull request #1833 from k-okada/release-3.0.2 3.0.2
-
Contributors: Kei Okada, Shun Hasegawa
3.0.2 (2026-11-02)
3.0.0 (2026-10-29)
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| catkin_virtualenv | |
| jsk_ros1_ros2_compat | |
| catkin | |
| python-catkin-pkg-modules | |
| ament_cmake | |
| ros_environment | |
| ament_cmake_python | |
| audio_common_msgs | |
| cv_bridge | |
| jsk_topic_tools | |
| rosbag | |
| sensor_msgs | |
| python-numpy | |
| python-rospkg-modules | |
| python-scipy | |
| python-setuptools | |
| python-termcolor | |
| python-tqdm | |
| python-yaml | |
| roslint | |
| rostest | |
| ament_cmake_pytest |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common |
Launch files
Messages
Services
Plugins
Recent questions tagged jsk_rosbag_tools at Robotics Stack Exchange
|
jsk_rosbag_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_common.git |
| VCS Type | git |
| VCS Version | 3.0.5 |
| Last Updated | 2026-11-10 |
| Dev Status | UNKNOWN |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Iori Yanokura
Authors
- Iori Yanokura
jsk_rosbag_tools
Tools such as creating video from rosbag and compressing rosbag images.
bag_to_video.py
Create video from rosbag.
Usage
usage: bag_to_video.py [-h] [--out OUT] [--fps FPS] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] [--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]] input_bagfile
rosbag to video
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output directory path or filename.
If more than one --image-topic are specified,
this will be interpreted as a directory name.
Otherwise this is the file name.
--fps FPS
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]
Topic name to extract.
Example
rosrun jsk_rosbag_tools bag_to_video.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
--image-topic /head_camera/rgb/throttled/image_rect_color/compressed \
-o /tmp/20220530173950_go_to_kitchen_rosbag.mp4
bag_to_audio.py
Create audio file from rosbag.
Usage
usage: bag_to_audio.py [-h] [--out OUT] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] input_bagfile
rosbag to audio
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output filename. If `--audio-topic`_info is exists, you don't have to specify samplerate and channels.
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
Example
rosrun jsk_rosbag_tools bag_to_audio.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
-o /tmp/20220530173950_go_to_kitchen_rosbag.wav
video_to_bag.py
Convert video file to bagfile.
Usage
usage: video_to_bag.py [-h] [--out output_file] [--topic-name TOPIC_NAME] [--compress] [--no-progress-bar] inputvideo
Convert video to bag.
positional arguments:
inputvideo
optional arguments:
-h, --help show this help message and exit
--out output_file, -o output_file
name of the output bag file
--topic-name TOPIC_NAME
Converted topic name.
--compress Compress Image flag.
--no-progress-bar Don't show progress bar.
Example
```
File truncated at 100 lines see the full file
Changelog for package jsk_rosbag_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
- Merge pull request #1838 from k-okada/no-ament-target-dependencies Fix ROS2 buildfarm binary jobs of 3.0.3: lyrical (ament_target_dependencies, message_filters), jsk_rosbag_tools samples/
- [jsk_rosbag_tools] do not install the missing samples/ on ROS2 The ROS2 binary jobs fail at make install with "jsk-rosbag-tools-3.0.3/samples: No such file or directory". samples/ only has samples/data/.gitignore until the ROS1 download targets fill it, and the source package drops .gitignore files, so the directory does not exist on the buildfarm; ROS2 has no download target. Install only scripts/ on ROS2 (the ROS1 line is unchanged). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.3 (2026-11-03)
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
Guess ROS_VERSION from AMENT_PREFIX_PATH when unset, depend on ros_environment The ROS2 binary jobs of the buildfarm failed at find_package(catkin): they install only the build dependencies, none of which pulls in ros_environment, so $ENV{ROS_VERSION} is empty and the fallback at the top of CMakeLists.txt chose ROS1.
- package.xml: add a ROS2 buildtool_depend on ros_environment, which sets ROS_VERSION.
- CMakeLists.txt: when ROS_VERSION is still unset, guess it from AMENT_PREFIX_PATH (bloom's ROS2 debian/rules passes it to cmake, setup.sh and colcon set the environment variable, catkin never does) instead of always assuming ROS1, and warn about it. jsk_tools had no fallback at all and gets the same block. Applies to jsk_ros1_ros2_compat, jsk_tools, jsk_topic_tools, jsk_common, jsk_data, jsk_rosbag_tools, dynamic_tf_publisher, audio_video_recorder and image_view2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Add array heatmap tools with ROS 1 and ROS 2 support
- Render numeric MultiArray and scalar Image topics as heatmap images with optional cell values and configurable color scales
- Add heatmap topics to bags while preserving original messages, recording timestamps, and connection or QoS metadata
- Extend the compatibility layer with raw bag I/O and shared message type helpers
- Add installation rules, documentation, and tests for both ROS versions
-
Merge pull request #1833 from k-okada/release-3.0.2 3.0.2
-
Contributors: Kei Okada, Shun Hasegawa
3.0.2 (2026-11-02)
3.0.0 (2026-10-29)
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| catkin_virtualenv | |
| jsk_ros1_ros2_compat | |
| catkin | |
| python-catkin-pkg-modules | |
| ament_cmake | |
| ros_environment | |
| ament_cmake_python | |
| audio_common_msgs | |
| cv_bridge | |
| jsk_topic_tools | |
| rosbag | |
| sensor_msgs | |
| python-numpy | |
| python-rospkg-modules | |
| python-scipy | |
| python-setuptools | |
| python-termcolor | |
| python-tqdm | |
| python-yaml | |
| roslint | |
| rostest | |
| ament_cmake_pytest |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common |
Launch files
Messages
Services
Plugins
Recent questions tagged jsk_rosbag_tools at Robotics Stack Exchange
|
jsk_rosbag_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_common.git |
| VCS Type | git |
| VCS Version | 3.0.5 |
| Last Updated | 2026-11-10 |
| Dev Status | UNKNOWN |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Iori Yanokura
Authors
- Iori Yanokura
jsk_rosbag_tools
Tools such as creating video from rosbag and compressing rosbag images.
bag_to_video.py
Create video from rosbag.
Usage
usage: bag_to_video.py [-h] [--out OUT] [--fps FPS] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] [--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]] input_bagfile
rosbag to video
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output directory path or filename.
If more than one --image-topic are specified,
this will be interpreted as a directory name.
Otherwise this is the file name.
--fps FPS
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]
Topic name to extract.
Example
rosrun jsk_rosbag_tools bag_to_video.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
--image-topic /head_camera/rgb/throttled/image_rect_color/compressed \
-o /tmp/20220530173950_go_to_kitchen_rosbag.mp4
bag_to_audio.py
Create audio file from rosbag.
Usage
usage: bag_to_audio.py [-h] [--out OUT] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] input_bagfile
rosbag to audio
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output filename. If `--audio-topic`_info is exists, you don't have to specify samplerate and channels.
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
Example
rosrun jsk_rosbag_tools bag_to_audio.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
-o /tmp/20220530173950_go_to_kitchen_rosbag.wav
video_to_bag.py
Convert video file to bagfile.
Usage
usage: video_to_bag.py [-h] [--out output_file] [--topic-name TOPIC_NAME] [--compress] [--no-progress-bar] inputvideo
Convert video to bag.
positional arguments:
inputvideo
optional arguments:
-h, --help show this help message and exit
--out output_file, -o output_file
name of the output bag file
--topic-name TOPIC_NAME
Converted topic name.
--compress Compress Image flag.
--no-progress-bar Don't show progress bar.
Example
```
File truncated at 100 lines see the full file
Changelog for package jsk_rosbag_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
- Merge pull request #1838 from k-okada/no-ament-target-dependencies Fix ROS2 buildfarm binary jobs of 3.0.3: lyrical (ament_target_dependencies, message_filters), jsk_rosbag_tools samples/
- [jsk_rosbag_tools] do not install the missing samples/ on ROS2 The ROS2 binary jobs fail at make install with "jsk-rosbag-tools-3.0.3/samples: No such file or directory". samples/ only has samples/data/.gitignore until the ROS1 download targets fill it, and the source package drops .gitignore files, so the directory does not exist on the buildfarm; ROS2 has no download target. Install only scripts/ on ROS2 (the ROS1 line is unchanged). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.3 (2026-11-03)
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
Guess ROS_VERSION from AMENT_PREFIX_PATH when unset, depend on ros_environment The ROS2 binary jobs of the buildfarm failed at find_package(catkin): they install only the build dependencies, none of which pulls in ros_environment, so $ENV{ROS_VERSION} is empty and the fallback at the top of CMakeLists.txt chose ROS1.
- package.xml: add a ROS2 buildtool_depend on ros_environment, which sets ROS_VERSION.
- CMakeLists.txt: when ROS_VERSION is still unset, guess it from AMENT_PREFIX_PATH (bloom's ROS2 debian/rules passes it to cmake, setup.sh and colcon set the environment variable, catkin never does) instead of always assuming ROS1, and warn about it. jsk_tools had no fallback at all and gets the same block. Applies to jsk_ros1_ros2_compat, jsk_tools, jsk_topic_tools, jsk_common, jsk_data, jsk_rosbag_tools, dynamic_tf_publisher, audio_video_recorder and image_view2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Add array heatmap tools with ROS 1 and ROS 2 support
- Render numeric MultiArray and scalar Image topics as heatmap images with optional cell values and configurable color scales
- Add heatmap topics to bags while preserving original messages, recording timestamps, and connection or QoS metadata
- Extend the compatibility layer with raw bag I/O and shared message type helpers
- Add installation rules, documentation, and tests for both ROS versions
-
Merge pull request #1833 from k-okada/release-3.0.2 3.0.2
-
Contributors: Kei Okada, Shun Hasegawa
3.0.2 (2026-11-02)
3.0.0 (2026-10-29)
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| catkin_virtualenv | |
| jsk_ros1_ros2_compat | |
| catkin | |
| python-catkin-pkg-modules | |
| ament_cmake | |
| ros_environment | |
| ament_cmake_python | |
| audio_common_msgs | |
| cv_bridge | |
| jsk_topic_tools | |
| rosbag | |
| sensor_msgs | |
| python-numpy | |
| python-rospkg-modules | |
| python-scipy | |
| python-setuptools | |
| python-termcolor | |
| python-tqdm | |
| python-yaml | |
| roslint | |
| rostest | |
| ament_cmake_pytest |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common |
Launch files
Messages
Services
Plugins
Recent questions tagged jsk_rosbag_tools at Robotics Stack Exchange
|
jsk_rosbag_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_common.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-10 |
| Dev Status | UNKNOWN |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Iori Yanokura
Authors
- Iori Yanokura
jsk_rosbag_tools
Tools such as creating video from rosbag and compressing rosbag images.
bag_to_video.py
Create video from rosbag.
Usage
usage: bag_to_video.py [-h] [--out OUT] [--fps FPS] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] [--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]] input_bagfile
rosbag to video
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output directory path or filename.
If more than one --image-topic are specified,
this will be interpreted as a directory name.
Otherwise this is the file name.
--fps FPS
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]
Topic name to extract.
Example
rosrun jsk_rosbag_tools bag_to_video.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
--image-topic /head_camera/rgb/throttled/image_rect_color/compressed \
-o /tmp/20220530173950_go_to_kitchen_rosbag.mp4
bag_to_audio.py
Create audio file from rosbag.
Usage
usage: bag_to_audio.py [-h] [--out OUT] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] input_bagfile
rosbag to audio
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output filename. If `--audio-topic`_info is exists, you don't have to specify samplerate and channels.
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
Example
rosrun jsk_rosbag_tools bag_to_audio.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
-o /tmp/20220530173950_go_to_kitchen_rosbag.wav
video_to_bag.py
Convert video file to bagfile.
Usage
usage: video_to_bag.py [-h] [--out output_file] [--topic-name TOPIC_NAME] [--compress] [--no-progress-bar] inputvideo
Convert video to bag.
positional arguments:
inputvideo
optional arguments:
-h, --help show this help message and exit
--out output_file, -o output_file
name of the output bag file
--topic-name TOPIC_NAME
Converted topic name.
--compress Compress Image flag.
--no-progress-bar Don't show progress bar.
Example
```
File truncated at 100 lines see the full file
Changelog for package jsk_rosbag_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
- Merge pull request #1838 from k-okada/no-ament-target-dependencies Fix ROS2 buildfarm binary jobs of 3.0.3: lyrical (ament_target_dependencies, message_filters), jsk_rosbag_tools samples/
- [jsk_rosbag_tools] do not install the missing samples/ on ROS2 The ROS2 binary jobs fail at make install with "jsk-rosbag-tools-3.0.3/samples: No such file or directory". samples/ only has samples/data/.gitignore until the ROS1 download targets fill it, and the source package drops .gitignore files, so the directory does not exist on the buildfarm; ROS2 has no download target. Install only scripts/ on ROS2 (the ROS1 line is unchanged). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.3 (2026-11-03)
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
Guess ROS_VERSION from AMENT_PREFIX_PATH when unset, depend on ros_environment The ROS2 binary jobs of the buildfarm failed at find_package(catkin): they install only the build dependencies, none of which pulls in ros_environment, so $ENV{ROS_VERSION} is empty and the fallback at the top of CMakeLists.txt chose ROS1.
- package.xml: add a ROS2 buildtool_depend on ros_environment, which sets ROS_VERSION.
- CMakeLists.txt: when ROS_VERSION is still unset, guess it from AMENT_PREFIX_PATH (bloom's ROS2 debian/rules passes it to cmake, setup.sh and colcon set the environment variable, catkin never does) instead of always assuming ROS1, and warn about it. jsk_tools had no fallback at all and gets the same block. Applies to jsk_ros1_ros2_compat, jsk_tools, jsk_topic_tools, jsk_common, jsk_data, jsk_rosbag_tools, dynamic_tf_publisher, audio_video_recorder and image_view2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Add array heatmap tools with ROS 1 and ROS 2 support
- Render numeric MultiArray and scalar Image topics as heatmap images with optional cell values and configurable color scales
- Add heatmap topics to bags while preserving original messages, recording timestamps, and connection or QoS metadata
- Extend the compatibility layer with raw bag I/O and shared message type helpers
- Add installation rules, documentation, and tests for both ROS versions
-
Merge pull request #1833 from k-okada/release-3.0.2 3.0.2
-
Contributors: Kei Okada, Shun Hasegawa
3.0.2 (2026-11-02)
3.0.0 (2026-10-29)
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| catkin_virtualenv | |
| jsk_ros1_ros2_compat | |
| catkin | |
| python-catkin-pkg-modules | |
| ament_cmake | |
| ros_environment | |
| ament_cmake_python | |
| audio_common_msgs | |
| cv_bridge | |
| jsk_topic_tools | |
| rosbag | |
| sensor_msgs | |
| python-numpy | |
| python-rospkg-modules | |
| python-scipy | |
| python-setuptools | |
| python-termcolor | |
| python-tqdm | |
| python-yaml | |
| roslint | |
| rostest | |
| ament_cmake_pytest |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common |
Launch files
Messages
Services
Plugins
Recent questions tagged jsk_rosbag_tools at Robotics Stack Exchange
|
jsk_rosbag_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/jsk-ros-pkg/jsk_common.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2026-11-10 |
| Dev Status | UNKNOWN |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Iori Yanokura
Authors
- Iori Yanokura
jsk_rosbag_tools
Tools such as creating video from rosbag and compressing rosbag images.
bag_to_video.py
Create video from rosbag.
Usage
usage: bag_to_video.py [-h] [--out OUT] [--fps FPS] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] [--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]] input_bagfile
rosbag to video
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output directory path or filename.
If more than one --image-topic are specified,
this will be interpreted as a directory name.
Otherwise this is the file name.
--fps FPS
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
--image-topic IMAGE_TOPIC [IMAGE_TOPIC ...]
Topic name to extract.
Example
rosrun jsk_rosbag_tools bag_to_video.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
--image-topic /head_camera/rgb/throttled/image_rect_color/compressed \
-o /tmp/20220530173950_go_to_kitchen_rosbag.mp4
bag_to_audio.py
Create audio file from rosbag.
Usage
usage: bag_to_audio.py [-h] [--out OUT] [--samplerate SAMPLERATE] [--channels CHANNELS] [--audio-topic AUDIO_TOPIC] input_bagfile
rosbag to audio
positional arguments:
input_bagfile
optional arguments:
-h, --help show this help message and exit
--out OUT, -o OUT output filename. If `--audio-topic`_info is exists, you don't have to specify samplerate and channels.
--samplerate SAMPLERATE, -r SAMPLERATE
sampling rate
--channels CHANNELS number of input channels
--audio-topic AUDIO_TOPIC
Example
rosrun jsk_rosbag_tools bag_to_audio.py $(rospack find jsk_rosbag_tools)/samples/data/20220530173950_go_to_kitchen_rosbag.bag \
--samplerate 16000 --channels 1 --audio-topic /audio \
-o /tmp/20220530173950_go_to_kitchen_rosbag.wav
video_to_bag.py
Convert video file to bagfile.
Usage
usage: video_to_bag.py [-h] [--out output_file] [--topic-name TOPIC_NAME] [--compress] [--no-progress-bar] inputvideo
Convert video to bag.
positional arguments:
inputvideo
optional arguments:
-h, --help show this help message and exit
--out output_file, -o output_file
name of the output bag file
--topic-name TOPIC_NAME
Converted topic name.
--compress Compress Image flag.
--no-progress-bar Don't show progress bar.
Example
```
File truncated at 100 lines see the full file
Changelog for package jsk_rosbag_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
- Merge pull request #1838 from k-okada/no-ament-target-dependencies Fix ROS2 buildfarm binary jobs of 3.0.3: lyrical (ament_target_dependencies, message_filters), jsk_rosbag_tools samples/
- [jsk_rosbag_tools] do not install the missing samples/ on ROS2 The ROS2 binary jobs fail at make install with "jsk-rosbag-tools-3.0.3/samples: No such file or directory". samples/ only has samples/data/.gitignore until the ROS1 download targets fill it, and the source package drops .gitignore files, so the directory does not exist on the buildfarm; ROS2 has no download target. Install only scripts/ on ROS2 (the ROS1 line is unchanged). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.3 (2026-11-03)
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
Guess ROS_VERSION from AMENT_PREFIX_PATH when unset, depend on ros_environment The ROS2 binary jobs of the buildfarm failed at find_package(catkin): they install only the build dependencies, none of which pulls in ros_environment, so $ENV{ROS_VERSION} is empty and the fallback at the top of CMakeLists.txt chose ROS1.
- package.xml: add a ROS2 buildtool_depend on ros_environment, which sets ROS_VERSION.
- CMakeLists.txt: when ROS_VERSION is still unset, guess it from AMENT_PREFIX_PATH (bloom's ROS2 debian/rules passes it to cmake, setup.sh and colcon set the environment variable, catkin never does) instead of always assuming ROS1, and warn about it. jsk_tools had no fallback at all and gets the same block. Applies to jsk_ros1_ros2_compat, jsk_tools, jsk_topic_tools, jsk_common, jsk_data, jsk_rosbag_tools, dynamic_tf_publisher, audio_video_recorder and image_view2. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
Add array heatmap tools with ROS 1 and ROS 2 support
- Render numeric MultiArray and scalar Image topics as heatmap images with optional cell values and configurable color scales
- Add heatmap topics to bags while preserving original messages, recording timestamps, and connection or QoS metadata
- Extend the compatibility layer with raw bag I/O and shared message type helpers
- Add installation rules, documentation, and tests for both ROS versions
-
Merge pull request #1833 from k-okada/release-3.0.2 3.0.2
-
Contributors: Kei Okada, Shun Hasegawa
3.0.2 (2026-11-02)
3.0.0 (2026-10-29)
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| catkin_virtualenv | |
| jsk_ros1_ros2_compat | |
| catkin | |
| python-catkin-pkg-modules | |
| ament_cmake | |
| ros_environment | |
| ament_cmake_python | |
| audio_common_msgs | |
| cv_bridge | |
| jsk_topic_tools | |
| rosbag | |
| sensor_msgs | |
| python-numpy | |
| python-rospkg-modules | |
| python-scipy | |
| python-setuptools | |
| python-termcolor | |
| python-tqdm | |
| python-yaml | |
| roslint | |
| rostest | |
| ament_cmake_pytest |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common |