No version for distro humble showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_common.git
VCS Type git
VCS Version master
Last Updated 2026-11-18
Dev Status UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.

jsk_data

Data management tools used in JSK lab. The package provides the jsk_data command line interface to upload and download data, a node to save synchronized topics on request (data_collection_server.py), helpers for recording rosbags, and launch files to record and play back rosbags of PR2, Fetch, Baxter, HRP2 and other robots.

ROS 1 / ROS 2

The package builds for both ROS 1 (catkin) and ROS 2 (ament_cmake); CMakeLists.txt branches on $ENV{ROS_VERSION}.

Item ROS 1 ROS 2
jsk_data CLI yes yes
data_collection_server.py yes yes
camera_coords_change_trigger.py yes yes
Python module jsk_data yes yes
rosbag_always.py, robot_description_saver.py, robot_description_loader.py yes -
Shell scripts copy-pr2-bagfiles, decompress, gen-gif-all, gopro-copy-files.sh, hrp2_rosbag_always.sh, drive-linux-x64 (x86_64 only) yes -
bash completion of jsk_data (env-hook) yes -
Launch files in launch/ and sample/ yes -

There are no ROS 2 launch files; use ros2 run jsk_data <exe>.

jsk_data command

jsk_data uploads, downloads and lists data on the lab’s data server; it is designed for JSK lab members. With --public, data is also put on / taken from the public Google Drive folder.

  • jsk_data ls [OPTIONS] [QUERY] – list data on the server.
  • jsk_data get [OPTIONS] FILENAME – download data.
  • jsk_data put [OPTIONS] FILENAME – upload data (--public also uploads to Google Drive, take care with private data).
  • jsk_data delete FILENAME – delete a public file (--public only).
  • jsk_data pubinfo [OPTIONS] FILENAME – show the info of public data.
  • jsk_data pubopen – open the public Google Drive folder in the browser.

See jsk_data <sub command> --help and jsk_data_cli.md.

data_collection_server.py

Saves the latest messages of the given topics (and values of the given parameters) as {SAVE_DIR}/{TIMESTAMP}/{FILENAME} when triggered.

Services:

  • ~save_request (std_srvs/Trigger) – save once (~method: request).
  • ~start_request / ~end_request (std_srvs/Trigger) – start / stop periodic saving (~method: timer).

Main parameters: ~save_dir (default ~/.ros), ~topics, ~params, ~method (request, timer or all), ~message_filters, ~approximate_sync, ~queue_size, ~slop, ~timestamp_save_dir. Save types are ColorImage, DepthImage, LabelImage and YAML for topics, and Text and YAML for parameters. See data_collection_server.rst.

On ROS 1, ~topics / ~params are lists of dicts:

<node name="data_collection_server" pkg="jsk_data" type="data_collection_server.py">
  <rosparam>
    save_dir: ~/.ros/jsk_data
    topics:
      - name: /camera/rgb/image_raw
        msg_class: sensor_msgs/Image
        fname: image.png
        savetype: ColorImage
  </rosparam>
</node>

ROS 2 parameters cannot hold nested structures, so the same table is given as parallel string arrays topics_name, topics_msg_class, topics_fname, topics_savetype (and params_key, params_fname, params_savetype):

ros2 run jsk_data data_collection_server.py --ros-args \
  -p save_dir:=~/.ros/jsk_data \
  -p topics_name:="['/camera/rgb/image_raw']" -p topics_msg_class:="['sensor_msgs/Image']" \
  -p topics_fname:="['image.png']" -p topics_savetype:="['ColorImage']"
ros2 service call /data_collection_server/save_request std_srvs/srv/Trigger

camera_coords_change_trigger.py

Watches the pose of head_mount_kinect_rgb_optical_frame in world through TF and calls the ~trigger service (std_srvs/Trigger, e.g. remapped to data_collection_server’s ~save_request) when the camera has moved by more than ~delta_position / ~delta_orientation and has come to rest (~velocify_position / ~velocify_orientation).

rosbag_always.py (ROS 1)

Keeps recording rosbags even if roscore is restarted, and removes old bag files when the total size of --save-dir exceeds --max-size (in MB).

rosrun jsk_data rosbag_always.py --topics "/tf /joint_states" --size 1000 --save-dir /tmp/rosbag --max-size 10000

See rosbag_always.md and launch/rosbag_always_run_rosbag.launch.

Launch files (ROS 1)

  • launch/<robot>_record.launch (pr2, fetch, baxter, hrp2, urata) – record the robot’s standard topics (TF, joint states, cameras, …) into rosbags through launch/common_record.launch. Extra topics and rosbag record options are given with other_topics / other_options.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_common.git
VCS Type git
VCS Version master
Last Updated 2026-11-18
Dev Status UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.

jsk_data

Data management tools used in JSK lab. The package provides the jsk_data command line interface to upload and download data, a node to save synchronized topics on request (data_collection_server.py), helpers for recording rosbags, and launch files to record and play back rosbags of PR2, Fetch, Baxter, HRP2 and other robots.

ROS 1 / ROS 2

The package builds for both ROS 1 (catkin) and ROS 2 (ament_cmake); CMakeLists.txt branches on $ENV{ROS_VERSION}.

