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

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The tier4_logging_level_configure_rviz_plugin package

Additional Links

No additional links.

Maintainers

  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi

Authors

No additional authors.

tier4_logging_level_configure_rviz_plugin

This package provides an rviz_plugin that can easily change the logger level of each node.

tier4_logging_level_configure_rviz_plugin

This plugin dispatches services to the “logger name” associated with “nodes” specified in YAML, adjusting the logger level.

!!! Warning

It is highly recommended to use this plugin when you're attempting to print any debug information. Furthermore, it is strongly advised to avoid using the logging level INFO, as it might flood the terminal with your information, potentially causing other useful information to be missed.

!!! note

To add your logger to the list, simply include the `node_name` and `logger_name` in the [logger_config.yaml](https://github.com/autowarefoundation/autoware.universe/blob/main/common/tier4_logging_level_configure_rviz_plugin/config/logger_config.yaml) under the corresponding component or module. If the relevant component or module is not listed, you may add them yourself.

!!! note

As of November 2023, in ROS 2 Humble, users are required to initiate a service server in the node to use this feature. (This might be integrated into ROS standards in the future.) For easy service server generation, you can use the [LoggerLevelConfigure](https://github.com/autowarefoundation/autoware.universe/blob/main/common/autoware_universe_utils/include/autoware_universe_utils/ros/logger_level_configure.hpp) utility.

How to use the plugin

In RVIZ2, go to Panels and add LoggingLevelConfigureRVizPlugin. Then, search for the node you’re interested in and select the corresponding logging level to print the logs.

How to add or find your logger name

Because there are no available ROS 2 CLI commands to list loggers, there isn’t a straightforward way to check your logger name. Additionally, the following assumes that you already know which node you’re working with.

For logger as a class member variable

If your class doesn’t have an rclcpp::Logger member variable, you can start by including one yourself:

mutable rclcpp::Logger logger_;

If your node already has a logger, it should, under normal circumstances, be similar to the node’s name.

For instance, if the node name is /some_component/some_node/node_child, the logger_name would be some_component.some_node.node_child.

Should your log not print as expected, one approach is to initially set your logging level in the code to info, like so:

RCLCPP_INFO(logger_, "Print something here.");

This will result in something like the following being printed in the terminal:

[component_container_mt-36] [INFO 1711949149.735437551] [logger_name]: Print something here. (func() at /path/to/code:line_number)

Afterward, you can simply copy the logger_name.

!!! warning

Remember to revert your code to the appropriate logging level after testing.
    RCLCPP_DEBUG(logger_, "Print something here.");
    

For libraries

When dealing with libraries, such as utility functions, you may need to add the logger manually. Here’s an example:

RCLCPP_WARN(
  rclcpp::get_logger("some_component").get_child("some_child").get_child("some_child2"),
      "Print something here.");

In this scenario, the logger_name would be some_component.some_child.some_child2.

CHANGELOG

Changelog for package tier4_logging_level_configure_rviz_plugin

0.2.0 (2025-03-24)

0.1.0 (2025-01-28)

  • unify version to 0.0.0

  • chore: sync files (#11) Co-authored-by: github-actions <<github-actions@github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(path_optimizer): rename package name (#98)

    • refactor(path_optimizer): rename package name

    * rename in graph ---------

  • change avoidance to static_obstacle_avoidance (#62)

  • refactor(motion_utils)!: add autoware prefix and include dir (#53) style(pre-commit): autofix

  • refactor(autoware_universe_utils)!: rename tier4_autoware_utils to autoware_universe_utils (#52) Co-authored-by: kosuke55 <<kosuke.tnp@gmail.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • update logger configuration for behavior path planner dynamic obstacle avoidance (#50) Co-authored-by: M. Fatih Cırıt <<xmfcx@users.noreply.github.com>>

  • chore(rviz_plugin): move peripheral rviz plugin (#27)

    • feat: calibrator tier4 pkg name (#200)
    • feat: change names
    • feat: move pkg to common
    • feat: change pkg name

    * fix: library path (#225) Co-authored-by: taikitanaka3 <<taiki.tanaka@tier4.jp>>

    • feat: add rviz plugin to publish and control the simulated clock (#349)
    • Add tier4_clock_rviz_plugin to publish&control the sim clock in rviz
    • Add step control
    • Fix precommit
    • Update documentation
    • Fix spellcheck
    • Update plugin description and icon
    • Rename package
    • Fix bug with long duration jumps (high speed + low rate)
    • ci: check include guard (#438)
    • ci: check include guard
    • apply pre-commit

    * Update .pre-commit-config.yaml Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    * fix: pre-commit Co-authored-by: Kenji Miyake <<kenji.miyake@tier4.jp>> Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    • chore: sync files (#629)
    • chore: sync files

    * ci(pre-commit): autofix Co-authored-by: kenji-miyake <<kenji-miyake@users.noreply.github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

    • style: fix format of package.xml (#844)
    • refactor: use autoware cmake (#849)
    • remove autoware_auto_cmake
    • add build_depend of autoware_cmake
    • use autoware_cmake in CMakeLists.txt
    • fix bugs
    • fix cmake lint errors
    • chore: upgrade cmake_minimum_required to 3.14 (#856)
    • fix(accel_brake_map_calibrator): rviz panel type (#895)
    • fixed panel type
    • modified instruction for rosbag replay case

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged tier4_logging_level_configure_rviz_plugin at Robotics Stack Exchange

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

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The tier4_logging_level_configure_rviz_plugin package

Additional Links

No additional links.

Maintainers

  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi

Authors

No additional authors.

tier4_logging_level_configure_rviz_plugin

This package provides an rviz_plugin that can easily change the logger level of each node.

tier4_logging_level_configure_rviz_plugin

This plugin dispatches services to the “logger name” associated with “nodes” specified in YAML, adjusting the logger level.

!!! Warning

It is highly recommended to use this plugin when you're attempting to print any debug information. Furthermore, it is strongly advised to avoid using the logging level INFO, as it might flood the terminal with your information, potentially causing other useful information to be missed.

!!! note

To add your logger to the list, simply include the `node_name` and `logger_name` in the [logger_config.yaml](https://github.com/autowarefoundation/autoware.universe/blob/main/common/tier4_logging_level_configure_rviz_plugin/config/logger_config.yaml) under the corresponding component or module. If the relevant component or module is not listed, you may add them yourself.

!!! note

As of November 2023, in ROS 2 Humble, users are required to initiate a service server in the node to use this feature. (This might be integrated into ROS standards in the future.) For easy service server generation, you can use the [LoggerLevelConfigure](https://github.com/autowarefoundation/autoware.universe/blob/main/common/autoware_universe_utils/include/autoware_universe_utils/ros/logger_level_configure.hpp) utility.

How to use the plugin

In RVIZ2, go to Panels and add LoggingLevelConfigureRVizPlugin. Then, search for the node you’re interested in and select the corresponding logging level to print the logs.

How to add or find your logger name

Because there are no available ROS 2 CLI commands to list loggers, there isn’t a straightforward way to check your logger name. Additionally, the following assumes that you already know which node you’re working with.

For logger as a class member variable

If your class doesn’t have an rclcpp::Logger member variable, you can start by including one yourself:

mutable rclcpp::Logger logger_;

If your node already has a logger, it should, under normal circumstances, be similar to the node’s name.

For instance, if the node name is /some_component/some_node/node_child, the logger_name would be some_component.some_node.node_child.

Should your log not print as expected, one approach is to initially set your logging level in the code to info, like so:

RCLCPP_INFO(logger_, "Print something here.");

This will result in something like the following being printed in the terminal:

[component_container_mt-36] [INFO 1711949149.735437551] [logger_name]: Print something here. (func() at /path/to/code:line_number)

Afterward, you can simply copy the logger_name.

!!! warning

Remember to revert your code to the appropriate logging level after testing.
    RCLCPP_DEBUG(logger_, "Print something here.");
    

For libraries

When dealing with libraries, such as utility functions, you may need to add the logger manually. Here’s an example:

RCLCPP_WARN(
  rclcpp::get_logger("some_component").get_child("some_child").get_child("some_child2"),
      "Print something here.");

In this scenario, the logger_name would be some_component.some_child.some_child2.

CHANGELOG

Changelog for package tier4_logging_level_configure_rviz_plugin

0.2.0 (2025-03-24)

0.1.0 (2025-01-28)

  • unify version to 0.0.0

  • chore: sync files (#11) Co-authored-by: github-actions <<github-actions@github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(path_optimizer): rename package name (#98)

    • refactor(path_optimizer): rename package name

    * rename in graph ---------

  • change avoidance to static_obstacle_avoidance (#62)

  • refactor(motion_utils)!: add autoware prefix and include dir (#53) style(pre-commit): autofix

  • refactor(autoware_universe_utils)!: rename tier4_autoware_utils to autoware_universe_utils (#52) Co-authored-by: kosuke55 <<kosuke.tnp@gmail.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • update logger configuration for behavior path planner dynamic obstacle avoidance (#50) Co-authored-by: M. Fatih Cırıt <<xmfcx@users.noreply.github.com>>

  • chore(rviz_plugin): move peripheral rviz plugin (#27)

    • feat: calibrator tier4 pkg name (#200)
    • feat: change names
    • feat: move pkg to common
    • feat: change pkg name

    * fix: library path (#225) Co-authored-by: taikitanaka3 <<taiki.tanaka@tier4.jp>>

    • feat: add rviz plugin to publish and control the simulated clock (#349)
    • Add tier4_clock_rviz_plugin to publish&control the sim clock in rviz
    • Add step control
    • Fix precommit
    • Update documentation
    • Fix spellcheck
    • Update plugin description and icon
    • Rename package
    • Fix bug with long duration jumps (high speed + low rate)
    • ci: check include guard (#438)
    • ci: check include guard
    • apply pre-commit

    * Update .pre-commit-config.yaml Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    * fix: pre-commit Co-authored-by: Kenji Miyake <<kenji.miyake@tier4.jp>> Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    • chore: sync files (#629)
    • chore: sync files

    * ci(pre-commit): autofix Co-authored-by: kenji-miyake <<kenji-miyake@users.noreply.github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

    • style: fix format of package.xml (#844)
    • refactor: use autoware cmake (#849)
    • remove autoware_auto_cmake
    • add build_depend of autoware_cmake
    • use autoware_cmake in CMakeLists.txt
    • fix bugs
    • fix cmake lint errors
    • chore: upgrade cmake_minimum_required to 3.14 (#856)
    • fix(accel_brake_map_calibrator): rviz panel type (#895)
    • fixed panel type
    • modified instruction for rosbag replay case

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged tier4_logging_level_configure_rviz_plugin at Robotics Stack Exchange

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The tier4_logging_level_configure_rviz_plugin package

Additional Links

No additional links.

Maintainers

  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi

Authors

No additional authors.

tier4_logging_level_configure_rviz_plugin

This package provides an rviz_plugin that can easily change the logger level of each node.

tier4_logging_level_configure_rviz_plugin

This plugin dispatches services to the “logger name” associated with “nodes” specified in YAML, adjusting the logger level.

!!! Warning

It is highly recommended to use this plugin when you're attempting to print any debug information. Furthermore, it is strongly advised to avoid using the logging level INFO, as it might flood the terminal with your information, potentially causing other useful information to be missed.

!!! note

To add your logger to the list, simply include the `node_name` and `logger_name` in the [logger_config.yaml](https://github.com/autowarefoundation/autoware.universe/blob/main/common/tier4_logging_level_configure_rviz_plugin/config/logger_config.yaml) under the corresponding component or module. If the relevant component or module is not listed, you may add them yourself.

!!! note

As of November 2023, in ROS 2 Humble, users are required to initiate a service server in the node to use this feature. (This might be integrated into ROS standards in the future.) For easy service server generation, you can use the [LoggerLevelConfigure](https://github.com/autowarefoundation/autoware.universe/blob/main/common/autoware_universe_utils/include/autoware_universe_utils/ros/logger_level_configure.hpp) utility.

How to use the plugin

In RVIZ2, go to Panels and add LoggingLevelConfigureRVizPlugin. Then, search for the node you’re interested in and select the corresponding logging level to print the logs.

How to add or find your logger name

Because there are no available ROS 2 CLI commands to list loggers, there isn’t a straightforward way to check your logger name. Additionally, the following assumes that you already know which node you’re working with.

For logger as a class member variable

If your class doesn’t have an rclcpp::Logger member variable, you can start by including one yourself:

mutable rclcpp::Logger logger_;

If your node already has a logger, it should, under normal circumstances, be similar to the node’s name.

For instance, if the node name is /some_component/some_node/node_child, the logger_name would be some_component.some_node.node_child.

Should your log not print as expected, one approach is to initially set your logging level in the code to info, like so:

RCLCPP_INFO(logger_, "Print something here.");

This will result in something like the following being printed in the terminal:

[component_container_mt-36] [INFO 1711949149.735437551] [logger_name]: Print something here. (func() at /path/to/code:line_number)

Afterward, you can simply copy the logger_name.

!!! warning

Remember to revert your code to the appropriate logging level after testing.
    RCLCPP_DEBUG(logger_, "Print something here.");
    

For libraries

When dealing with libraries, such as utility functions, you may need to add the logger manually. Here’s an example:

RCLCPP_WARN(
  rclcpp::get_logger("some_component").get_child("some_child").get_child("some_child2"),
      "Print something here.");

In this scenario, the logger_name would be some_component.some_child.some_child2.

CHANGELOG

Changelog for package tier4_logging_level_configure_rviz_plugin

0.2.0 (2025-03-24)

0.1.0 (2025-01-28)

  • unify version to 0.0.0

  • chore: sync files (#11) Co-authored-by: github-actions <<github-actions@github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(path_optimizer): rename package name (#98)

    • refactor(path_optimizer): rename package name

    * rename in graph ---------

  • change avoidance to static_obstacle_avoidance (#62)

  • refactor(motion_utils)!: add autoware prefix and include dir (#53) style(pre-commit): autofix

  • refactor(autoware_universe_utils)!: rename tier4_autoware_utils to autoware_universe_utils (#52) Co-authored-by: kosuke55 <<kosuke.tnp@gmail.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • update logger configuration for behavior path planner dynamic obstacle avoidance (#50) Co-authored-by: M. Fatih Cırıt <<xmfcx@users.noreply.github.com>>

  • chore(rviz_plugin): move peripheral rviz plugin (#27)

    • feat: calibrator tier4 pkg name (#200)
    • feat: change names
    • feat: move pkg to common
    • feat: change pkg name

    * fix: library path (#225) Co-authored-by: taikitanaka3 <<taiki.tanaka@tier4.jp>>

    • feat: add rviz plugin to publish and control the simulated clock (#349)
    • Add tier4_clock_rviz_plugin to publish&control the sim clock in rviz
    • Add step control
    • Fix precommit
    • Update documentation
    • Fix spellcheck
    • Update plugin description and icon
    • Rename package
    • Fix bug with long duration jumps (high speed + low rate)
    • ci: check include guard (#438)
    • ci: check include guard
    • apply pre-commit

    * Update .pre-commit-config.yaml Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    * fix: pre-commit Co-authored-by: Kenji Miyake <<kenji.miyake@tier4.jp>> Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    • chore: sync files (#629)
    • chore: sync files

    * ci(pre-commit): autofix Co-authored-by: kenji-miyake <<kenji-miyake@users.noreply.github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

    • style: fix format of package.xml (#844)
    • refactor: use autoware cmake (#849)
    • remove autoware_auto_cmake
    • add build_depend of autoware_cmake
    • use autoware_cmake in CMakeLists.txt
    • fix bugs
    • fix cmake lint errors
    • chore: upgrade cmake_minimum_required to 3.14 (#856)
    • fix(accel_brake_map_calibrator): rviz panel type (#895)
    • fixed panel type
    • modified instruction for rosbag replay case

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged tier4_logging_level_configure_rviz_plugin at Robotics Stack Exchange

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The tier4_logging_level_configure_rviz_plugin package

Additional Links

No additional links.

Maintainers

  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi

Authors

No additional authors.

tier4_logging_level_configure_rviz_plugin

This package provides an rviz_plugin that can easily change the logger level of each node.

tier4_logging_level_configure_rviz_plugin

This plugin dispatches services to the “logger name” associated with “nodes” specified in YAML, adjusting the logger level.

!!! Warning

It is highly recommended to use this plugin when you're attempting to print any debug information. Furthermore, it is strongly advised to avoid using the logging level INFO, as it might flood the terminal with your information, potentially causing other useful information to be missed.

!!! note

To add your logger to the list, simply include the `node_name` and `logger_name` in the [logger_config.yaml](https://github.com/autowarefoundation/autoware.universe/blob/main/common/tier4_logging_level_configure_rviz_plugin/config/logger_config.yaml) under the corresponding component or module. If the relevant component or module is not listed, you may add them yourself.

!!! note

As of November 2023, in ROS 2 Humble, users are required to initiate a service server in the node to use this feature. (This might be integrated into ROS standards in the future.) For easy service server generation, you can use the [LoggerLevelConfigure](https://github.com/autowarefoundation/autoware.universe/blob/main/common/autoware_universe_utils/include/autoware_universe_utils/ros/logger_level_configure.hpp) utility.

How to use the plugin

In RVIZ2, go to Panels and add LoggingLevelConfigureRVizPlugin. Then, search for the node you’re interested in and select the corresponding logging level to print the logs.

How to add or find your logger name

Because there are no available ROS 2 CLI commands to list loggers, there isn’t a straightforward way to check your logger name. Additionally, the following assumes that you already know which node you’re working with.

For logger as a class member variable

If your class doesn’t have an rclcpp::Logger member variable, you can start by including one yourself:

mutable rclcpp::Logger logger_;

If your node already has a logger, it should, under normal circumstances, be similar to the node’s name.

For instance, if the node name is /some_component/some_node/node_child, the logger_name would be some_component.some_node.node_child.

Should your log not print as expected, one approach is to initially set your logging level in the code to info, like so:

RCLCPP_INFO(logger_, "Print something here.");

This will result in something like the following being printed in the terminal:

[component_container_mt-36] [INFO 1711949149.735437551] [logger_name]: Print something here. (func() at /path/to/code:line_number)

Afterward, you can simply copy the logger_name.

!!! warning

Remember to revert your code to the appropriate logging level after testing.
    RCLCPP_DEBUG(logger_, "Print something here.");
    

For libraries

When dealing with libraries, such as utility functions, you may need to add the logger manually. Here’s an example:

RCLCPP_WARN(
  rclcpp::get_logger("some_component").get_child("some_child").get_child("some_child2"),
      "Print something here.");

In this scenario, the logger_name would be some_component.some_child.some_child2.

CHANGELOG

Changelog for package tier4_logging_level_configure_rviz_plugin

0.2.0 (2025-03-24)

0.1.0 (2025-01-28)

  • unify version to 0.0.0

  • chore: sync files (#11) Co-authored-by: github-actions <<github-actions@github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(path_optimizer): rename package name (#98)

    • refactor(path_optimizer): rename package name

    * rename in graph ---------

  • change avoidance to static_obstacle_avoidance (#62)

  • refactor(motion_utils)!: add autoware prefix and include dir (#53) style(pre-commit): autofix

  • refactor(autoware_universe_utils)!: rename tier4_autoware_utils to autoware_universe_utils (#52) Co-authored-by: kosuke55 <<kosuke.tnp@gmail.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • update logger configuration for behavior path planner dynamic obstacle avoidance (#50) Co-authored-by: M. Fatih Cırıt <<xmfcx@users.noreply.github.com>>

  • chore(rviz_plugin): move peripheral rviz plugin (#27)

    • feat: calibrator tier4 pkg name (#200)
    • feat: change names
    • feat: move pkg to common
    • feat: change pkg name

    * fix: library path (#225) Co-authored-by: taikitanaka3 <<taiki.tanaka@tier4.jp>>

    • feat: add rviz plugin to publish and control the simulated clock (#349)
    • Add tier4_clock_rviz_plugin to publish&control the sim clock in rviz
    • Add step control
    • Fix precommit
    • Update documentation
    • Fix spellcheck
    • Update plugin description and icon
    • Rename package
    • Fix bug with long duration jumps (high speed + low rate)
    • ci: check include guard (#438)
    • ci: check include guard
    • apply pre-commit

    * Update .pre-commit-config.yaml Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    * fix: pre-commit Co-authored-by: Kenji Miyake <<kenji.miyake@tier4.jp>> Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    • chore: sync files (#629)
    • chore: sync files

    * ci(pre-commit): autofix Co-authored-by: kenji-miyake <<kenji-miyake@users.noreply.github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

    • style: fix format of package.xml (#844)
    • refactor: use autoware cmake (#849)
    • remove autoware_auto_cmake
    • add build_depend of autoware_cmake
    • use autoware_cmake in CMakeLists.txt
    • fix bugs
    • fix cmake lint errors
    • chore: upgrade cmake_minimum_required to 3.14 (#856)
    • fix(accel_brake_map_calibrator): rviz panel type (#895)
    • fixed panel type
    • modified instruction for rosbag replay case

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged tier4_logging_level_configure_rviz_plugin at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The tier4_logging_level_configure_rviz_plugin package

Additional Links

No additional links.

Maintainers

  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi

Authors

No additional authors.

tier4_logging_level_configure_rviz_plugin

This package provides an rviz_plugin that can easily change the logger level of each node.

tier4_logging_level_configure_rviz_plugin

This plugin dispatches services to the “logger name” associated with “nodes” specified in YAML, adjusting the logger level.

!!! Warning

It is highly recommended to use this plugin when you're attempting to print any debug information. Furthermore, it is strongly advised to avoid using the logging level INFO, as it might flood the terminal with your information, potentially causing other useful information to be missed.

!!! note

To add your logger to the list, simply include the `node_name` and `logger_name` in the [logger_config.yaml](https://github.com/autowarefoundation/autoware.universe/blob/main/common/tier4_logging_level_configure_rviz_plugin/config/logger_config.yaml) under the corresponding component or module. If the relevant component or module is not listed, you may add them yourself.

!!! note

As of November 2023, in ROS 2 Humble, users are required to initiate a service server in the node to use this feature. (This might be integrated into ROS standards in the future.) For easy service server generation, you can use the [LoggerLevelConfigure](https://github.com/autowarefoundation/autoware.universe/blob/main/common/autoware_universe_utils/include/autoware_universe_utils/ros/logger_level_configure.hpp) utility.

How to use the plugin

In RVIZ2, go to Panels and add LoggingLevelConfigureRVizPlugin. Then, search for the node you’re interested in and select the corresponding logging level to print the logs.

How to add or find your logger name

Because there are no available ROS 2 CLI commands to list loggers, there isn’t a straightforward way to check your logger name. Additionally, the following assumes that you already know which node you’re working with.

For logger as a class member variable

If your class doesn’t have an rclcpp::Logger member variable, you can start by including one yourself:

mutable rclcpp::Logger logger_;

If your node already has a logger, it should, under normal circumstances, be similar to the node’s name.

For instance, if the node name is /some_component/some_node/node_child, the logger_name would be some_component.some_node.node_child.

Should your log not print as expected, one approach is to initially set your logging level in the code to info, like so:

RCLCPP_INFO(logger_, "Print something here.");

This will result in something like the following being printed in the terminal:

[component_container_mt-36] [INFO 1711949149.735437551] [logger_name]: Print something here. (func() at /path/to/code:line_number)

Afterward, you can simply copy the logger_name.

!!! warning

Remember to revert your code to the appropriate logging level after testing.
    RCLCPP_DEBUG(logger_, "Print something here.");
    

For libraries

When dealing with libraries, such as utility functions, you may need to add the logger manually. Here’s an example:

RCLCPP_WARN(
  rclcpp::get_logger("some_component").get_child("some_child").get_child("some_child2"),
      "Print something here.");

In this scenario, the logger_name would be some_component.some_child.some_child2.

CHANGELOG

Changelog for package tier4_logging_level_configure_rviz_plugin

0.2.0 (2025-03-24)

0.1.0 (2025-01-28)

  • unify version to 0.0.0

  • chore: sync files (#11) Co-authored-by: github-actions <<github-actions@github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(path_optimizer): rename package name (#98)

    • refactor(path_optimizer): rename package name

    * rename in graph ---------

  • change avoidance to static_obstacle_avoidance (#62)

  • refactor(motion_utils)!: add autoware prefix and include dir (#53) style(pre-commit): autofix

  • refactor(autoware_universe_utils)!: rename tier4_autoware_utils to autoware_universe_utils (#52) Co-authored-by: kosuke55 <<kosuke.tnp@gmail.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • update logger configuration for behavior path planner dynamic obstacle avoidance (#50) Co-authored-by: M. Fatih Cırıt <<xmfcx@users.noreply.github.com>>

  • chore(rviz_plugin): move peripheral rviz plugin (#27)

    • feat: calibrator tier4 pkg name (#200)
    • feat: change names
    • feat: move pkg to common
    • feat: change pkg name

    * fix: library path (#225) Co-authored-by: taikitanaka3 <<taiki.tanaka@tier4.jp>>

    • feat: add rviz plugin to publish and control the simulated clock (#349)
    • Add tier4_clock_rviz_plugin to publish&control the sim clock in rviz
    • Add step control
    • Fix precommit
    • Update documentation
    • Fix spellcheck
    • Update plugin description and icon
    • Rename package
    • Fix bug with long duration jumps (high speed + low rate)
    • ci: check include guard (#438)
    • ci: check include guard
    • apply pre-commit

    * Update .pre-commit-config.yaml Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    * fix: pre-commit Co-authored-by: Kenji Miyake <<kenji.miyake@tier4.jp>> Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    • chore: sync files (#629)
    • chore: sync files

    * ci(pre-commit): autofix Co-authored-by: kenji-miyake <<kenji-miyake@users.noreply.github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

    • style: fix format of package.xml (#844)
    • refactor: use autoware cmake (#849)
    • remove autoware_auto_cmake
    • add build_depend of autoware_cmake
    • use autoware_cmake in CMakeLists.txt
    • fix bugs
    • fix cmake lint errors
    • chore: upgrade cmake_minimum_required to 3.14 (#856)
    • fix(accel_brake_map_calibrator): rviz panel type (#895)
    • fixed panel type
    • modified instruction for rosbag replay case

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged tier4_logging_level_configure_rviz_plugin at Robotics Stack Exchange

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

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The tier4_logging_level_configure_rviz_plugin package

Additional Links

No additional links.

Maintainers

  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi

Authors

No additional authors.

tier4_logging_level_configure_rviz_plugin

This package provides an rviz_plugin that can easily change the logger level of each node.

tier4_logging_level_configure_rviz_plugin

This plugin dispatches services to the “logger name” associated with “nodes” specified in YAML, adjusting the logger level.

!!! Warning

It is highly recommended to use this plugin when you're attempting to print any debug information. Furthermore, it is strongly advised to avoid using the logging level INFO, as it might flood the terminal with your information, potentially causing other useful information to be missed.

!!! note

To add your logger to the list, simply include the `node_name` and `logger_name` in the [logger_config.yaml](https://github.com/autowarefoundation/autoware.universe/blob/main/common/tier4_logging_level_configure_rviz_plugin/config/logger_config.yaml) under the corresponding component or module. If the relevant component or module is not listed, you may add them yourself.

!!! note

As of November 2023, in ROS 2 Humble, users are required to initiate a service server in the node to use this feature. (This might be integrated into ROS standards in the future.) For easy service server generation, you can use the [LoggerLevelConfigure](https://github.com/autowarefoundation/autoware.universe/blob/main/common/autoware_universe_utils/include/autoware_universe_utils/ros/logger_level_configure.hpp) utility.

How to use the plugin

In RVIZ2, go to Panels and add LoggingLevelConfigureRVizPlugin. Then, search for the node you’re interested in and select the corresponding logging level to print the logs.

How to add or find your logger name

Because there are no available ROS 2 CLI commands to list loggers, there isn’t a straightforward way to check your logger name. Additionally, the following assumes that you already know which node you’re working with.

For logger as a class member variable

If your class doesn’t have an rclcpp::Logger member variable, you can start by including one yourself:

mutable rclcpp::Logger logger_;

If your node already has a logger, it should, under normal circumstances, be similar to the node’s name.

For instance, if the node name is /some_component/some_node/node_child, the logger_name would be some_component.some_node.node_child.

Should your log not print as expected, one approach is to initially set your logging level in the code to info, like so:

RCLCPP_INFO(logger_, "Print something here.");

This will result in something like the following being printed in the terminal:

[component_container_mt-36] [INFO 1711949149.735437551] [logger_name]: Print something here. (func() at /path/to/code:line_number)

Afterward, you can simply copy the logger_name.

!!! warning

Remember to revert your code to the appropriate logging level after testing.
    RCLCPP_DEBUG(logger_, "Print something here.");
    

For libraries

When dealing with libraries, such as utility functions, you may need to add the logger manually. Here’s an example:

RCLCPP_WARN(
  rclcpp::get_logger("some_component").get_child("some_child").get_child("some_child2"),
      "Print something here.");

In this scenario, the logger_name would be some_component.some_child.some_child2.

CHANGELOG

Changelog for package tier4_logging_level_configure_rviz_plugin

0.2.0 (2025-03-24)

0.1.0 (2025-01-28)

  • unify version to 0.0.0

  • chore: sync files (#11) Co-authored-by: github-actions <<github-actions@github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(path_optimizer): rename package name (#98)

    • refactor(path_optimizer): rename package name

    * rename in graph ---------

  • change avoidance to static_obstacle_avoidance (#62)

  • refactor(motion_utils)!: add autoware prefix and include dir (#53) style(pre-commit): autofix

  • refactor(autoware_universe_utils)!: rename tier4_autoware_utils to autoware_universe_utils (#52) Co-authored-by: kosuke55 <<kosuke.tnp@gmail.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • update logger configuration for behavior path planner dynamic obstacle avoidance (#50) Co-authored-by: M. Fatih Cırıt <<xmfcx@users.noreply.github.com>>

  • chore(rviz_plugin): move peripheral rviz plugin (#27)

    • feat: calibrator tier4 pkg name (#200)
    • feat: change names
    • feat: move pkg to common
    • feat: change pkg name

    * fix: library path (#225) Co-authored-by: taikitanaka3 <<taiki.tanaka@tier4.jp>>

    • feat: add rviz plugin to publish and control the simulated clock (#349)
    • Add tier4_clock_rviz_plugin to publish&control the sim clock in rviz
    • Add step control
    • Fix precommit
    • Update documentation
    • Fix spellcheck
    • Update plugin description and icon
    • Rename package
    • Fix bug with long duration jumps (high speed + low rate)
    • ci: check include guard (#438)
    • ci: check include guard
    • apply pre-commit

    * Update .pre-commit-config.yaml Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    * fix: pre-commit Co-authored-by: Kenji Miyake <<kenji.miyake@tier4.jp>> Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    • chore: sync files (#629)
    • chore: sync files

    * ci(pre-commit): autofix Co-authored-by: kenji-miyake <<kenji-miyake@users.noreply.github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

    • style: fix format of package.xml (#844)
    • refactor: use autoware cmake (#849)
    • remove autoware_auto_cmake
    • add build_depend of autoware_cmake
    • use autoware_cmake in CMakeLists.txt
    • fix bugs
    • fix cmake lint errors
    • chore: upgrade cmake_minimum_required to 3.14 (#856)
    • fix(accel_brake_map_calibrator): rviz panel type (#895)
    • fixed panel type
    • modified instruction for rosbag replay case

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged tier4_logging_level_configure_rviz_plugin at Robotics Stack Exchange

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

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The tier4_logging_level_configure_rviz_plugin package

Additional Links

No additional links.

Maintainers

  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi

Authors

No additional authors.

tier4_logging_level_configure_rviz_plugin

This package provides an rviz_plugin that can easily change the logger level of each node.

tier4_logging_level_configure_rviz_plugin

This plugin dispatches services to the “logger name” associated with “nodes” specified in YAML, adjusting the logger level.

!!! Warning

It is highly recommended to use this plugin when you're attempting to print any debug information. Furthermore, it is strongly advised to avoid using the logging level INFO, as it might flood the terminal with your information, potentially causing other useful information to be missed.

!!! note

To add your logger to the list, simply include the `node_name` and `logger_name` in the [logger_config.yaml](https://github.com/autowarefoundation/autoware.universe/blob/main/common/tier4_logging_level_configure_rviz_plugin/config/logger_config.yaml) under the corresponding component or module. If the relevant component or module is not listed, you may add them yourself.

!!! note

As of November 2023, in ROS 2 Humble, users are required to initiate a service server in the node to use this feature. (This might be integrated into ROS standards in the future.) For easy service server generation, you can use the [LoggerLevelConfigure](https://github.com/autowarefoundation/autoware.universe/blob/main/common/autoware_universe_utils/include/autoware_universe_utils/ros/logger_level_configure.hpp) utility.

How to use the plugin

In RVIZ2, go to Panels and add LoggingLevelConfigureRVizPlugin. Then, search for the node you’re interested in and select the corresponding logging level to print the logs.

How to add or find your logger name

Because there are no available ROS 2 CLI commands to list loggers, there isn’t a straightforward way to check your logger name. Additionally, the following assumes that you already know which node you’re working with.

For logger as a class member variable

If your class doesn’t have an rclcpp::Logger member variable, you can start by including one yourself:

mutable rclcpp::Logger logger_;

If your node already has a logger, it should, under normal circumstances, be similar to the node’s name.

For instance, if the node name is /some_component/some_node/node_child, the logger_name would be some_component.some_node.node_child.

Should your log not print as expected, one approach is to initially set your logging level in the code to info, like so:

RCLCPP_INFO(logger_, "Print something here.");

This will result in something like the following being printed in the terminal:

[component_container_mt-36] [INFO 1711949149.735437551] [logger_name]: Print something here. (func() at /path/to/code:line_number)

Afterward, you can simply copy the logger_name.

!!! warning

Remember to revert your code to the appropriate logging level after testing.
    RCLCPP_DEBUG(logger_, "Print something here.");
    

For libraries

When dealing with libraries, such as utility functions, you may need to add the logger manually. Here’s an example:

RCLCPP_WARN(
  rclcpp::get_logger("some_component").get_child("some_child").get_child("some_child2"),
      "Print something here.");

In this scenario, the logger_name would be some_component.some_child.some_child2.

CHANGELOG

Changelog for package tier4_logging_level_configure_rviz_plugin

0.2.0 (2025-03-24)

0.1.0 (2025-01-28)

  • unify version to 0.0.0

  • chore: sync files (#11) Co-authored-by: github-actions <<github-actions@github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(path_optimizer): rename package name (#98)

    • refactor(path_optimizer): rename package name

    * rename in graph ---------

  • change avoidance to static_obstacle_avoidance (#62)

  • refactor(motion_utils)!: add autoware prefix and include dir (#53) style(pre-commit): autofix

  • refactor(autoware_universe_utils)!: rename tier4_autoware_utils to autoware_universe_utils (#52) Co-authored-by: kosuke55 <<kosuke.tnp@gmail.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • update logger configuration for behavior path planner dynamic obstacle avoidance (#50) Co-authored-by: M. Fatih Cırıt <<xmfcx@users.noreply.github.com>>

  • chore(rviz_plugin): move peripheral rviz plugin (#27)

    • feat: calibrator tier4 pkg name (#200)
    • feat: change names
    • feat: move pkg to common
    • feat: change pkg name

    * fix: library path (#225) Co-authored-by: taikitanaka3 <<taiki.tanaka@tier4.jp>>

    • feat: add rviz plugin to publish and control the simulated clock (#349)
    • Add tier4_clock_rviz_plugin to publish&control the sim clock in rviz
    • Add step control
    • Fix precommit
    • Update documentation
    • Fix spellcheck
    • Update plugin description and icon
    • Rename package
    • Fix bug with long duration jumps (high speed + low rate)
    • ci: check include guard (#438)
    • ci: check include guard
    • apply pre-commit

    * Update .pre-commit-config.yaml Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    * fix: pre-commit Co-authored-by: Kenji Miyake <<kenji.miyake@tier4.jp>> Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    • chore: sync files (#629)
    • chore: sync files

    * ci(pre-commit): autofix Co-authored-by: kenji-miyake <<kenji-miyake@users.noreply.github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

    • style: fix format of package.xml (#844)
    • refactor: use autoware cmake (#849)
    • remove autoware_auto_cmake
    • add build_depend of autoware_cmake
    • use autoware_cmake in CMakeLists.txt
    • fix bugs
    • fix cmake lint errors
    • chore: upgrade cmake_minimum_required to 3.14 (#856)
    • fix(accel_brake_map_calibrator): rviz panel type (#895)
    • fixed panel type
    • modified instruction for rosbag replay case

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged tier4_logging_level_configure_rviz_plugin at Robotics Stack Exchange

No version for distro melodic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The tier4_logging_level_configure_rviz_plugin package

Additional Links

No additional links.

Maintainers

  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi

Authors

No additional authors.

tier4_logging_level_configure_rviz_plugin

This package provides an rviz_plugin that can easily change the logger level of each node.

tier4_logging_level_configure_rviz_plugin

This plugin dispatches services to the “logger name” associated with “nodes” specified in YAML, adjusting the logger level.

!!! Warning

It is highly recommended to use this plugin when you're attempting to print any debug information. Furthermore, it is strongly advised to avoid using the logging level INFO, as it might flood the terminal with your information, potentially causing other useful information to be missed.

!!! note

To add your logger to the list, simply include the `node_name` and `logger_name` in the [logger_config.yaml](https://github.com/autowarefoundation/autoware.universe/blob/main/common/tier4_logging_level_configure_rviz_plugin/config/logger_config.yaml) under the corresponding component or module. If the relevant component or module is not listed, you may add them yourself.

!!! note

As of November 2023, in ROS 2 Humble, users are required to initiate a service server in the node to use this feature. (This might be integrated into ROS standards in the future.) For easy service server generation, you can use the [LoggerLevelConfigure](https://github.com/autowarefoundation/autoware.universe/blob/main/common/autoware_universe_utils/include/autoware_universe_utils/ros/logger_level_configure.hpp) utility.

How to use the plugin

In RVIZ2, go to Panels and add LoggingLevelConfigureRVizPlugin. Then, search for the node you’re interested in and select the corresponding logging level to print the logs.

How to add or find your logger name

Because there are no available ROS 2 CLI commands to list loggers, there isn’t a straightforward way to check your logger name. Additionally, the following assumes that you already know which node you’re working with.

For logger as a class member variable

If your class doesn’t have an rclcpp::Logger member variable, you can start by including one yourself:

mutable rclcpp::Logger logger_;

If your node already has a logger, it should, under normal circumstances, be similar to the node’s name.

For instance, if the node name is /some_component/some_node/node_child, the logger_name would be some_component.some_node.node_child.

Should your log not print as expected, one approach is to initially set your logging level in the code to info, like so:

RCLCPP_INFO(logger_, "Print something here.");

This will result in something like the following being printed in the terminal:

[component_container_mt-36] [INFO 1711949149.735437551] [logger_name]: Print something here. (func() at /path/to/code:line_number)

Afterward, you can simply copy the logger_name.

!!! warning

Remember to revert your code to the appropriate logging level after testing.
    RCLCPP_DEBUG(logger_, "Print something here.");
    

For libraries

When dealing with libraries, such as utility functions, you may need to add the logger manually. Here’s an example:

RCLCPP_WARN(
  rclcpp::get_logger("some_component").get_child("some_child").get_child("some_child2"),
      "Print something here.");

In this scenario, the logger_name would be some_component.some_child.some_child2.

CHANGELOG

Changelog for package tier4_logging_level_configure_rviz_plugin

0.2.0 (2025-03-24)

0.1.0 (2025-01-28)

  • unify version to 0.0.0

  • chore: sync files (#11) Co-authored-by: github-actions <<github-actions@github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(path_optimizer): rename package name (#98)

    • refactor(path_optimizer): rename package name

    * rename in graph ---------

  • change avoidance to static_obstacle_avoidance (#62)

  • refactor(motion_utils)!: add autoware prefix and include dir (#53) style(pre-commit): autofix

  • refactor(autoware_universe_utils)!: rename tier4_autoware_utils to autoware_universe_utils (#52) Co-authored-by: kosuke55 <<kosuke.tnp@gmail.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • update logger configuration for behavior path planner dynamic obstacle avoidance (#50) Co-authored-by: M. Fatih Cırıt <<xmfcx@users.noreply.github.com>>

  • chore(rviz_plugin): move peripheral rviz plugin (#27)

    • feat: calibrator tier4 pkg name (#200)
    • feat: change names
    • feat: move pkg to common
    • feat: change pkg name

    * fix: library path (#225) Co-authored-by: taikitanaka3 <<taiki.tanaka@tier4.jp>>

    • feat: add rviz plugin to publish and control the simulated clock (#349)
    • Add tier4_clock_rviz_plugin to publish&control the sim clock in rviz
    • Add step control
    • Fix precommit
    • Update documentation
    • Fix spellcheck
    • Update plugin description and icon
    • Rename package
    • Fix bug with long duration jumps (high speed + low rate)
    • ci: check include guard (#438)
    • ci: check include guard
    • apply pre-commit

    * Update .pre-commit-config.yaml Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    * fix: pre-commit Co-authored-by: Kenji Miyake <<kenji.miyake@tier4.jp>> Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    • chore: sync files (#629)
    • chore: sync files

    * ci(pre-commit): autofix Co-authored-by: kenji-miyake <<kenji-miyake@users.noreply.github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

    • style: fix format of package.xml (#844)
    • refactor: use autoware cmake (#849)
    • remove autoware_auto_cmake
    • add build_depend of autoware_cmake
    • use autoware_cmake in CMakeLists.txt
    • fix bugs
    • fix cmake lint errors
    • chore: upgrade cmake_minimum_required to 3.14 (#856)
    • fix(accel_brake_map_calibrator): rviz panel type (#895)
    • fixed panel type
    • modified instruction for rosbag replay case

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged tier4_logging_level_configure_rviz_plugin at Robotics Stack Exchange

No version for distro noetic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The tier4_logging_level_configure_rviz_plugin package

Additional Links

No additional links.

Maintainers

  • Takamasa Horibe
  • Satoshi Ota
  • Kosuke Takeuchi

Authors

No additional authors.

tier4_logging_level_configure_rviz_plugin

This package provides an rviz_plugin that can easily change the logger level of each node.

tier4_logging_level_configure_rviz_plugin

This plugin dispatches services to the “logger name” associated with “nodes” specified in YAML, adjusting the logger level.

!!! Warning

It is highly recommended to use this plugin when you're attempting to print any debug information. Furthermore, it is strongly advised to avoid using the logging level INFO, as it might flood the terminal with your information, potentially causing other useful information to be missed.

!!! note

To add your logger to the list, simply include the `node_name` and `logger_name` in the [logger_config.yaml](https://github.com/autowarefoundation/autoware.universe/blob/main/common/tier4_logging_level_configure_rviz_plugin/config/logger_config.yaml) under the corresponding component or module. If the relevant component or module is not listed, you may add them yourself.

!!! note

As of November 2023, in ROS 2 Humble, users are required to initiate a service server in the node to use this feature. (This might be integrated into ROS standards in the future.) For easy service server generation, you can use the [LoggerLevelConfigure](https://github.com/autowarefoundation/autoware.universe/blob/main/common/autoware_universe_utils/include/autoware_universe_utils/ros/logger_level_configure.hpp) utility.

How to use the plugin

In RVIZ2, go to Panels and add LoggingLevelConfigureRVizPlugin. Then, search for the node you’re interested in and select the corresponding logging level to print the logs.

How to add or find your logger name

Because there are no available ROS 2 CLI commands to list loggers, there isn’t a straightforward way to check your logger name. Additionally, the following assumes that you already know which node you’re working with.

For logger as a class member variable

If your class doesn’t have an rclcpp::Logger member variable, you can start by including one yourself:

mutable rclcpp::Logger logger_;

If your node already has a logger, it should, under normal circumstances, be similar to the node’s name.

For instance, if the node name is /some_component/some_node/node_child, the logger_name would be some_component.some_node.node_child.

Should your log not print as expected, one approach is to initially set your logging level in the code to info, like so:

RCLCPP_INFO(logger_, "Print something here.");

This will result in something like the following being printed in the terminal:

[component_container_mt-36] [INFO 1711949149.735437551] [logger_name]: Print something here. (func() at /path/to/code:line_number)

Afterward, you can simply copy the logger_name.

!!! warning

Remember to revert your code to the appropriate logging level after testing.
    RCLCPP_DEBUG(logger_, "Print something here.");
    

For libraries

When dealing with libraries, such as utility functions, you may need to add the logger manually. Here’s an example:

RCLCPP_WARN(
  rclcpp::get_logger("some_component").get_child("some_child").get_child("some_child2"),
      "Print something here.");

In this scenario, the logger_name would be some_component.some_child.some_child2.

CHANGELOG

Changelog for package tier4_logging_level_configure_rviz_plugin

0.2.0 (2025-03-24)

0.1.0 (2025-01-28)

  • unify version to 0.0.0

  • chore: sync files (#11) Co-authored-by: github-actions <<github-actions@github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • refactor(path_optimizer): rename package name (#98)

    • refactor(path_optimizer): rename package name

    * rename in graph ---------

  • change avoidance to static_obstacle_avoidance (#62)

  • refactor(motion_utils)!: add autoware prefix and include dir (#53) style(pre-commit): autofix

  • refactor(autoware_universe_utils)!: rename tier4_autoware_utils to autoware_universe_utils (#52) Co-authored-by: kosuke55 <<kosuke.tnp@gmail.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • update logger configuration for behavior path planner dynamic obstacle avoidance (#50) Co-authored-by: M. Fatih Cırıt <<xmfcx@users.noreply.github.com>>

  • chore(rviz_plugin): move peripheral rviz plugin (#27)

    • feat: calibrator tier4 pkg name (#200)
    • feat: change names
    • feat: move pkg to common
    • feat: change pkg name

    * fix: library path (#225) Co-authored-by: taikitanaka3 <<taiki.tanaka@tier4.jp>>

    • feat: add rviz plugin to publish and control the simulated clock (#349)
    • Add tier4_clock_rviz_plugin to publish&control the sim clock in rviz
    • Add step control
    • Fix precommit
    • Update documentation
    • Fix spellcheck
    • Update plugin description and icon
    • Rename package
    • Fix bug with long duration jumps (high speed + low rate)
    • ci: check include guard (#438)
    • ci: check include guard
    • apply pre-commit

    * Update .pre-commit-config.yaml Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    * fix: pre-commit Co-authored-by: Kenji Miyake <<kenji.miyake@tier4.jp>> Co-authored-by: Kenji Miyake <<31987104+kenji-miyake@users.noreply.github.com>>

    • chore: sync files (#629)
    • chore: sync files

    * ci(pre-commit): autofix Co-authored-by: kenji-miyake <<kenji-miyake@users.noreply.github.com>> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

    • style: fix format of package.xml (#844)
    • refactor: use autoware cmake (#849)
    • remove autoware_auto_cmake
    • add build_depend of autoware_cmake
    • use autoware_cmake in CMakeLists.txt
    • fix bugs
    • fix cmake lint errors
    • chore: upgrade cmake_minimum_required to 3.14 (#856)
    • fix(accel_brake_map_calibrator): rviz panel type (#895)
    • fixed panel type
    • modified instruction for rosbag replay case

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged tier4_logging_level_configure_rviz_plugin at Robotics Stack Exchange