|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
jsk_topic_tools
Utilities to relay, throttle, filter, buffer and inspect ROS topics.
The package provides a set of nodelets (lazy relays and throttles, mux, passthrough, Hz measurement, …),
Python nodes and command line tools, and base classes for writing nodes that subscribe to their inputs
only while their outputs are subscribed (ConnectionBasedNodelet, DiagnosticNodelet in C++,
ConnectionBasedTransport in Python, and ConnectionBasedLifecycleNode on ROS 2).
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 |
|---|---|---|
Nodelets jsk_topic_tools/{ConstantRateThrottle, LightweightThrottle, MUX, Relay, DeprecatedRelay, StealthRelay, Passthrough, Block, Snapshot, HzMeasure, VitalCheckerNodelet, StringRelay, SynchronizedThrottle} (also as standalone executables constant_rate_throttle, lightweight_throttle, mux, relay, deprecated_relay, stealth_relay, passthrough, block, snapshot, hz_measure, vital_checker, string_relay, synchronized_throttle) |
yes | - |
standalone_complexed_nodelet, topic_buffer_server, topic_buffer_client
|
yes | - |
transform_merger, static_transform_pose_stamped
|
yes | yes |
C++ library jsk_topic_tools (ConnectionBasedNodelet, DiagnosticNodelet, utilities) |
yes | - |
C++ library connection_based_lifecycle_node (ConnectionBasedLifecycleNode) |
- | yes |
Component jsk_topic_tools::StringRelayLifecycleNode (executable string_relay_lifecycle_node) |
- | yes |
Python module jsk_topic_tools
|
yes | yes |
array_to_heatmap.py, filtered_relay.py
|
yes | yes |
Other scripts (boolean_node.py, is_synchronized, rostopic_connection_list, synchronize_republish.py, static_tf_republisher.py, tf_to_pose.py, tf_to_transform.py, transform_wrench.py, pose_stamped_publisher.py, static_image_publisher.py, joint_state_pruner.py, topic_compare.py, topic_statistics.py, rosping_existence.py, bag2csv.py) |
yes | - |
Launch files in launch/ and sample/
|
yes | - |
There are no ROS 2 launch files; run the ROS 2 executables with ros2 run jsk_topic_tools <exe>.
Nodelets (ROS 1)
All nodelets subscribe ~input and publish ~output unless noted. Most of them are lazy:
they subscribe ~input only while ~output has subscribers.
-
LightweightThrottle – like
topic_tools/throttle, but subscribes the input only when the throttled topic is subscribed. Parameter~update_rate(default1.0Hz). doc -
ConstantRateThrottle – same interface as
LightweightThrottle, but publishes at an accurate constant rate (re-publishing the buffered message if~update_rateis higher than the input rate). doc -
SynchronizedThrottle – throttles several topics (
~topics, up to 8) synchronously and advertises them with~suffix(defaultthrottled). Parameters~update_rate,~approximate_sync,~use_wall_time, … doc -
Relay – like
topic_tools/relay, with lazy mode and~latch;~always_subscribedisables the lazy mode. doc -
StealthRelay – relays
~inputonly while~monitor_topic(default:~input) is subscribed by other nodes; it counts the subscribers of~monitor_topicwithout itself, while its own subscription of~inputis a normal one. doc -
Passthrough – relays only for a given duration. Services
~request,~stop(std_srvs/Empty) and~request_duration(jsk_topic_tools/PassthroughDuration); parameter~default_duration(default10.0s). doc -
HzMeasure – publishes the rate of
~inputasstd_msgs/Float32on~outputand a diagnostic status. Parameters~measure_time,~message_num,~warning_hz. doc -
VitalCheckerNodelet – checks whether
~inputis alive and publishes the status to/diagnostics. -
MUX – nodelet version of
topic_tools/mux: relays the selected one of~topicsto~output; services~select,~add,~delete,~list_topics, and the name of the selected topic is published on~selected(std_msgs/String). -
Block – makes a chain of non-lazy nodes lazy: relays
~inputto~input_originaland~output_originalto~output, subscribing only while~outputis subscribed (checked at~check_rate). -
Snapshot – publishes a single
~inputmessage to~outputeach time the~requestservice (std_srvs/Empty) is called. -
StringRelay, DeprecatedRelay –
std_msgs/Stringrelay, and a relay that warns that the topic is deprecated.
standalone_complexed_nodelet is a nodelet manager that loads the nodelets listed in the ~nodelets (and ~nodelets_0 … ~nodelets_99)
parameters itself, avoiding the unreliable bond between manager and loader processes.
See standalone_complexed_nodelet.rst and
sample/standalone_complexed_nodelet/simple.launch.
Nodes and scripts
-
filtered_relay.py (ROS 1 / ROS 2) – relays
~inputto~outputonly when the Python expression~filterholds, optionally transforming it with~transform.~output_typeis required. doc -
array_to_heatmap.py (ROS 1 / ROS 2) – converts a numeric
std_msgs/*MultiArrayor single-channelsensor_msgs/Imageinto a coloredbgr8heatmap image. Parameters~cell_size,~colormap,~min_value,~max_value, … doc -
transform_merger (ROS 1 / ROS 2) – subscribes
/tf, keeps the latest transform per child frame and publishes them together on/tf_mergedat~loop_hz(default1.0). Thetransform_config/ignore_tflist is ROS 1 only. -
static_transform_pose_stamped (ROS 1 / ROS 2) –
static_transform_pose_stamped x y z yaw pitch roll from_topic to_topicapplies a fixed offset to everygeometry_msgs/PoseStampedonfrom_topicand publishes it onto_topic. -
string_relay_lifecycle_node (ROS 2) – example of
ConnectionBasedLifecycleNode: relaysstd_msgs/Stringfrom~/inputto~/output, subscribing only while~/outputis subscribed (parametersalways_subscribe,verbose_connection). -
topic_buffer_server / topic_buffer_client (ROS 1) – buffer topics over a slow network: the client republishes the
server’s topics with the
_bufferedsuffix, either periodically (~update_rate,~fixed_rate) or on request via theupdateservice. -
boolean_node.py –
or/and/not/xorof several boolean inputs. doc -
synchronize_republish.py – republishes
~topicswith exact/approximate synchronization. doc - is_synchronized – checks whether the given topics are synchronized. doc
- rostopic_connection_list – lists topic connections between hosts. doc
-
static_tf_republisher.py – republishes
/tf_staticrecorded in a rosbag. doc -
tf_to_pose.py, tf_to_transform.py – publish a transform between two frames as
PoseStamped/TransformStamped. (tf_to_pose, tf_to_transform) -
transform_wrench.py – transforms a
WrenchStampedinto~target_frame_id. doc -
pose_stamped_publisher.py – publishes a static
PoseStamped. doc
Base classes
-
jsk_topic_tools::ConnectionBasedNodelet(C++, ROS 1) – subscribes inputs only while outputs are subscribed; subclasses must callonInitPostProcess()at the end ofonInit(). Being superseded bynodelet_topic_tools::NodeletLazy. doc -
jsk_topic_tools::DiagnosticNodelet(C++, ROS 1) –ConnectionBasedNodeletthat also publishes diagnostics (~vital_rate,~use_warn). doc -
jsk_topic_tools.ConnectionBasedTransport(Python, ROS 1) – the same pattern for rospy nodes; implementsubscribe()/unsubscribe()and create publishers withself.advertise(). doc, example sample/simple_image_transport.py -
jsk_topic_tools::ConnectionBasedLifecycleNode(C++, ROS 2) –rclcpp_lifecycle::LifecycleNodewith the same lazy subscription behavior; see src/string_relay_lifecycle_node.cpp for a minimal subclass.
Usage
ROS 1:
```bash
File truncated at 100 lines see the full file
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
jsk_topic_tools
Utilities to relay, throttle, filter, buffer and inspect ROS topics.
The package provides a set of nodelets (lazy relays and throttles, mux, passthrough, Hz measurement, …),
Python nodes and command line tools, and base classes for writing nodes that subscribe to their inputs
only while their outputs are subscribed (ConnectionBasedNodelet, DiagnosticNodelet in C++,
ConnectionBasedTransport in Python, and ConnectionBasedLifecycleNode on ROS 2).
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 |
|---|---|---|
Nodelets jsk_topic_tools/{ConstantRateThrottle, LightweightThrottle, MUX, Relay, DeprecatedRelay, StealthRelay, Passthrough, Block, Snapshot, HzMeasure, VitalCheckerNodelet, StringRelay, SynchronizedThrottle} (also as standalone executables constant_rate_throttle, lightweight_throttle, mux, relay, deprecated_relay, stealth_relay, passthrough, block, snapshot, hz_measure, vital_checker, string_relay, synchronized_throttle) |
yes | - |
standalone_complexed_nodelet, topic_buffer_server, topic_buffer_client
|
yes | - |
transform_merger, static_transform_pose_stamped
|
yes | yes |
C++ library jsk_topic_tools (ConnectionBasedNodelet, DiagnosticNodelet, utilities) |
yes | - |
C++ library connection_based_lifecycle_node (ConnectionBasedLifecycleNode) |
- | yes |
Component jsk_topic_tools::StringRelayLifecycleNode (executable string_relay_lifecycle_node) |
- | yes |
Python module jsk_topic_tools
|
yes | yes |
array_to_heatmap.py, filtered_relay.py
|
yes | yes |
Other scripts (boolean_node.py, is_synchronized, rostopic_connection_list, synchronize_republish.py, static_tf_republisher.py, tf_to_pose.py, tf_to_transform.py, transform_wrench.py, pose_stamped_publisher.py, static_image_publisher.py, joint_state_pruner.py, topic_compare.py, topic_statistics.py, rosping_existence.py, bag2csv.py) |
yes | - |
Launch files in launch/ and sample/
|
yes | - |
There are no ROS 2 launch files; run the ROS 2 executables with ros2 run jsk_topic_tools <exe>.
Nodelets (ROS 1)
All nodelets subscribe ~input and publish ~output unless noted. Most of them are lazy:
they subscribe ~input only while ~output has subscribers.
-
LightweightThrottle – like
topic_tools/throttle, but subscribes the input only when the throttled topic is subscribed. Parameter~update_rate(default1.0Hz). doc -
ConstantRateThrottle – same interface as
LightweightThrottle, but publishes at an accurate constant rate (re-publishing the buffered message if~update_rateis higher than the input rate). doc -
SynchronizedThrottle – throttles several topics (
~topics, up to 8) synchronously and advertises them with~suffix(defaultthrottled). Parameters~update_rate,~approximate_sync,~use_wall_time, … doc -
Relay – like
topic_tools/relay, with lazy mode and~latch;~always_subscribedisables the lazy mode. doc -
StealthRelay – relays
~inputonly while~monitor_topic(default:~input) is subscribed by other nodes; it counts the subscribers of~monitor_topicwithout itself, while its own subscription of~inputis a normal one. doc -
Passthrough – relays only for a given duration. Services
~request,~stop(std_srvs/Empty) and~request_duration(jsk_topic_tools/PassthroughDuration); parameter~default_duration(default10.0s). doc -
HzMeasure – publishes the rate of
~inputasstd_msgs/Float32on~outputand a diagnostic status. Parameters~measure_time,~message_num,~warning_hz. doc -
VitalCheckerNodelet – checks whether
~inputis alive and publishes the status to/diagnostics. -
MUX – nodelet version of
topic_tools/mux: relays the selected one of~topicsto~output; services~select,~add,~delete,~list_topics, and the name of the selected topic is published on~selected(std_msgs/String). -
Block – makes a chain of non-lazy nodes lazy: relays
~inputto~input_originaland~output_originalto~output, subscribing only while~outputis subscribed (checked at~check_rate). -
Snapshot – publishes a single
~inputmessage to~outputeach time the~requestservice (std_srvs/Empty) is called. -
StringRelay, DeprecatedRelay –
std_msgs/Stringrelay, and a relay that warns that the topic is deprecated.
standalone_complexed_nodelet is a nodelet manager that loads the nodelets listed in the ~nodelets (and ~nodelets_0 … ~nodelets_99)
parameters itself, avoiding the unreliable bond between manager and loader processes.
See standalone_complexed_nodelet.rst and
sample/standalone_complexed_nodelet/simple.launch.
Nodes and scripts
-
filtered_relay.py (ROS 1 / ROS 2) – relays
~inputto~outputonly when the Python expression~filterholds, optionally transforming it with~transform.~output_typeis required. doc -
array_to_heatmap.py (ROS 1 / ROS 2) – converts a numeric
std_msgs/*MultiArrayor single-channelsensor_msgs/Imageinto a coloredbgr8heatmap image. Parameters~cell_size,~colormap,~min_value,~max_value, … doc -
transform_merger (ROS 1 / ROS 2) – subscribes
/tf, keeps the latest transform per child frame and publishes them together on/tf_mergedat~loop_hz(default1.0). Thetransform_config/ignore_tflist is ROS 1 only. -
static_transform_pose_stamped (ROS 1 / ROS 2) –
static_transform_pose_stamped x y z yaw pitch roll from_topic to_topicapplies a fixed offset to everygeometry_msgs/PoseStampedonfrom_topicand publishes it onto_topic. -
string_relay_lifecycle_node (ROS 2) – example of
ConnectionBasedLifecycleNode: relaysstd_msgs/Stringfrom~/inputto~/output, subscribing only while~/outputis subscribed (parametersalways_subscribe,verbose_connection). -
topic_buffer_server / topic_buffer_client (ROS 1) – buffer topics over a slow network: the client republishes the
server’s topics with the
_bufferedsuffix, either periodically (~update_rate,~fixed_rate) or on request via theupdateservice. -
boolean_node.py –
or/and/not/xorof several boolean inputs. doc -
synchronize_republish.py – republishes
~topicswith exact/approximate synchronization. doc - is_synchronized – checks whether the given topics are synchronized. doc
- rostopic_connection_list – lists topic connections between hosts. doc
-
static_tf_republisher.py – republishes
/tf_staticrecorded in a rosbag. doc -
tf_to_pose.py, tf_to_transform.py – publish a transform between two frames as
PoseStamped/TransformStamped. (tf_to_pose, tf_to_transform) -
transform_wrench.py – transforms a
WrenchStampedinto~target_frame_id. doc -
pose_stamped_publisher.py – publishes a static
PoseStamped. doc
Base classes
-
jsk_topic_tools::ConnectionBasedNodelet(C++, ROS 1) – subscribes inputs only while outputs are subscribed; subclasses must callonInitPostProcess()at the end ofonInit(). Being superseded bynodelet_topic_tools::NodeletLazy. doc -
jsk_topic_tools::DiagnosticNodelet(C++, ROS 1) –ConnectionBasedNodeletthat also publishes diagnostics (~vital_rate,~use_warn). doc -
jsk_topic_tools.ConnectionBasedTransport(Python, ROS 1) – the same pattern for rospy nodes; implementsubscribe()/unsubscribe()and create publishers withself.advertise(). doc, example sample/simple_image_transport.py -
jsk_topic_tools::ConnectionBasedLifecycleNode(C++, ROS 2) –rclcpp_lifecycle::LifecycleNodewith the same lazy subscription behavior; see src/string_relay_lifecycle_node.cpp for a minimal subclass.
Usage
ROS 1:
```bash
File truncated at 100 lines see the full file
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| jsk_common | |
| jsk_data | |
| jsk_rosbag_tools | |
| jsk_tools |
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
jsk_topic_tools
Utilities to relay, throttle, filter, buffer and inspect ROS topics.
The package provides a set of nodelets (lazy relays and throttles, mux, passthrough, Hz measurement, …),
Python nodes and command line tools, and base classes for writing nodes that subscribe to their inputs
only while their outputs are subscribed (ConnectionBasedNodelet, DiagnosticNodelet in C++,
ConnectionBasedTransport in Python, and ConnectionBasedLifecycleNode on ROS 2).
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 |
|---|---|---|
Nodelets jsk_topic_tools/{ConstantRateThrottle, LightweightThrottle, MUX, Relay, DeprecatedRelay, StealthRelay, Passthrough, Block, Snapshot, HzMeasure, VitalCheckerNodelet, StringRelay, SynchronizedThrottle} (also as standalone executables constant_rate_throttle, lightweight_throttle, mux, relay, deprecated_relay, stealth_relay, passthrough, block, snapshot, hz_measure, vital_checker, string_relay, synchronized_throttle) |
yes | - |
standalone_complexed_nodelet, topic_buffer_server, topic_buffer_client
|
yes | - |
transform_merger, static_transform_pose_stamped
|
yes | yes |
C++ library jsk_topic_tools (ConnectionBasedNodelet, DiagnosticNodelet, utilities) |
yes | - |
C++ library connection_based_lifecycle_node (ConnectionBasedLifecycleNode) |
- | yes |
Component jsk_topic_tools::StringRelayLifecycleNode (executable string_relay_lifecycle_node) |
- | yes |
Python module jsk_topic_tools
|
yes | yes |
array_to_heatmap.py, filtered_relay.py
|
yes | yes |
Other scripts (boolean_node.py, is_synchronized, rostopic_connection_list, synchronize_republish.py, static_tf_republisher.py, tf_to_pose.py, tf_to_transform.py, transform_wrench.py, pose_stamped_publisher.py, static_image_publisher.py, joint_state_pruner.py, topic_compare.py, topic_statistics.py, rosping_existence.py, bag2csv.py) |
yes | - |
Launch files in launch/ and sample/
|
yes | - |
There are no ROS 2 launch files; run the ROS 2 executables with ros2 run jsk_topic_tools <exe>.
Nodelets (ROS 1)
All nodelets subscribe ~input and publish ~output unless noted. Most of them are lazy:
they subscribe ~input only while ~output has subscribers.
-
LightweightThrottle – like
topic_tools/throttle, but subscribes the input only when the throttled topic is subscribed. Parameter~update_rate(default1.0Hz). doc -
ConstantRateThrottle – same interface as
LightweightThrottle, but publishes at an accurate constant rate (re-publishing the buffered message if~update_rateis higher than the input rate). doc -
SynchronizedThrottle – throttles several topics (
~topics, up to 8) synchronously and advertises them with~suffix(defaultthrottled). Parameters~update_rate,~approximate_sync,~use_wall_time, … doc -
Relay – like
topic_tools/relay, with lazy mode and~latch;~always_subscribedisables the lazy mode. doc -
StealthRelay – relays
~inputonly while~monitor_topic(default:~input) is subscribed by other nodes; it counts the subscribers of~monitor_topicwithout itself, while its own subscription of~inputis a normal one. doc -
Passthrough – relays only for a given duration. Services
~request,~stop(std_srvs/Empty) and~request_duration(jsk_topic_tools/PassthroughDuration); parameter~default_duration(default10.0s). doc -
HzMeasure – publishes the rate of
~inputasstd_msgs/Float32on~outputand a diagnostic status. Parameters~measure_time,~message_num,~warning_hz. doc -
VitalCheckerNodelet – checks whether
~inputis alive and publishes the status to/diagnostics. -
MUX – nodelet version of
topic_tools/mux: relays the selected one of~topicsto~output; services~select,~add,~delete,~list_topics, and the name of the selected topic is published on~selected(std_msgs/String). -
Block – makes a chain of non-lazy nodes lazy: relays
~inputto~input_originaland~output_originalto~output, subscribing only while~outputis subscribed (checked at~check_rate). -
Snapshot – publishes a single
~inputmessage to~outputeach time the~requestservice (std_srvs/Empty) is called. -
StringRelay, DeprecatedRelay –
std_msgs/Stringrelay, and a relay that warns that the topic is deprecated.
standalone_complexed_nodelet is a nodelet manager that loads the nodelets listed in the ~nodelets (and ~nodelets_0 … ~nodelets_99)
parameters itself, avoiding the unreliable bond between manager and loader processes.
See standalone_complexed_nodelet.rst and
sample/standalone_complexed_nodelet/simple.launch.
Nodes and scripts
-
filtered_relay.py (ROS 1 / ROS 2) – relays
~inputto~outputonly when the Python expression~filterholds, optionally transforming it with~transform.~output_typeis required. doc -
array_to_heatmap.py (ROS 1 / ROS 2) – converts a numeric
std_msgs/*MultiArrayor single-channelsensor_msgs/Imageinto a coloredbgr8heatmap image. Parameters~cell_size,~colormap,~min_value,~max_value, … doc -
transform_merger (ROS 1 / ROS 2) – subscribes
/tf, keeps the latest transform per child frame and publishes them together on/tf_mergedat~loop_hz(default1.0). Thetransform_config/ignore_tflist is ROS 1 only. -
static_transform_pose_stamped (ROS 1 / ROS 2) –
static_transform_pose_stamped x y z yaw pitch roll from_topic to_topicapplies a fixed offset to everygeometry_msgs/PoseStampedonfrom_topicand publishes it onto_topic. -
string_relay_lifecycle_node (ROS 2) – example of
ConnectionBasedLifecycleNode: relaysstd_msgs/Stringfrom~/inputto~/output, subscribing only while~/outputis subscribed (parametersalways_subscribe,verbose_connection). -
topic_buffer_server / topic_buffer_client (ROS 1) – buffer topics over a slow network: the client republishes the
server’s topics with the
_bufferedsuffix, either periodically (~update_rate,~fixed_rate) or on request via theupdateservice. -
boolean_node.py –
or/and/not/xorof several boolean inputs. doc -
synchronize_republish.py – republishes
~topicswith exact/approximate synchronization. doc - is_synchronized – checks whether the given topics are synchronized. doc
- rostopic_connection_list – lists topic connections between hosts. doc
-
static_tf_republisher.py – republishes
/tf_staticrecorded in a rosbag. doc -
tf_to_pose.py, tf_to_transform.py – publish a transform between two frames as
PoseStamped/TransformStamped. (tf_to_pose, tf_to_transform) -
transform_wrench.py – transforms a
WrenchStampedinto~target_frame_id. doc -
pose_stamped_publisher.py – publishes a static
PoseStamped. doc
Base classes
-
jsk_topic_tools::ConnectionBasedNodelet(C++, ROS 1) – subscribes inputs only while outputs are subscribed; subclasses must callonInitPostProcess()at the end ofonInit(). Being superseded bynodelet_topic_tools::NodeletLazy. doc -
jsk_topic_tools::DiagnosticNodelet(C++, ROS 1) –ConnectionBasedNodeletthat also publishes diagnostics (~vital_rate,~use_warn). doc -
jsk_topic_tools.ConnectionBasedTransport(Python, ROS 1) – the same pattern for rospy nodes; implementsubscribe()/unsubscribe()and create publishers withself.advertise(). doc, example sample/simple_image_transport.py -
jsk_topic_tools::ConnectionBasedLifecycleNode(C++, ROS 2) –rclcpp_lifecycle::LifecycleNodewith the same lazy subscription behavior; see src/string_relay_lifecycle_node.cpp for a minimal subclass.
Usage
ROS 1:
```bash
File truncated at 100 lines see the full file
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
jsk_topic_tools
Utilities to relay, throttle, filter, buffer and inspect ROS topics.
The package provides a set of nodelets (lazy relays and throttles, mux, passthrough, Hz measurement, …),
Python nodes and command line tools, and base classes for writing nodes that subscribe to their inputs
only while their outputs are subscribed (ConnectionBasedNodelet, DiagnosticNodelet in C++,
ConnectionBasedTransport in Python, and ConnectionBasedLifecycleNode on ROS 2).
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 |
|---|---|---|
Nodelets jsk_topic_tools/{ConstantRateThrottle, LightweightThrottle, MUX, Relay, DeprecatedRelay, StealthRelay, Passthrough, Block, Snapshot, HzMeasure, VitalCheckerNodelet, StringRelay, SynchronizedThrottle} (also as standalone executables constant_rate_throttle, lightweight_throttle, mux, relay, deprecated_relay, stealth_relay, passthrough, block, snapshot, hz_measure, vital_checker, string_relay, synchronized_throttle) |
yes | - |
standalone_complexed_nodelet, topic_buffer_server, topic_buffer_client
|
yes | - |
transform_merger, static_transform_pose_stamped
|
yes | yes |
C++ library jsk_topic_tools (ConnectionBasedNodelet, DiagnosticNodelet, utilities) |
yes | - |
C++ library connection_based_lifecycle_node (ConnectionBasedLifecycleNode) |
- | yes |
Component jsk_topic_tools::StringRelayLifecycleNode (executable string_relay_lifecycle_node) |
- | yes |
Python module jsk_topic_tools
|
yes | yes |
array_to_heatmap.py, filtered_relay.py
|
yes | yes |
Other scripts (boolean_node.py, is_synchronized, rostopic_connection_list, synchronize_republish.py, static_tf_republisher.py, tf_to_pose.py, tf_to_transform.py, transform_wrench.py, pose_stamped_publisher.py, static_image_publisher.py, joint_state_pruner.py, topic_compare.py, topic_statistics.py, rosping_existence.py, bag2csv.py) |
yes | - |
Launch files in launch/ and sample/
|
yes | - |
There are no ROS 2 launch files; run the ROS 2 executables with ros2 run jsk_topic_tools <exe>.
Nodelets (ROS 1)
All nodelets subscribe ~input and publish ~output unless noted. Most of them are lazy:
they subscribe ~input only while ~output has subscribers.
-
LightweightThrottle – like
topic_tools/throttle, but subscribes the input only when the throttled topic is subscribed. Parameter~update_rate(default1.0Hz). doc -
ConstantRateThrottle – same interface as
LightweightThrottle, but publishes at an accurate constant rate (re-publishing the buffered message if~update_rateis higher than the input rate). doc -
SynchronizedThrottle – throttles several topics (
~topics, up to 8) synchronously and advertises them with~suffix(defaultthrottled). Parameters~update_rate,~approximate_sync,~use_wall_time, … doc -
Relay – like
topic_tools/relay, with lazy mode and~latch;~always_subscribedisables the lazy mode. doc -
StealthRelay – relays
~inputonly while~monitor_topic(default:~input) is subscribed by other nodes; it counts the subscribers of~monitor_topicwithout itself, while its own subscription of~inputis a normal one. doc -
Passthrough – relays only for a given duration. Services
~request,~stop(std_srvs/Empty) and~request_duration(jsk_topic_tools/PassthroughDuration); parameter~default_duration(default10.0s). doc -
HzMeasure – publishes the rate of
~inputasstd_msgs/Float32on~outputand a diagnostic status. Parameters~measure_time,~message_num,~warning_hz. doc -
VitalCheckerNodelet – checks whether
~inputis alive and publishes the status to/diagnostics. -
MUX – nodelet version of
topic_tools/mux: relays the selected one of~topicsto~output; services~select,~add,~delete,~list_topics, and the name of the selected topic is published on~selected(std_msgs/String). -
Block – makes a chain of non-lazy nodes lazy: relays
~inputto~input_originaland~output_originalto~output, subscribing only while~outputis subscribed (checked at~check_rate). -
Snapshot – publishes a single
~inputmessage to~outputeach time the~requestservice (std_srvs/Empty) is called. -
StringRelay, DeprecatedRelay –
std_msgs/Stringrelay, and a relay that warns that the topic is deprecated.
standalone_complexed_nodelet is a nodelet manager that loads the nodelets listed in the ~nodelets (and ~nodelets_0 … ~nodelets_99)
parameters itself, avoiding the unreliable bond between manager and loader processes.
See standalone_complexed_nodelet.rst and
sample/standalone_complexed_nodelet/simple.launch.
Nodes and scripts
-
filtered_relay.py (ROS 1 / ROS 2) – relays
~inputto~outputonly when the Python expression~filterholds, optionally transforming it with~transform.~output_typeis required. doc -
array_to_heatmap.py (ROS 1 / ROS 2) – converts a numeric
std_msgs/*MultiArrayor single-channelsensor_msgs/Imageinto a coloredbgr8heatmap image. Parameters~cell_size,~colormap,~min_value,~max_value, … doc -
transform_merger (ROS 1 / ROS 2) – subscribes
/tf, keeps the latest transform per child frame and publishes them together on/tf_mergedat~loop_hz(default1.0). Thetransform_config/ignore_tflist is ROS 1 only. -
static_transform_pose_stamped (ROS 1 / ROS 2) –
static_transform_pose_stamped x y z yaw pitch roll from_topic to_topicapplies a fixed offset to everygeometry_msgs/PoseStampedonfrom_topicand publishes it onto_topic. -
string_relay_lifecycle_node (ROS 2) – example of
ConnectionBasedLifecycleNode: relaysstd_msgs/Stringfrom~/inputto~/output, subscribing only while~/outputis subscribed (parametersalways_subscribe,verbose_connection). -
topic_buffer_server / topic_buffer_client (ROS 1) – buffer topics over a slow network: the client republishes the
server’s topics with the
_bufferedsuffix, either periodically (~update_rate,~fixed_rate) or on request via theupdateservice. -
boolean_node.py –
or/and/not/xorof several boolean inputs. doc -
synchronize_republish.py – republishes
~topicswith exact/approximate synchronization. doc - is_synchronized – checks whether the given topics are synchronized. doc
- rostopic_connection_list – lists topic connections between hosts. doc
-
static_tf_republisher.py – republishes
/tf_staticrecorded in a rosbag. doc -
tf_to_pose.py, tf_to_transform.py – publish a transform between two frames as
PoseStamped/TransformStamped. (tf_to_pose, tf_to_transform) -
transform_wrench.py – transforms a
WrenchStampedinto~target_frame_id. doc -
pose_stamped_publisher.py – publishes a static
PoseStamped. doc
Base classes
-
jsk_topic_tools::ConnectionBasedNodelet(C++, ROS 1) – subscribes inputs only while outputs are subscribed; subclasses must callonInitPostProcess()at the end ofonInit(). Being superseded bynodelet_topic_tools::NodeletLazy. doc -
jsk_topic_tools::DiagnosticNodelet(C++, ROS 1) –ConnectionBasedNodeletthat also publishes diagnostics (~vital_rate,~use_warn). doc -
jsk_topic_tools.ConnectionBasedTransport(Python, ROS 1) – the same pattern for rospy nodes; implementsubscribe()/unsubscribe()and create publishers withself.advertise(). doc, example sample/simple_image_transport.py -
jsk_topic_tools::ConnectionBasedLifecycleNode(C++, ROS 2) –rclcpp_lifecycle::LifecycleNodewith the same lazy subscription behavior; see src/string_relay_lifecycle_node.cpp for a minimal subclass.
Usage
ROS 1:
```bash
File truncated at 100 lines see the full file
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
jsk_topic_tools
Utilities to relay, throttle, filter, buffer and inspect ROS topics.
The package provides a set of nodelets (lazy relays and throttles, mux, passthrough, Hz measurement, …),
Python nodes and command line tools, and base classes for writing nodes that subscribe to their inputs
only while their outputs are subscribed (ConnectionBasedNodelet, DiagnosticNodelet in C++,
ConnectionBasedTransport in Python, and ConnectionBasedLifecycleNode on ROS 2).
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 |
|---|---|---|
Nodelets jsk_topic_tools/{ConstantRateThrottle, LightweightThrottle, MUX, Relay, DeprecatedRelay, StealthRelay, Passthrough, Block, Snapshot, HzMeasure, VitalCheckerNodelet, StringRelay, SynchronizedThrottle} (also as standalone executables constant_rate_throttle, lightweight_throttle, mux, relay, deprecated_relay, stealth_relay, passthrough, block, snapshot, hz_measure, vital_checker, string_relay, synchronized_throttle) |
yes | - |
standalone_complexed_nodelet, topic_buffer_server, topic_buffer_client
|
yes | - |
transform_merger, static_transform_pose_stamped
|
yes | yes |
C++ library jsk_topic_tools (ConnectionBasedNodelet, DiagnosticNodelet, utilities) |
yes | - |
C++ library connection_based_lifecycle_node (ConnectionBasedLifecycleNode) |
- | yes |
Component jsk_topic_tools::StringRelayLifecycleNode (executable string_relay_lifecycle_node) |
- | yes |
Python module jsk_topic_tools
|
yes | yes |
array_to_heatmap.py, filtered_relay.py
|
yes | yes |
Other scripts (boolean_node.py, is_synchronized, rostopic_connection_list, synchronize_republish.py, static_tf_republisher.py, tf_to_pose.py, tf_to_transform.py, transform_wrench.py, pose_stamped_publisher.py, static_image_publisher.py, joint_state_pruner.py, topic_compare.py, topic_statistics.py, rosping_existence.py, bag2csv.py) |
yes | - |
Launch files in launch/ and sample/
|
yes | - |
There are no ROS 2 launch files; run the ROS 2 executables with ros2 run jsk_topic_tools <exe>.
Nodelets (ROS 1)
All nodelets subscribe ~input and publish ~output unless noted. Most of them are lazy:
they subscribe ~input only while ~output has subscribers.
-
LightweightThrottle – like
topic_tools/throttle, but subscribes the input only when the throttled topic is subscribed. Parameter~update_rate(default1.0Hz). doc -
ConstantRateThrottle – same interface as
LightweightThrottle, but publishes at an accurate constant rate (re-publishing the buffered message if~update_rateis higher than the input rate). doc -
SynchronizedThrottle – throttles several topics (
~topics, up to 8) synchronously and advertises them with~suffix(defaultthrottled). Parameters~update_rate,~approximate_sync,~use_wall_time, … doc -
Relay – like
topic_tools/relay, with lazy mode and~latch;~always_subscribedisables the lazy mode. doc -
StealthRelay – relays
~inputonly while~monitor_topic(default:~input) is subscribed by other nodes; it counts the subscribers of~monitor_topicwithout itself, while its own subscription of~inputis a normal one. doc -
Passthrough – relays only for a given duration. Services
~request,~stop(std_srvs/Empty) and~request_duration(jsk_topic_tools/PassthroughDuration); parameter~default_duration(default10.0s). doc -
HzMeasure – publishes the rate of
~inputasstd_msgs/Float32on~outputand a diagnostic status. Parameters~measure_time,~message_num,~warning_hz. doc -
VitalCheckerNodelet – checks whether
~inputis alive and publishes the status to/diagnostics. -
MUX – nodelet version of
topic_tools/mux: relays the selected one of~topicsto~output; services~select,~add,~delete,~list_topics, and the name of the selected topic is published on~selected(std_msgs/String). -
Block – makes a chain of non-lazy nodes lazy: relays
~inputto~input_originaland~output_originalto~output, subscribing only while~outputis subscribed (checked at~check_rate). -
Snapshot – publishes a single
~inputmessage to~outputeach time the~requestservice (std_srvs/Empty) is called. -
StringRelay, DeprecatedRelay –
std_msgs/Stringrelay, and a relay that warns that the topic is deprecated.
standalone_complexed_nodelet is a nodelet manager that loads the nodelets listed in the ~nodelets (and ~nodelets_0 … ~nodelets_99)
parameters itself, avoiding the unreliable bond between manager and loader processes.
See standalone_complexed_nodelet.rst and
sample/standalone_complexed_nodelet/simple.launch.
Nodes and scripts
-
filtered_relay.py (ROS 1 / ROS 2) – relays
~inputto~outputonly when the Python expression~filterholds, optionally transforming it with~transform.~output_typeis required. doc -
array_to_heatmap.py (ROS 1 / ROS 2) – converts a numeric
std_msgs/*MultiArrayor single-channelsensor_msgs/Imageinto a coloredbgr8heatmap image. Parameters~cell_size,~colormap,~min_value,~max_value, … doc -
transform_merger (ROS 1 / ROS 2) – subscribes
/tf, keeps the latest transform per child frame and publishes them together on/tf_mergedat~loop_hz(default1.0). Thetransform_config/ignore_tflist is ROS 1 only. -
static_transform_pose_stamped (ROS 1 / ROS 2) –
static_transform_pose_stamped x y z yaw pitch roll from_topic to_topicapplies a fixed offset to everygeometry_msgs/PoseStampedonfrom_topicand publishes it onto_topic. -
string_relay_lifecycle_node (ROS 2) – example of
ConnectionBasedLifecycleNode: relaysstd_msgs/Stringfrom~/inputto~/output, subscribing only while~/outputis subscribed (parametersalways_subscribe,verbose_connection). -
topic_buffer_server / topic_buffer_client (ROS 1) – buffer topics over a slow network: the client republishes the
server’s topics with the
_bufferedsuffix, either periodically (~update_rate,~fixed_rate) or on request via theupdateservice. -
boolean_node.py –
or/and/not/xorof several boolean inputs. doc -
synchronize_republish.py – republishes
~topicswith exact/approximate synchronization. doc - is_synchronized – checks whether the given topics are synchronized. doc
- rostopic_connection_list – lists topic connections between hosts. doc
-
static_tf_republisher.py – republishes
/tf_staticrecorded in a rosbag. doc -
tf_to_pose.py, tf_to_transform.py – publish a transform between two frames as
PoseStamped/TransformStamped. (tf_to_pose, tf_to_transform) -
transform_wrench.py – transforms a
WrenchStampedinto~target_frame_id. doc -
pose_stamped_publisher.py – publishes a static
PoseStamped. doc
Base classes
-
jsk_topic_tools::ConnectionBasedNodelet(C++, ROS 1) – subscribes inputs only while outputs are subscribed; subclasses must callonInitPostProcess()at the end ofonInit(). Being superseded bynodelet_topic_tools::NodeletLazy. doc -
jsk_topic_tools::DiagnosticNodelet(C++, ROS 1) –ConnectionBasedNodeletthat also publishes diagnostics (~vital_rate,~use_warn). doc -
jsk_topic_tools.ConnectionBasedTransport(Python, ROS 1) – the same pattern for rospy nodes; implementsubscribe()/unsubscribe()and create publishers withself.advertise(). doc, example sample/simple_image_transport.py -
jsk_topic_tools::ConnectionBasedLifecycleNode(C++, ROS 2) –rclcpp_lifecycle::LifecycleNodewith the same lazy subscription behavior; see src/string_relay_lifecycle_node.cpp for a minimal subclass.
Usage
ROS 1:
```bash
File truncated at 100 lines see the full file
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
jsk_topic_tools
Utilities to relay, throttle, filter, buffer and inspect ROS topics.
The package provides a set of nodelets (lazy relays and throttles, mux, passthrough, Hz measurement, …),
Python nodes and command line tools, and base classes for writing nodes that subscribe to their inputs
only while their outputs are subscribed (ConnectionBasedNodelet, DiagnosticNodelet in C++,
ConnectionBasedTransport in Python, and ConnectionBasedLifecycleNode on ROS 2).
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 |
|---|---|---|
Nodelets jsk_topic_tools/{ConstantRateThrottle, LightweightThrottle, MUX, Relay, DeprecatedRelay, StealthRelay, Passthrough, Block, Snapshot, HzMeasure, VitalCheckerNodelet, StringRelay, SynchronizedThrottle} (also as standalone executables constant_rate_throttle, lightweight_throttle, mux, relay, deprecated_relay, stealth_relay, passthrough, block, snapshot, hz_measure, vital_checker, string_relay, synchronized_throttle) |
yes | - |
standalone_complexed_nodelet, topic_buffer_server, topic_buffer_client
|
yes | - |
transform_merger, static_transform_pose_stamped
|
yes | yes |
C++ library jsk_topic_tools (ConnectionBasedNodelet, DiagnosticNodelet, utilities) |
yes | - |
C++ library connection_based_lifecycle_node (ConnectionBasedLifecycleNode) |
- | yes |
Component jsk_topic_tools::StringRelayLifecycleNode (executable string_relay_lifecycle_node) |
- | yes |
Python module jsk_topic_tools
|
yes | yes |
array_to_heatmap.py, filtered_relay.py
|
yes | yes |
Other scripts (boolean_node.py, is_synchronized, rostopic_connection_list, synchronize_republish.py, static_tf_republisher.py, tf_to_pose.py, tf_to_transform.py, transform_wrench.py, pose_stamped_publisher.py, static_image_publisher.py, joint_state_pruner.py, topic_compare.py, topic_statistics.py, rosping_existence.py, bag2csv.py) |
yes | - |
Launch files in launch/ and sample/
|
yes | - |
There are no ROS 2 launch files; run the ROS 2 executables with ros2 run jsk_topic_tools <exe>.
Nodelets (ROS 1)
All nodelets subscribe ~input and publish ~output unless noted. Most of them are lazy:
they subscribe ~input only while ~output has subscribers.
-
LightweightThrottle – like
topic_tools/throttle, but subscribes the input only when the throttled topic is subscribed. Parameter~update_rate(default1.0Hz). doc -
ConstantRateThrottle – same interface as
LightweightThrottle, but publishes at an accurate constant rate (re-publishing the buffered message if~update_rateis higher than the input rate). doc -
SynchronizedThrottle – throttles several topics (
~topics, up to 8) synchronously and advertises them with~suffix(defaultthrottled). Parameters~update_rate,~approximate_sync,~use_wall_time, … doc -
Relay – like
topic_tools/relay, with lazy mode and~latch;~always_subscribedisables the lazy mode. doc -
StealthRelay – relays
~inputonly while~monitor_topic(default:~input) is subscribed by other nodes; it counts the subscribers of~monitor_topicwithout itself, while its own subscription of~inputis a normal one. doc -
Passthrough – relays only for a given duration. Services
~request,~stop(std_srvs/Empty) and~request_duration(jsk_topic_tools/PassthroughDuration); parameter~default_duration(default10.0s). doc -
HzMeasure – publishes the rate of
~inputasstd_msgs/Float32on~outputand a diagnostic status. Parameters~measure_time,~message_num,~warning_hz. doc -
VitalCheckerNodelet – checks whether
~inputis alive and publishes the status to/diagnostics. -
MUX – nodelet version of
topic_tools/mux: relays the selected one of~topicsto~output; services~select,~add,~delete,~list_topics, and the name of the selected topic is published on~selected(std_msgs/String). -
Block – makes a chain of non-lazy nodes lazy: relays
~inputto~input_originaland~output_originalto~output, subscribing only while~outputis subscribed (checked at~check_rate). -
Snapshot – publishes a single
~inputmessage to~outputeach time the~requestservice (std_srvs/Empty) is called. -
StringRelay, DeprecatedRelay –
std_msgs/Stringrelay, and a relay that warns that the topic is deprecated.
standalone_complexed_nodelet is a nodelet manager that loads the nodelets listed in the ~nodelets (and ~nodelets_0 … ~nodelets_99)
parameters itself, avoiding the unreliable bond between manager and loader processes.
See standalone_complexed_nodelet.rst and
sample/standalone_complexed_nodelet/simple.launch.
Nodes and scripts
-
filtered_relay.py (ROS 1 / ROS 2) – relays
~inputto~outputonly when the Python expression~filterholds, optionally transforming it with~transform.~output_typeis required. doc -
array_to_heatmap.py (ROS 1 / ROS 2) – converts a numeric
std_msgs/*MultiArrayor single-channelsensor_msgs/Imageinto a coloredbgr8heatmap image. Parameters~cell_size,~colormap,~min_value,~max_value, … doc -
transform_merger (ROS 1 / ROS 2) – subscribes
/tf, keeps the latest transform per child frame and publishes them together on/tf_mergedat~loop_hz(default1.0). Thetransform_config/ignore_tflist is ROS 1 only. -
static_transform_pose_stamped (ROS 1 / ROS 2) –
static_transform_pose_stamped x y z yaw pitch roll from_topic to_topicapplies a fixed offset to everygeometry_msgs/PoseStampedonfrom_topicand publishes it onto_topic. -
string_relay_lifecycle_node (ROS 2) – example of
ConnectionBasedLifecycleNode: relaysstd_msgs/Stringfrom~/inputto~/output, subscribing only while~/outputis subscribed (parametersalways_subscribe,verbose_connection). -
topic_buffer_server / topic_buffer_client (ROS 1) – buffer topics over a slow network: the client republishes the
server’s topics with the
_bufferedsuffix, either periodically (~update_rate,~fixed_rate) or on request via theupdateservice. -
boolean_node.py –
or/and/not/xorof several boolean inputs. doc -
synchronize_republish.py – republishes
~topicswith exact/approximate synchronization. doc - is_synchronized – checks whether the given topics are synchronized. doc
- rostopic_connection_list – lists topic connections between hosts. doc
-
static_tf_republisher.py – republishes
/tf_staticrecorded in a rosbag. doc -
tf_to_pose.py, tf_to_transform.py – publish a transform between two frames as
PoseStamped/TransformStamped. (tf_to_pose, tf_to_transform) -
transform_wrench.py – transforms a
WrenchStampedinto~target_frame_id. doc -
pose_stamped_publisher.py – publishes a static
PoseStamped. doc
Base classes
-
jsk_topic_tools::ConnectionBasedNodelet(C++, ROS 1) – subscribes inputs only while outputs are subscribed; subclasses must callonInitPostProcess()at the end ofonInit(). Being superseded bynodelet_topic_tools::NodeletLazy. doc -
jsk_topic_tools::DiagnosticNodelet(C++, ROS 1) –ConnectionBasedNodeletthat also publishes diagnostics (~vital_rate,~use_warn). doc -
jsk_topic_tools.ConnectionBasedTransport(Python, ROS 1) – the same pattern for rospy nodes; implementsubscribe()/unsubscribe()and create publishers withself.advertise(). doc, example sample/simple_image_transport.py -
jsk_topic_tools::ConnectionBasedLifecycleNode(C++, ROS 2) –rclcpp_lifecycle::LifecycleNodewith the same lazy subscription behavior; see src/string_relay_lifecycle_node.cpp for a minimal subclass.
Usage
ROS 1:
```bash
File truncated at 100 lines see the full file
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
jsk_topic_tools
Utilities to relay, throttle, filter, buffer and inspect ROS topics.
The package provides a set of nodelets (lazy relays and throttles, mux, passthrough, Hz measurement, …),
Python nodes and command line tools, and base classes for writing nodes that subscribe to their inputs
only while their outputs are subscribed (ConnectionBasedNodelet, DiagnosticNodelet in C++,
ConnectionBasedTransport in Python, and ConnectionBasedLifecycleNode on ROS 2).
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 |
|---|---|---|
Nodelets jsk_topic_tools/{ConstantRateThrottle, LightweightThrottle, MUX, Relay, DeprecatedRelay, StealthRelay, Passthrough, Block, Snapshot, HzMeasure, VitalCheckerNodelet, StringRelay, SynchronizedThrottle} (also as standalone executables constant_rate_throttle, lightweight_throttle, mux, relay, deprecated_relay, stealth_relay, passthrough, block, snapshot, hz_measure, vital_checker, string_relay, synchronized_throttle) |
yes | - |
standalone_complexed_nodelet, topic_buffer_server, topic_buffer_client
|
yes | - |
transform_merger, static_transform_pose_stamped
|
yes | yes |
C++ library jsk_topic_tools (ConnectionBasedNodelet, DiagnosticNodelet, utilities) |
yes | - |
C++ library connection_based_lifecycle_node (ConnectionBasedLifecycleNode) |
- | yes |
Component jsk_topic_tools::StringRelayLifecycleNode (executable string_relay_lifecycle_node) |
- | yes |
Python module jsk_topic_tools
|
yes | yes |
array_to_heatmap.py, filtered_relay.py
|
yes | yes |
Other scripts (boolean_node.py, is_synchronized, rostopic_connection_list, synchronize_republish.py, static_tf_republisher.py, tf_to_pose.py, tf_to_transform.py, transform_wrench.py, pose_stamped_publisher.py, static_image_publisher.py, joint_state_pruner.py, topic_compare.py, topic_statistics.py, rosping_existence.py, bag2csv.py) |
yes | - |
Launch files in launch/ and sample/
|
yes | - |
There are no ROS 2 launch files; run the ROS 2 executables with ros2 run jsk_topic_tools <exe>.
Nodelets (ROS 1)
All nodelets subscribe ~input and publish ~output unless noted. Most of them are lazy:
they subscribe ~input only while ~output has subscribers.
-
LightweightThrottle – like
topic_tools/throttle, but subscribes the input only when the throttled topic is subscribed. Parameter~update_rate(default1.0Hz). doc -
ConstantRateThrottle – same interface as
LightweightThrottle, but publishes at an accurate constant rate (re-publishing the buffered message if~update_rateis higher than the input rate). doc -
SynchronizedThrottle – throttles several topics (
~topics, up to 8) synchronously and advertises them with~suffix(defaultthrottled). Parameters~update_rate,~approximate_sync,~use_wall_time, … doc -
Relay – like
topic_tools/relay, with lazy mode and~latch;~always_subscribedisables the lazy mode. doc -
StealthRelay – relays
~inputonly while~monitor_topic(default:~input) is subscribed by other nodes; it counts the subscribers of~monitor_topicwithout itself, while its own subscription of~inputis a normal one. doc -
Passthrough – relays only for a given duration. Services
~request,~stop(std_srvs/Empty) and~request_duration(jsk_topic_tools/PassthroughDuration); parameter~default_duration(default10.0s). doc -
HzMeasure – publishes the rate of
~inputasstd_msgs/Float32on~outputand a diagnostic status. Parameters~measure_time,~message_num,~warning_hz. doc -
VitalCheckerNodelet – checks whether
~inputis alive and publishes the status to/diagnostics. -
MUX – nodelet version of
topic_tools/mux: relays the selected one of~topicsto~output; services~select,~add,~delete,~list_topics, and the name of the selected topic is published on~selected(std_msgs/String). -
Block – makes a chain of non-lazy nodes lazy: relays
~inputto~input_originaland~output_originalto~output, subscribing only while~outputis subscribed (checked at~check_rate). -
Snapshot – publishes a single
~inputmessage to~outputeach time the~requestservice (std_srvs/Empty) is called. -
StringRelay, DeprecatedRelay –
std_msgs/Stringrelay, and a relay that warns that the topic is deprecated.
standalone_complexed_nodelet is a nodelet manager that loads the nodelets listed in the ~nodelets (and ~nodelets_0 … ~nodelets_99)
parameters itself, avoiding the unreliable bond between manager and loader processes.
See standalone_complexed_nodelet.rst and
sample/standalone_complexed_nodelet/simple.launch.
Nodes and scripts
-
filtered_relay.py (ROS 1 / ROS 2) – relays
~inputto~outputonly when the Python expression~filterholds, optionally transforming it with~transform.~output_typeis required. doc -
array_to_heatmap.py (ROS 1 / ROS 2) – converts a numeric
std_msgs/*MultiArrayor single-channelsensor_msgs/Imageinto a coloredbgr8heatmap image. Parameters~cell_size,~colormap,~min_value,~max_value, … doc -
transform_merger (ROS 1 / ROS 2) – subscribes
/tf, keeps the latest transform per child frame and publishes them together on/tf_mergedat~loop_hz(default1.0). Thetransform_config/ignore_tflist is ROS 1 only. -
static_transform_pose_stamped (ROS 1 / ROS 2) –
static_transform_pose_stamped x y z yaw pitch roll from_topic to_topicapplies a fixed offset to everygeometry_msgs/PoseStampedonfrom_topicand publishes it onto_topic. -
string_relay_lifecycle_node (ROS 2) – example of
ConnectionBasedLifecycleNode: relaysstd_msgs/Stringfrom~/inputto~/output, subscribing only while~/outputis subscribed (parametersalways_subscribe,verbose_connection). -
topic_buffer_server / topic_buffer_client (ROS 1) – buffer topics over a slow network: the client republishes the
server’s topics with the
_bufferedsuffix, either periodically (~update_rate,~fixed_rate) or on request via theupdateservice. -
boolean_node.py –
or/and/not/xorof several boolean inputs. doc -
synchronize_republish.py – republishes
~topicswith exact/approximate synchronization. doc - is_synchronized – checks whether the given topics are synchronized. doc
- rostopic_connection_list – lists topic connections between hosts. doc
-
static_tf_republisher.py – republishes
/tf_staticrecorded in a rosbag. doc -
tf_to_pose.py, tf_to_transform.py – publish a transform between two frames as
PoseStamped/TransformStamped. (tf_to_pose, tf_to_transform) -
transform_wrench.py – transforms a
WrenchStampedinto~target_frame_id. doc -
pose_stamped_publisher.py – publishes a static
PoseStamped. doc
Base classes
-
jsk_topic_tools::ConnectionBasedNodelet(C++, ROS 1) – subscribes inputs only while outputs are subscribed; subclasses must callonInitPostProcess()at the end ofonInit(). Being superseded bynodelet_topic_tools::NodeletLazy. doc -
jsk_topic_tools::DiagnosticNodelet(C++, ROS 1) –ConnectionBasedNodeletthat also publishes diagnostics (~vital_rate,~use_warn). doc -
jsk_topic_tools.ConnectionBasedTransport(Python, ROS 1) – the same pattern for rospy nodes; implementsubscribe()/unsubscribe()and create publishers withself.advertise(). doc, example sample/simple_image_transport.py -
jsk_topic_tools::ConnectionBasedLifecycleNode(C++, ROS 2) –rclcpp_lifecycle::LifecycleNodewith the same lazy subscription behavior; see src/string_relay_lifecycle_node.cpp for a minimal subclass.
Usage
ROS 1:
```bash
File truncated at 100 lines see the full file
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]
Services
Recent questions tagged jsk_topic_tools at Robotics Stack Exchange
|
jsk_topic_tools package from jsk_common repoaudio_video_recorder jsk_common dynamic_tf_publisher jsk_data jsk_ros1_ros2_compat image_view2 jsk_rosbag_tools jsk_tools jsk_topic_tools |
ROS Distro
|
Package Summary
| Version | 3.0.5 |
| License | BSD-3-Clause |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| 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
Additional Links
Maintainers
- Kei Okada
- Ryohei Ueda
- Yoshiki Obinata
Authors
- Kei Okada
- Yusuke Furuta
- Yoshiki Obinata
jsk_topic_tools
Utilities to relay, throttle, filter, buffer and inspect ROS topics.
The package provides a set of nodelets (lazy relays and throttles, mux, passthrough, Hz measurement, …),
Python nodes and command line tools, and base classes for writing nodes that subscribe to their inputs
only while their outputs are subscribed (ConnectionBasedNodelet, DiagnosticNodelet in C++,
ConnectionBasedTransport in Python, and ConnectionBasedLifecycleNode on ROS 2).
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 |
|---|---|---|
Nodelets jsk_topic_tools/{ConstantRateThrottle, LightweightThrottle, MUX, Relay, DeprecatedRelay, StealthRelay, Passthrough, Block, Snapshot, HzMeasure, VitalCheckerNodelet, StringRelay, SynchronizedThrottle} (also as standalone executables constant_rate_throttle, lightweight_throttle, mux, relay, deprecated_relay, stealth_relay, passthrough, block, snapshot, hz_measure, vital_checker, string_relay, synchronized_throttle) |
yes | - |
standalone_complexed_nodelet, topic_buffer_server, topic_buffer_client
|
yes | - |
transform_merger, static_transform_pose_stamped
|
yes | yes |
C++ library jsk_topic_tools (ConnectionBasedNodelet, DiagnosticNodelet, utilities) |
yes | - |
C++ library connection_based_lifecycle_node (ConnectionBasedLifecycleNode) |
- | yes |
Component jsk_topic_tools::StringRelayLifecycleNode (executable string_relay_lifecycle_node) |
- | yes |
Python module jsk_topic_tools
|
yes | yes |
array_to_heatmap.py, filtered_relay.py
|
yes | yes |
Other scripts (boolean_node.py, is_synchronized, rostopic_connection_list, synchronize_republish.py, static_tf_republisher.py, tf_to_pose.py, tf_to_transform.py, transform_wrench.py, pose_stamped_publisher.py, static_image_publisher.py, joint_state_pruner.py, topic_compare.py, topic_statistics.py, rosping_existence.py, bag2csv.py) |
yes | - |
Launch files in launch/ and sample/
|
yes | - |
There are no ROS 2 launch files; run the ROS 2 executables with ros2 run jsk_topic_tools <exe>.
Nodelets (ROS 1)
All nodelets subscribe ~input and publish ~output unless noted. Most of them are lazy:
they subscribe ~input only while ~output has subscribers.
-
LightweightThrottle – like
topic_tools/throttle, but subscribes the input only when the throttled topic is subscribed. Parameter~update_rate(default1.0Hz). doc -
ConstantRateThrottle – same interface as
LightweightThrottle, but publishes at an accurate constant rate (re-publishing the buffered message if~update_rateis higher than the input rate). doc -
SynchronizedThrottle – throttles several topics (
~topics, up to 8) synchronously and advertises them with~suffix(defaultthrottled). Parameters~update_rate,~approximate_sync,~use_wall_time, … doc -
Relay – like
topic_tools/relay, with lazy mode and~latch;~always_subscribedisables the lazy mode. doc -
StealthRelay – relays
~inputonly while~monitor_topic(default:~input) is subscribed by other nodes; it counts the subscribers of~monitor_topicwithout itself, while its own subscription of~inputis a normal one. doc -
Passthrough – relays only for a given duration. Services
~request,~stop(std_srvs/Empty) and~request_duration(jsk_topic_tools/PassthroughDuration); parameter~default_duration(default10.0s). doc -
HzMeasure – publishes the rate of
~inputasstd_msgs/Float32on~outputand a diagnostic status. Parameters~measure_time,~message_num,~warning_hz. doc -
VitalCheckerNodelet – checks whether
~inputis alive and publishes the status to/diagnostics. -
MUX – nodelet version of
topic_tools/mux: relays the selected one of~topicsto~output; services~select,~add,~delete,~list_topics, and the name of the selected topic is published on~selected(std_msgs/String). -
Block – makes a chain of non-lazy nodes lazy: relays
~inputto~input_originaland~output_originalto~output, subscribing only while~outputis subscribed (checked at~check_rate). -
Snapshot – publishes a single
~inputmessage to~outputeach time the~requestservice (std_srvs/Empty) is called. -
StringRelay, DeprecatedRelay –
std_msgs/Stringrelay, and a relay that warns that the topic is deprecated.
standalone_complexed_nodelet is a nodelet manager that loads the nodelets listed in the ~nodelets (and ~nodelets_0 … ~nodelets_99)
parameters itself, avoiding the unreliable bond between manager and loader processes.
See standalone_complexed_nodelet.rst and
sample/standalone_complexed_nodelet/simple.launch.
Nodes and scripts
-
filtered_relay.py (ROS 1 / ROS 2) – relays
~inputto~outputonly when the Python expression~filterholds, optionally transforming it with~transform.~output_typeis required. doc -
array_to_heatmap.py (ROS 1 / ROS 2) – converts a numeric
std_msgs/*MultiArrayor single-channelsensor_msgs/Imageinto a coloredbgr8heatmap image. Parameters~cell_size,~colormap,~min_value,~max_value, … doc -
transform_merger (ROS 1 / ROS 2) – subscribes
/tf, keeps the latest transform per child frame and publishes them together on/tf_mergedat~loop_hz(default1.0). Thetransform_config/ignore_tflist is ROS 1 only. -
static_transform_pose_stamped (ROS 1 / ROS 2) –
static_transform_pose_stamped x y z yaw pitch roll from_topic to_topicapplies a fixed offset to everygeometry_msgs/PoseStampedonfrom_topicand publishes it onto_topic. -
string_relay_lifecycle_node (ROS 2) – example of
ConnectionBasedLifecycleNode: relaysstd_msgs/Stringfrom~/inputto~/output, subscribing only while~/outputis subscribed (parametersalways_subscribe,verbose_connection). -
topic_buffer_server / topic_buffer_client (ROS 1) – buffer topics over a slow network: the client republishes the
server’s topics with the
_bufferedsuffix, either periodically (~update_rate,~fixed_rate) or on request via theupdateservice. -
boolean_node.py –
or/and/not/xorof several boolean inputs. doc -
synchronize_republish.py – republishes
~topicswith exact/approximate synchronization. doc - is_synchronized – checks whether the given topics are synchronized. doc
- rostopic_connection_list – lists topic connections between hosts. doc
-
static_tf_republisher.py – republishes
/tf_staticrecorded in a rosbag. doc -
tf_to_pose.py, tf_to_transform.py – publish a transform between two frames as
PoseStamped/TransformStamped. (tf_to_pose, tf_to_transform) -
transform_wrench.py – transforms a
WrenchStampedinto~target_frame_id. doc -
pose_stamped_publisher.py – publishes a static
PoseStamped. doc
Base classes
-
jsk_topic_tools::ConnectionBasedNodelet(C++, ROS 1) – subscribes inputs only while outputs are subscribed; subclasses must callonInitPostProcess()at the end ofonInit(). Being superseded bynodelet_topic_tools::NodeletLazy. doc -
jsk_topic_tools::DiagnosticNodelet(C++, ROS 1) –ConnectionBasedNodeletthat also publishes diagnostics (~vital_rate,~use_warn). doc -
jsk_topic_tools.ConnectionBasedTransport(Python, ROS 1) – the same pattern for rospy nodes; implementsubscribe()/unsubscribe()and create publishers withself.advertise(). doc, example sample/simple_image_transport.py -
jsk_topic_tools::ConnectionBasedLifecycleNode(C++, ROS 2) –rclcpp_lifecycle::LifecycleNodewith the same lazy subscription behavior; see src/string_relay_lifecycle_node.cpp for a minimal subclass.
Usage
ROS 1:
```bash
File truncated at 100 lines see the full file
Changelog for package jsk_topic_tools
3.0.5 (2026-11-10)
- Merge pull request #1841 from k-okada/rosdistro-55117-review rosdistro#55117 review: add LICENSE to each package, use SPDX license identifiers
- use SPDX license identifiers (BSD-3-Clause, Apache-2.0) in package.xml BSD -> BSD-3-Clause and "Apache License 2.0" -> Apache-2.0 in all packages (ros/rosdistro#55117 review: "BSD is ambiguous. The headers show the 3-clause variant, so BSD-3-Clause (SPDX) is preferred."). Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- add LICENSE to each package (BSD-3-Clause, jsk_tools: Apache-2.0) The ROS2 release review of jsk_common in ros/rosdistro#55117 says (https://github.com/ros/rosdistro/pull/55117#issuecomment-6757665510): > - [ ] At least one of the following must be present > - [ ] Top level license file: None. There is no LICENSE/COPYING at > the repo root (tree @ cbbd0ab). > - [ ] Per package license files: None. No package directory has a > license file. The license text only appears in source-file headers > (e.g. deprecated_relay.h#L1-L33, BSD-3-Clause, "JSK Lab"). Since jsk_tools is Apache-2.0 and the others are BSD-3-Clause, add a license file to each package instead of one at the top level. The BSD ones use the same text as the source headers, "Copyright (c) <year>-, JSK Lab" where <year> is when the package.xml was added, and jsk_tools has the Apache License 2.0 text from apache.org. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
- Contributors: Kei Okada
3.0.4 (2026-11-04)
3.0.3 (2026-11-03)
-
Merge pull request #1836 from k-okada/filtered-relay-ros2 [jsk_topic_tools] Add filtered_relay.py for ROS1 and ROS2 (based on #1757)
-
[jsk_topic_tools] filtered_relay: support ROS2 What does not map one-to-one onto jsk_ros1_ros2_compat, branched on ROS_VERSION with the ROS1 code left as is:
- ROS2 has no AnyMsg: poll the type of ~input with a timer and subscribe once it is known (subscribe(), ROS2 only).
- rclpy's publish() takes one message: publish the ~transform result as is if it is an ~output_type message, else build one from its field values (rclpy messages take keyword arguments only), as rospy's publish(*res) does. std_msgs/Empty: publish(self.output_class()). Add a ROS2 pytest, install the script on ROS2, and a ros2 run example in the document. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: use jsk_ros1_ros2_compat Replace rospy/roslib calls that have a jsk_ros1_ros2_compat equivalent, passing the node (None on ROS1). The ROS1-only parts (rospy.AnyMsg, rospy.Subscriber, rospy.resolve_name) are left as they are, so this works the same on ROS1. Done mechanically with the sed script in the commit message. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools] filtered_relay: fix e.message for Python 3 Python 3 exceptions have no .message, so reporting a wrong ~transform raised AttributeError. 2to3 does not convert this (it has nothing to change in this file), so it is done by hand. Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
[jsk_topic_tools/filtered_relay] Add test and document
-
[jsk_topic_tools] Add filtered relay
-
Merge pull request #1835 from k-okada/ros-version-fallback-ament Fix ROS2 buildfarm binary jobs: ROS_VERSION without ros_environment, boost for jsk_topic_tools
-
Merge pull request #1834 from pazeshun/array-to-heatmap [jsk_ros1_ros2_compat, jsk_topic_tools, jsk_rosbag_tools] Add array heatmap tools with ROS 1 and ROS 2 support
-
[jsk_topic_tools] package.xml: add boost build_depend for ROS2 transform_merger and static_transform_pose_stamped include boost/shared_ptr.hpp and boost/make_shared.hpp. ROS1 gets boost through roscpp and the repository-wide CI gets it from other packages, but the buildfarm builds each package with only its own build dependencies, where the build fails with "boost/shared_ptr.hpp: No such file or directory". Co-Authored-By: Claude Opus 5.5 <<noreply@anthropic.com>>
-
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.
File truncated at 100 lines see the full file
Package Dependencies
System Dependencies
Dependant Packages
Launch files
- launch/nodelet_sample.launch
- launch/passthrough_sample.launch
-
- input [default: input]
- output [default: output]
- default_duration [default: 10]
- launch/robot_tf_buffer_client.launch
-
- REMOTE_TF [default: /tf_low_frequency]
- JOINT_STATE_UPDATE_RATE [default: 1.0]
- launch/robot_tf_buffer_server.launch
-
- TF_UPDATE_RATE [default: 1.0]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/specific_transform_publisher_sample.launch
- launch/specific_transform_subscriber_sample.launch
- launch/standalone_complexed_nodelet_sample.launch
- launch/tf_buffer_client.launch
-
- PREFIX [default: tf_buffer]
- REMOTE_TF [default: /tf_low_frequency]
- launch/tf_buffer_server.launch
-
- UPDATE_RATE [default: 1.0]
- PREFIX [default: tf_buffer]
- TF_CONFIG [default: $(find jsk_topic_tools)/config/tf_buffer.yaml]
- launch/topic_buffer_client_param_sample.launch
- launch/topic_buffer_client_sample.launch
-
- USE_FIXED_RATE [default: false]
- USE_UPDATE_RATE [default: false]
- UPDATE_RATE [default: 1]
- FIXED_RATE [default: 0.1]
- OUTPUT [default: screen]
- launch/topic_buffer_periodic_test.launch
- launch/topic_buffer_server_sample.launch
-
- USE_PERIODIC_RATE [default: false]
- PERIODIC_RATE [default: 1]
- OUTPUT [default: screen]
- launch/vital_checker_sample.launch
- sample/sample_boolean_node.launch
- sample/sample_connection_based_transport.launch
- sample/sample_constant_rate_nodelet.launch
- sample/sample_filtered_relay.launch
-
- gui [default: false]
- launch_robot_model [default: false]
- sample/sample_static_tf_republisher.launch
-
- ROSBAG [default: $(find jsk_topic_tools)/sample/data/sample_tf.bag]
- sample/sample_synchronize_republish.launch
-
- gui [default: true]
- sample/sample_transform_wrench.launch
-
- gui [default: true]
- launch_robot_model [default: false]
- sample/standalone_complexed_nodelet/simple.launch
- test/test_log_utils.launch
- test/test_topic_buffer_fixed_rate.launch
- test/test_topic_buffer_fixed_rate_and_update_rate.launch
- test/test_topic_buffer_update_rate.launch
- sample/include/play_rosbag_wrench.xml
-
- launch_robot_model [default: false]