Item ROS 1 ROS 2
jsk_data CLI yes yes
data_collection_server.py yes yes
camera_coords_change_trigger.py yes yes
Python module jsk_data yes yes
rosbag_always.py, robot_description_saver.py, robot_description_loader.py yes -
Shell scripts copy-pr2-bagfiles, decompress, gen-gif-all, gopro-copy-files.sh, hrp2_rosbag_always.sh, drive-linux-x64 (x86_64 only) yes -
bash completion of jsk_data (env-hook) yes -
Launch files in launch/ and sample/ yes -

There are no ROS 2 launch files; use ros2 run jsk_data <exe>.

jsk_data command

jsk_data uploads, downloads and lists data on the lab’s data server; it is designed for JSK lab members. With --public, data is also put on / taken from the public Google Drive folder.

  • jsk_data ls [OPTIONS] [QUERY] – list data on the server.
  • jsk_data get [OPTIONS] FILENAME – download data.
  • jsk_data put [OPTIONS] FILENAME – upload data (--public also uploads to Google Drive, take care with private data).
  • jsk_data delete FILENAME – delete a public file (--public only).
  • jsk_data pubinfo [OPTIONS] FILENAME – show the info of public data.
  • jsk_data pubopen – open the public Google Drive folder in the browser.

See jsk_data <sub command> --help and jsk_data_cli.md.

data_collection_server.py

Saves the latest messages of the given topics (and values of the given parameters) as {SAVE_DIR}/{TIMESTAMP}/{FILENAME} when triggered.

Services:

  • ~save_request (std_srvs/Trigger) – save once (~method: request).
  • ~start_request / ~end_request (std_srvs/Trigger) – start / stop periodic saving (~method: timer).

Main parameters: ~save_dir (default ~/.ros), ~topics, ~params, ~method (request, timer or all), ~message_filters, ~approximate_sync, ~queue_size, ~slop, ~timestamp_save_dir. Save types are ColorImage, DepthImage, LabelImage and YAML for topics, and Text and YAML for parameters. See data_collection_server.rst.

On ROS 1, ~topics / ~params are lists of dicts:

<node name="data_collection_server" pkg="jsk_data" type="data_collection_server.py">
  <rosparam>
    save_dir: ~/.ros/jsk_data
    topics:
      - name: /camera/rgb/image_raw
        msg_class: sensor_msgs/Image
        fname: image.png
        savetype: ColorImage
  </rosparam>
</node>

ROS 2 parameters cannot hold nested structures, so the same table is given as parallel string arrays topics_name, topics_msg_class, topics_fname, topics_savetype (and params_key, params_fname, params_savetype):

ros2 run jsk_data data_collection_server.py --ros-args \
  -p save_dir:=~/.ros/jsk_data \
  -p topics_name:="['/camera/rgb/image_raw']" -p topics_msg_class:="['sensor_msgs/Image']" \
  -p topics_fname:="['image.png']" -p topics_savetype:="['ColorImage']"
ros2 service call /data_collection_server/save_request std_srvs/srv/Trigger

camera_coords_change_trigger.py

Watches the pose of head_mount_kinect_rgb_optical_frame in world through TF and calls the ~trigger service (std_srvs/Trigger, e.g. remapped to data_collection_server’s ~save_request) when the camera has moved by more than ~delta_position / ~delta_orientation and has come to rest (~velocify_position / ~velocify_orientation).

rosbag_always.py (ROS 1)

Keeps recording rosbags even if roscore is restarted, and removes old bag files when the total size of --save-dir exceeds --max-size (in MB).

rosrun jsk_data rosbag_always.py --topics "/tf /joint_states" --size 1000 --save-dir /tmp/rosbag --max-size 10000

See rosbag_always.md and launch/rosbag_always_run_rosbag.launch.

Launch files (ROS 1)

  • launch/<robot>_record.launch (pr2, fetch, baxter, hrp2, urata) – record the robot’s standard topics (TF, joint states, cameras, …) into rosbags through launch/common_record.launch. Extra topics and rosbag record options are given with other_topics / other_options.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

No version for distro ardent showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

No version for distro bouncy showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

No version for distro crystal showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

No version for distro eloquent showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

No version for distro dashing showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

No version for distro galactic showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

No version for distro foxy showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

No version for distro iron showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

No version for distro lunar showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

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 UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.
README
No README found. See repository README.
CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_common.git
VCS Type git
VCS Version master
Last Updated 2026-11-18
Dev Status UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.

jsk_data

Data management tools used in JSK lab. The package provides the jsk_data command line interface to upload and download data, a node to save synchronized topics on request (data_collection_server.py), helpers for recording rosbags, and launch files to record and play back rosbags of PR2, Fetch, Baxter, HRP2 and other robots.

ROS 1 / ROS 2

The package builds for both ROS 1 (catkin) and ROS 2 (ament_cmake); CMakeLists.txt branches on $ENV{ROS_VERSION}.

Item ROS 1 ROS 2
jsk_data CLI yes yes
data_collection_server.py yes yes
camera_coords_change_trigger.py yes yes
Python module jsk_data yes yes
rosbag_always.py, robot_description_saver.py, robot_description_loader.py yes -
Shell scripts copy-pr2-bagfiles, decompress, gen-gif-all, gopro-copy-files.sh, hrp2_rosbag_always.sh, drive-linux-x64 (x86_64 only) yes -
bash completion of jsk_data (env-hook) yes -
Launch files in launch/ and sample/ yes -

There are no ROS 2 launch files; use ros2 run jsk_data <exe>.

jsk_data command

jsk_data uploads, downloads and lists data on the lab’s data server; it is designed for JSK lab members. With --public, data is also put on / taken from the public Google Drive folder.

  • jsk_data ls [OPTIONS] [QUERY] – list data on the server.
  • jsk_data get [OPTIONS] FILENAME – download data.
  • jsk_data put [OPTIONS] FILENAME – upload data (--public also uploads to Google Drive, take care with private data).
  • jsk_data delete FILENAME – delete a public file (--public only).
  • jsk_data pubinfo [OPTIONS] FILENAME – show the info of public data.
  • jsk_data pubopen – open the public Google Drive folder in the browser.

See jsk_data <sub command> --help and jsk_data_cli.md.

data_collection_server.py

Saves the latest messages of the given topics (and values of the given parameters) as {SAVE_DIR}/{TIMESTAMP}/{FILENAME} when triggered.

Services:

  • ~save_request (std_srvs/Trigger) – save once (~method: request).
  • ~start_request / ~end_request (std_srvs/Trigger) – start / stop periodic saving (~method: timer).

Main parameters: ~save_dir (default ~/.ros), ~topics, ~params, ~method (request, timer or all), ~message_filters, ~approximate_sync, ~queue_size, ~slop, ~timestamp_save_dir. Save types are ColorImage, DepthImage, LabelImage and YAML for topics, and Text and YAML for parameters. See data_collection_server.rst.

On ROS 1, ~topics / ~params are lists of dicts:

<node name="data_collection_server" pkg="jsk_data" type="data_collection_server.py">
  <rosparam>
    save_dir: ~/.ros/jsk_data
    topics:
      - name: /camera/rgb/image_raw
        msg_class: sensor_msgs/Image
        fname: image.png
        savetype: ColorImage
  </rosparam>
</node>

ROS 2 parameters cannot hold nested structures, so the same table is given as parallel string arrays topics_name, topics_msg_class, topics_fname, topics_savetype (and params_key, params_fname, params_savetype):

ros2 run jsk_data data_collection_server.py --ros-args \
  -p save_dir:=~/.ros/jsk_data \
  -p topics_name:="['/camera/rgb/image_raw']" -p topics_msg_class:="['sensor_msgs/Image']" \
  -p topics_fname:="['image.png']" -p topics_savetype:="['ColorImage']"
ros2 service call /data_collection_server/save_request std_srvs/srv/Trigger

camera_coords_change_trigger.py

Watches the pose of head_mount_kinect_rgb_optical_frame in world through TF and calls the ~trigger service (std_srvs/Trigger, e.g. remapped to data_collection_server’s ~save_request) when the camera has moved by more than ~delta_position / ~delta_orientation and has come to rest (~velocify_position / ~velocify_orientation).

rosbag_always.py (ROS 1)

Keeps recording rosbags even if roscore is restarted, and removes old bag files when the total size of --save-dir exceeds --max-size (in MB).

rosrun jsk_data rosbag_always.py --topics "/tf /joint_states" --size 1000 --save-dir /tmp/rosbag --max-size 10000

See rosbag_always.md and launch/rosbag_always_run_rosbag.launch.

Launch files (ROS 1)

  • launch/<robot>_record.launch (pr2, fetch, baxter, hrp2, urata) – record the robot’s standard topics (TF, joint states, cameras, …) into rosbags through launch/common_record.launch. Extra topics and rosbag record options are given with other_topics / other_options.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_common.git
VCS Type git
VCS Version master
Last Updated 2026-11-18
Dev Status UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.

jsk_data

Data management tools used in JSK lab. The package provides the jsk_data command line interface to upload and download data, a node to save synchronized topics on request (data_collection_server.py), helpers for recording rosbags, and launch files to record and play back rosbags of PR2, Fetch, Baxter, HRP2 and other robots.

ROS 1 / ROS 2

The package builds for both ROS 1 (catkin) and ROS 2 (ament_cmake); CMakeLists.txt branches on $ENV{ROS_VERSION}.

Item ROS 1 ROS 2
jsk_data CLI yes yes
data_collection_server.py yes yes
camera_coords_change_trigger.py yes yes
Python module jsk_data yes yes
rosbag_always.py, robot_description_saver.py, robot_description_loader.py yes -
Shell scripts copy-pr2-bagfiles, decompress, gen-gif-all, gopro-copy-files.sh, hrp2_rosbag_always.sh, drive-linux-x64 (x86_64 only) yes -
bash completion of jsk_data (env-hook) yes -
Launch files in launch/ and sample/ yes -

There are no ROS 2 launch files; use ros2 run jsk_data <exe>.

jsk_data command

jsk_data uploads, downloads and lists data on the lab’s data server; it is designed for JSK lab members. With --public, data is also put on / taken from the public Google Drive folder.

  • jsk_data ls [OPTIONS] [QUERY] – list data on the server.
  • jsk_data get [OPTIONS] FILENAME – download data.
  • jsk_data put [OPTIONS] FILENAME – upload data (--public also uploads to Google Drive, take care with private data).
  • jsk_data delete FILENAME – delete a public file (--public only).
  • jsk_data pubinfo [OPTIONS] FILENAME – show the info of public data.
  • jsk_data pubopen – open the public Google Drive folder in the browser.

See jsk_data <sub command> --help and jsk_data_cli.md.

data_collection_server.py

Saves the latest messages of the given topics (and values of the given parameters) as {SAVE_DIR}/{TIMESTAMP}/{FILENAME} when triggered.

Services:

  • ~save_request (std_srvs/Trigger) – save once (~method: request).
  • ~start_request / ~end_request (std_srvs/Trigger) – start / stop periodic saving (~method: timer).

Main parameters: ~save_dir (default ~/.ros), ~topics, ~params, ~method (request, timer or all), ~message_filters, ~approximate_sync, ~queue_size, ~slop, ~timestamp_save_dir. Save types are ColorImage, DepthImage, LabelImage and YAML for topics, and Text and YAML for parameters. See data_collection_server.rst.

On ROS 1, ~topics / ~params are lists of dicts:

<node name="data_collection_server" pkg="jsk_data" type="data_collection_server.py">
  <rosparam>
    save_dir: ~/.ros/jsk_data
    topics:
      - name: /camera/rgb/image_raw
        msg_class: sensor_msgs/Image
        fname: image.png
        savetype: ColorImage
  </rosparam>
</node>

ROS 2 parameters cannot hold nested structures, so the same table is given as parallel string arrays topics_name, topics_msg_class, topics_fname, topics_savetype (and params_key, params_fname, params_savetype):

ros2 run jsk_data data_collection_server.py --ros-args \
  -p save_dir:=~/.ros/jsk_data \
  -p topics_name:="['/camera/rgb/image_raw']" -p topics_msg_class:="['sensor_msgs/Image']" \
  -p topics_fname:="['image.png']" -p topics_savetype:="['ColorImage']"
ros2 service call /data_collection_server/save_request std_srvs/srv/Trigger

camera_coords_change_trigger.py

Watches the pose of head_mount_kinect_rgb_optical_frame in world through TF and calls the ~trigger service (std_srvs/Trigger, e.g. remapped to data_collection_server’s ~save_request) when the camera has moved by more than ~delta_position / ~delta_orientation and has come to rest (~velocify_position / ~velocify_orientation).

rosbag_always.py (ROS 1)

Keeps recording rosbags even if roscore is restarted, and removes old bag files when the total size of --save-dir exceeds --max-size (in MB).

rosrun jsk_data rosbag_always.py --topics "/tf /joint_states" --size 1000 --save-dir /tmp/rosbag --max-size 10000

See rosbag_always.md and launch/rosbag_always_run_rosbag.launch.

Launch files (ROS 1)

  • launch/<robot>_record.launch (pr2, fetch, baxter, hrp2, urata) – record the robot’s standard topics (TF, joint states, cameras, …) into rosbags through launch/common_record.launch. Extra topics and rosbag record options are given with other_topics / other_options.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_common.git
VCS Type git
VCS Version master
Last Updated 2026-11-18
Dev Status UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.

jsk_data

Data management tools used in JSK lab. The package provides the jsk_data command line interface to upload and download data, a node to save synchronized topics on request (data_collection_server.py), helpers for recording rosbags, and launch files to record and play back rosbags of PR2, Fetch, Baxter, HRP2 and other robots.

ROS 1 / ROS 2

The package builds for both ROS 1 (catkin) and ROS 2 (ament_cmake); CMakeLists.txt branches on $ENV{ROS_VERSION}.

Item ROS 1 ROS 2
jsk_data CLI yes yes
data_collection_server.py yes yes
camera_coords_change_trigger.py yes yes
Python module jsk_data yes yes
rosbag_always.py, robot_description_saver.py, robot_description_loader.py yes -
Shell scripts copy-pr2-bagfiles, decompress, gen-gif-all, gopro-copy-files.sh, hrp2_rosbag_always.sh, drive-linux-x64 (x86_64 only) yes -
bash completion of jsk_data (env-hook) yes -
Launch files in launch/ and sample/ yes -

There are no ROS 2 launch files; use ros2 run jsk_data <exe>.

jsk_data command

jsk_data uploads, downloads and lists data on the lab’s data server; it is designed for JSK lab members. With --public, data is also put on / taken from the public Google Drive folder.

  • jsk_data ls [OPTIONS] [QUERY] – list data on the server.
  • jsk_data get [OPTIONS] FILENAME – download data.
  • jsk_data put [OPTIONS] FILENAME – upload data (--public also uploads to Google Drive, take care with private data).
  • jsk_data delete FILENAME – delete a public file (--public only).
  • jsk_data pubinfo [OPTIONS] FILENAME – show the info of public data.
  • jsk_data pubopen – open the public Google Drive folder in the browser.

See jsk_data <sub command> --help and jsk_data_cli.md.

data_collection_server.py

Saves the latest messages of the given topics (and values of the given parameters) as {SAVE_DIR}/{TIMESTAMP}/{FILENAME} when triggered.

Services:

  • ~save_request (std_srvs/Trigger) – save once (~method: request).
  • ~start_request / ~end_request (std_srvs/Trigger) – start / stop periodic saving (~method: timer).

Main parameters: ~save_dir (default ~/.ros), ~topics, ~params, ~method (request, timer or all), ~message_filters, ~approximate_sync, ~queue_size, ~slop, ~timestamp_save_dir. Save types are ColorImage, DepthImage, LabelImage and YAML for topics, and Text and YAML for parameters. See data_collection_server.rst.

On ROS 1, ~topics / ~params are lists of dicts:

<node name="data_collection_server" pkg="jsk_data" type="data_collection_server.py">
  <rosparam>
    save_dir: ~/.ros/jsk_data
    topics:
      - name: /camera/rgb/image_raw
        msg_class: sensor_msgs/Image
        fname: image.png
        savetype: ColorImage
  </rosparam>
</node>

ROS 2 parameters cannot hold nested structures, so the same table is given as parallel string arrays topics_name, topics_msg_class, topics_fname, topics_savetype (and params_key, params_fname, params_savetype):

ros2 run jsk_data data_collection_server.py --ros-args \
  -p save_dir:=~/.ros/jsk_data \
  -p topics_name:="['/camera/rgb/image_raw']" -p topics_msg_class:="['sensor_msgs/Image']" \
  -p topics_fname:="['image.png']" -p topics_savetype:="['ColorImage']"
ros2 service call /data_collection_server/save_request std_srvs/srv/Trigger

camera_coords_change_trigger.py

Watches the pose of head_mount_kinect_rgb_optical_frame in world through TF and calls the ~trigger service (std_srvs/Trigger, e.g. remapped to data_collection_server’s ~save_request) when the camera has moved by more than ~delta_position / ~delta_orientation and has come to rest (~velocify_position / ~velocify_orientation).

rosbag_always.py (ROS 1)

Keeps recording rosbags even if roscore is restarted, and removes old bag files when the total size of --save-dir exceeds --max-size (in MB).

rosrun jsk_data rosbag_always.py --topics "/tf /joint_states" --size 1000 --save-dir /tmp/rosbag --max-size 10000

See rosbag_always.md and launch/rosbag_always_run_rosbag.launch.

Launch files (ROS 1)

  • launch/<robot>_record.launch (pr2, fetch, baxter, hrp2, urata) – record the robot’s standard topics (TF, joint states, cameras, …) into rosbags through launch/common_record.launch. Extra topics and rosbag record options are given with other_topics / other_options.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_common.git
VCS Type git
VCS Version master
Last Updated 2026-11-18
Dev Status UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.

jsk_data

Data management tools used in JSK lab. The package provides the jsk_data command line interface to upload and download data, a node to save synchronized topics on request (data_collection_server.py), helpers for recording rosbags, and launch files to record and play back rosbags of PR2, Fetch, Baxter, HRP2 and other robots.

ROS 1 / ROS 2

The package builds for both ROS 1 (catkin) and ROS 2 (ament_cmake); CMakeLists.txt branches on $ENV{ROS_VERSION}.

Item ROS 1 ROS 2
jsk_data CLI yes yes
data_collection_server.py yes yes
camera_coords_change_trigger.py yes yes
Python module jsk_data yes yes
rosbag_always.py, robot_description_saver.py, robot_description_loader.py yes -
Shell scripts copy-pr2-bagfiles, decompress, gen-gif-all, gopro-copy-files.sh, hrp2_rosbag_always.sh, drive-linux-x64 (x86_64 only) yes -
bash completion of jsk_data (env-hook) yes -
Launch files in launch/ and sample/ yes -

There are no ROS 2 launch files; use ros2 run jsk_data <exe>.

jsk_data command

jsk_data uploads, downloads and lists data on the lab’s data server; it is designed for JSK lab members. With --public, data is also put on / taken from the public Google Drive folder.

  • jsk_data ls [OPTIONS] [QUERY] – list data on the server.
  • jsk_data get [OPTIONS] FILENAME – download data.
  • jsk_data put [OPTIONS] FILENAME – upload data (--public also uploads to Google Drive, take care with private data).
  • jsk_data delete FILENAME – delete a public file (--public only).
  • jsk_data pubinfo [OPTIONS] FILENAME – show the info of public data.
  • jsk_data pubopen – open the public Google Drive folder in the browser.

See jsk_data <sub command> --help and jsk_data_cli.md.

data_collection_server.py

Saves the latest messages of the given topics (and values of the given parameters) as {SAVE_DIR}/{TIMESTAMP}/{FILENAME} when triggered.

Services:

  • ~save_request (std_srvs/Trigger) – save once (~method: request).
  • ~start_request / ~end_request (std_srvs/Trigger) – start / stop periodic saving (~method: timer).

Main parameters: ~save_dir (default ~/.ros), ~topics, ~params, ~method (request, timer or all), ~message_filters, ~approximate_sync, ~queue_size, ~slop, ~timestamp_save_dir. Save types are ColorImage, DepthImage, LabelImage and YAML for topics, and Text and YAML for parameters. See data_collection_server.rst.

On ROS 1, ~topics / ~params are lists of dicts:

<node name="data_collection_server" pkg="jsk_data" type="data_collection_server.py">
  <rosparam>
    save_dir: ~/.ros/jsk_data
    topics:
      - name: /camera/rgb/image_raw
        msg_class: sensor_msgs/Image
        fname: image.png
        savetype: ColorImage
  </rosparam>
</node>

ROS 2 parameters cannot hold nested structures, so the same table is given as parallel string arrays topics_name, topics_msg_class, topics_fname, topics_savetype (and params_key, params_fname, params_savetype):

ros2 run jsk_data data_collection_server.py --ros-args \
  -p save_dir:=~/.ros/jsk_data \
  -p topics_name:="['/camera/rgb/image_raw']" -p topics_msg_class:="['sensor_msgs/Image']" \
  -p topics_fname:="['image.png']" -p topics_savetype:="['ColorImage']"
ros2 service call /data_collection_server/save_request std_srvs/srv/Trigger

camera_coords_change_trigger.py

Watches the pose of head_mount_kinect_rgb_optical_frame in world through TF and calls the ~trigger service (std_srvs/Trigger, e.g. remapped to data_collection_server’s ~save_request) when the camera has moved by more than ~delta_position / ~delta_orientation and has come to rest (~velocify_position / ~velocify_orientation).

rosbag_always.py (ROS 1)

Keeps recording rosbags even if roscore is restarted, and removes old bag files when the total size of --save-dir exceeds --max-size (in MB).

rosrun jsk_data rosbag_always.py --topics "/tf /joint_states" --size 1000 --save-dir /tmp/rosbag --max-size 10000

See rosbag_always.md and launch/rosbag_always_run_rosbag.launch.

Launch files (ROS 1)

  • launch/<robot>_record.launch (pr2, fetch, baxter, hrp2, urata) – record the robot’s standard topics (TF, joint states, cameras, …) into rosbags through launch/common_record.launch. Extra topics and rosbag record options are given with other_topics / other_options.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_common.git
VCS Type git
VCS Version master
Last Updated 2026-11-18
Dev Status UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.

jsk_data

Data management tools used in JSK lab. The package provides the jsk_data command line interface to upload and download data, a node to save synchronized topics on request (data_collection_server.py), helpers for recording rosbags, and launch files to record and play back rosbags of PR2, Fetch, Baxter, HRP2 and other robots.

ROS 1 / ROS 2

The package builds for both ROS 1 (catkin) and ROS 2 (ament_cmake); CMakeLists.txt branches on $ENV{ROS_VERSION}.

Item ROS 1 ROS 2
jsk_data CLI yes yes
data_collection_server.py yes yes
camera_coords_change_trigger.py yes yes
Python module jsk_data yes yes
rosbag_always.py, robot_description_saver.py, robot_description_loader.py yes -
Shell scripts copy-pr2-bagfiles, decompress, gen-gif-all, gopro-copy-files.sh, hrp2_rosbag_always.sh, drive-linux-x64 (x86_64 only) yes -
bash completion of jsk_data (env-hook) yes -
Launch files in launch/ and sample/ yes -

There are no ROS 2 launch files; use ros2 run jsk_data <exe>.

jsk_data command

jsk_data uploads, downloads and lists data on the lab’s data server; it is designed for JSK lab members. With --public, data is also put on / taken from the public Google Drive folder.

  • jsk_data ls [OPTIONS] [QUERY] – list data on the server.
  • jsk_data get [OPTIONS] FILENAME – download data.
  • jsk_data put [OPTIONS] FILENAME – upload data (--public also uploads to Google Drive, take care with private data).
  • jsk_data delete FILENAME – delete a public file (--public only).
  • jsk_data pubinfo [OPTIONS] FILENAME – show the info of public data.
  • jsk_data pubopen – open the public Google Drive folder in the browser.

See jsk_data <sub command> --help and jsk_data_cli.md.

data_collection_server.py

Saves the latest messages of the given topics (and values of the given parameters) as {SAVE_DIR}/{TIMESTAMP}/{FILENAME} when triggered.

Services:

  • ~save_request (std_srvs/Trigger) – save once (~method: request).
  • ~start_request / ~end_request (std_srvs/Trigger) – start / stop periodic saving (~method: timer).

Main parameters: ~save_dir (default ~/.ros), ~topics, ~params, ~method (request, timer or all), ~message_filters, ~approximate_sync, ~queue_size, ~slop, ~timestamp_save_dir. Save types are ColorImage, DepthImage, LabelImage and YAML for topics, and Text and YAML for parameters. See data_collection_server.rst.

On ROS 1, ~topics / ~params are lists of dicts:

<node name="data_collection_server" pkg="jsk_data" type="data_collection_server.py">
  <rosparam>
    save_dir: ~/.ros/jsk_data
    topics:
      - name: /camera/rgb/image_raw
        msg_class: sensor_msgs/Image
        fname: image.png
        savetype: ColorImage
  </rosparam>
</node>

ROS 2 parameters cannot hold nested structures, so the same table is given as parallel string arrays topics_name, topics_msg_class, topics_fname, topics_savetype (and params_key, params_fname, params_savetype):

ros2 run jsk_data data_collection_server.py --ros-args \
  -p save_dir:=~/.ros/jsk_data \
  -p topics_name:="['/camera/rgb/image_raw']" -p topics_msg_class:="['sensor_msgs/Image']" \
  -p topics_fname:="['image.png']" -p topics_savetype:="['ColorImage']"
ros2 service call /data_collection_server/save_request std_srvs/srv/Trigger

camera_coords_change_trigger.py

Watches the pose of head_mount_kinect_rgb_optical_frame in world through TF and calls the ~trigger service (std_srvs/Trigger, e.g. remapped to data_collection_server’s ~save_request) when the camera has moved by more than ~delta_position / ~delta_orientation and has come to rest (~velocify_position / ~velocify_orientation).

rosbag_always.py (ROS 1)

Keeps recording rosbags even if roscore is restarted, and removes old bag files when the total size of --save-dir exceeds --max-size (in MB).

rosrun jsk_data rosbag_always.py --topics "/tf /joint_states" --size 1000 --save-dir /tmp/rosbag --max-size 10000

See rosbag_always.md and launch/rosbag_always_run_rosbag.launch.

Launch files (ROS 1)

  • launch/<robot>_record.launch (pr2, fetch, baxter, hrp2, urata) – record the robot’s standard topics (TF, joint states, cameras, …) into rosbags through launch/common_record.launch. Extra topics and rosbag record options are given with other_topics / other_options.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange

Package Summary

Version 3.0.5
License BSD-3-Clause
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_common.git
VCS Type git
VCS Version master
Last Updated 2026-11-18
Dev Status UNMAINTAINED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The jsk_data package

Maintainers

  • Ryohei Ueda
  • Kentaro Wada

Authors

No additional authors.

jsk_data

Data management tools used in JSK lab. The package provides the jsk_data command line interface to upload and download data, a node to save synchronized topics on request (data_collection_server.py), helpers for recording rosbags, and launch files to record and play back rosbags of PR2, Fetch, Baxter, HRP2 and other robots.

ROS 1 / ROS 2

The package builds for both ROS 1 (catkin) and ROS 2 (ament_cmake); CMakeLists.txt branches on $ENV{ROS_VERSION}.

Item ROS 1 ROS 2
jsk_data CLI yes yes
data_collection_server.py yes yes
camera_coords_change_trigger.py yes yes
Python module jsk_data yes yes
rosbag_always.py, robot_description_saver.py, robot_description_loader.py yes -
Shell scripts copy-pr2-bagfiles, decompress, gen-gif-all, gopro-copy-files.sh, hrp2_rosbag_always.sh, drive-linux-x64 (x86_64 only) yes -
bash completion of jsk_data (env-hook) yes -
Launch files in launch/ and sample/ yes -

There are no ROS 2 launch files; use ros2 run jsk_data <exe>.

jsk_data command

jsk_data uploads, downloads and lists data on the lab’s data server; it is designed for JSK lab members. With --public, data is also put on / taken from the public Google Drive folder.

  • jsk_data ls [OPTIONS] [QUERY] – list data on the server.
  • jsk_data get [OPTIONS] FILENAME – download data.
  • jsk_data put [OPTIONS] FILENAME – upload data (--public also uploads to Google Drive, take care with private data).
  • jsk_data delete FILENAME – delete a public file (--public only).
  • jsk_data pubinfo [OPTIONS] FILENAME – show the info of public data.
  • jsk_data pubopen – open the public Google Drive folder in the browser.

See jsk_data <sub command> --help and jsk_data_cli.md.

data_collection_server.py

Saves the latest messages of the given topics (and values of the given parameters) as {SAVE_DIR}/{TIMESTAMP}/{FILENAME} when triggered.

Services:

  • ~save_request (std_srvs/Trigger) – save once (~method: request).
  • ~start_request / ~end_request (std_srvs/Trigger) – start / stop periodic saving (~method: timer).

Main parameters: ~save_dir (default ~/.ros), ~topics, ~params, ~method (request, timer or all), ~message_filters, ~approximate_sync, ~queue_size, ~slop, ~timestamp_save_dir. Save types are ColorImage, DepthImage, LabelImage and YAML for topics, and Text and YAML for parameters. See data_collection_server.rst.

On ROS 1, ~topics / ~params are lists of dicts:

<node name="data_collection_server" pkg="jsk_data" type="data_collection_server.py">
  <rosparam>
    save_dir: ~/.ros/jsk_data
    topics:
      - name: /camera/rgb/image_raw
        msg_class: sensor_msgs/Image
        fname: image.png
        savetype: ColorImage
  </rosparam>
</node>

ROS 2 parameters cannot hold nested structures, so the same table is given as parallel string arrays topics_name, topics_msg_class, topics_fname, topics_savetype (and params_key, params_fname, params_savetype):

ros2 run jsk_data data_collection_server.py --ros-args \
  -p save_dir:=~/.ros/jsk_data \
  -p topics_name:="['/camera/rgb/image_raw']" -p topics_msg_class:="['sensor_msgs/Image']" \
  -p topics_fname:="['image.png']" -p topics_savetype:="['ColorImage']"
ros2 service call /data_collection_server/save_request std_srvs/srv/Trigger

camera_coords_change_trigger.py

Watches the pose of head_mount_kinect_rgb_optical_frame in world through TF and calls the ~trigger service (std_srvs/Trigger, e.g. remapped to data_collection_server’s ~save_request) when the camera has moved by more than ~delta_position / ~delta_orientation and has come to rest (~velocify_position / ~velocify_orientation).

rosbag_always.py (ROS 1)

Keeps recording rosbags even if roscore is restarted, and removes old bag files when the total size of --save-dir exceeds --max-size (in MB).

rosrun jsk_data rosbag_always.py --topics "/tf /joint_states" --size 1000 --save-dir /tmp/rosbag --max-size 10000

See rosbag_always.md and launch/rosbag_always_run_rosbag.launch.

Launch files (ROS 1)

  • launch/<robot>_record.launch (pr2, fetch, baxter, hrp2, urata) – record the robot’s standard topics (TF, joint states, cameras, …) into rosbags through launch/common_record.launch. Extra topics and rosbag record options are given with other_topics / other_options.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package jsk_data

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)

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

  • 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>>

  • Merge pull request #1833 from k-okada/release-3.0.2 3.0.2

  • Contributors: Kei Okada

3.0.2 (2026-11-02)

  • Merge pull request #1831 from k-okada/ros2-compat-fixes [jsk_ros1_ros2_compat] fix queue_size/shutdown/throttle; add init_node/spin, latch, actionlib, reconfigure, uv venv helpers

  • [jsk_data] make download_data usable on ROS2 Import the ROS1-only rosbag (only for compressed_bags) and rospkg lazily, so jsk_data.download_data can be imported on ROS2, and resolve a relative path with ament_index there (the installed share directory; pass an absolute path while the package itself is being built). wget is needed on ROS2 too. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>

  • [jsk_ros1_ros2_compat, jsk_tools, jsk_data] fix queue_size/shutdown handling, add missing helpers

    - create_subscription(): ROS1 silently dropped queue_size, so e.g. audible_warning.py's queue_size=1 subscribers became unbounded. Pass it through, and default to None so each side keeps its own default (unbounded for rospy, depth 1 for rclpy). battery_capacity_summary.py and data_collection_server.py passed 1 only because of the old default; drop it so their ROS1 queues stay unbounded as before.

    - spin_and_shutdown(): rclpy's signal handlers raise ExternalShutdownException (not KeyboardInterrupt) out of spin() on SIGINT/SIGTERM, which printed a traceback and exited with 1. Treat it as a normal exit, and use rclpy.try_shutdown().

    - add logfatal(), log{info,warn,err}_throttle(), get_name() and signal_shutdown(), which ROS2-ported packages in jsk_3rdparty otherwise each had to define themselves. Co-Authored-By: Claude Opus

File truncated at 100 lines see the full file

Launch files

  • launch/baxter_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
  • launch/baxter_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni [default: true]
      • save_robot_model [default: false]
      • save_baxter_model [default: true]
      • save_all_image [default: true]
      • save_all_button [default: true]
      • save_hand_range [default: true]
      • camera_namespace [default: openni]
      • save_dir [default: /tmp/bagfile/]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
  • launch/common_record.launch
      • other_topics [default: ]
      • other_regex_topics [default: ]
      • other_options [default: ]
      • machine [default: localhost]
      • save_openni [default: true]
      • save_openni2 [default: false]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_multisense [default: false]
      • camera_namespace [default: openni]
      • save_dir
      • bagfile_prefix
  • launch/fetch_play.launch
      • bagfile_names
      • launch_openni2 [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock --loop]
      • use_xterm [default: false]
  • launch/fetch_record.launch
      • save_dir [default: /tmp/fetch_rosbag]
      • bagfile_prefix [default: data]
      • other_topics [default: ]
      • other_options [default: ]
      • save_openni2 [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • camera_namespace [default: head_camera]
      • machine [default: localhost]
  • launch/hrp2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: false]
      • launch_multisense [default: true]
      • launch_robot_model [default: true]
      • use_collada_model [default: false]
      • use_gui [default: false]
      • rosbag_option [default: --clock -l]
      • use_xterm [default: false]
      • ROBOT [default: $(env ROBOT)]
  • launch/hrp2_record.launch
      • save_dir [default: /tmp/hrp2_rosbag]
      • bagfile_prefix [default: data]
      • camera_namespace [default: camera]
      • save_openni [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: false]
      • save_multisense [default: false]
      • other_topics [default: ]
      • machine [default: localhost]
  • launch/kinect2_bridge_play.launch
      • ns [default: /kinect2/hd]
  • launch/multisense_play.launch
      • INPUT
      • play_rosbag [default: true]
      • use_depth_image_proc [default: true]
      • namespace [default: multisense]
      • fixed_frame_id [default: head_root]
      • not_use_sensor_tf_prefix [default: false]
      • use_resize [default: true]
      • run_laser_pipeline [default: false]
  • launch/point_cloud_reconstruction_from_multisense.launch
      • MANAGER [default: stereo_manager]
      • CREATE_MANAGER [default: true]
  • launch/pr2_play.launch
      • bagfile_names [default: tmp.bag]
      • launch_openni [default: true]
      • launch_robot_model [default: true]
      • use_gui [default: false]
      • rosbag_option [default: --clock]
      • use_xterm [default: false]
      • use_tf2_buffer_server [default: true]
      • camera [default: kinect_head]
  • launch/pr2_record.launch
      • other_topics [default: ]
      • other_options [default: ]
      • machine [default: c1]
      • save_openni [default: true]
      • save_tilt_scan [default: true]
      • save_base_scan [default: true]
      • save_robot_model [default: true]
      • save_all_image [default: true]
      • save_pressure [default: true]
      • save_gripper_command [default: true]
      • save_prosilica [default: false]
      • camera_namespace [default: openni]
      • save_dir [default: /removable/bagfile/]
      • bagfile_prefix [default: data]
      • remove_c2 [default: true]
  • launch/rosbag-old-posedetection.launch
  • launch/rosbag-robot-publisher.launch
  • launch/rosbag_always_run_rosbag.launch
      • TOPICS
      • SIZE
      • OUTPUT
  • launch/template_pr2_record.launch
      • save_gripper_command [default: true]
  • launch/urata_record.launch
      • save_multisense_local [default: true]
      • other_topics [default: ]
      • other_options [default: --split --duration 2m]
      • save_dir [default: $(env HOME)/.ros/urata_record]
      • bagfile_prefix [default: data]
      • machine [default: localhost]
      • urata_topics [default: /imu /act_contact_states /ref_contact_states /odom /off_lfsensor /off_rfsensor /off_lhsensor /off_rhsensor /lfsensor /rfsensor /lhsensor /rhsensor /motor_states_low/board_vin]
  • rvizconfig/upload_pr2_calibrated.launch
  • sample/sample_data_collection_server.launch

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged jsk_data at Robotics Stack Exchange