Skip to content

Reference

dendROS.yaml — group keys

Key Required Type Description
color yes string Color for this group. See Colors.
label no string Short badge text shown as [LOC]. "" = no badge.
nodes yes list Node name patterns to match (supports fnmatch wildcards).
show_tag no bool false suppresses the badge for this group only.
color_mode no string tag_only or full_line. Overrides the package/global setting for this group.
tag_style no string normal or inverted. Overrides badge style for this group.
highlight / highlights no list Keyword entries to highlight within this group's output lines. See Keyword highlighting.

dendROS.yaml — defaults keys

Key Default Type Description
color_mode tag_only string tag_only or full_line.
show_group_tag true bool Show badges in ros2 launch / ros2 run output for all groups in this package.
tag_position before string before or after — badge position relative to [node-N].
tag_style normal string normal or inverted — badge appearance.
unmatched_color null string|null Color for nodes not in any group.
unmatched_tag null string|null Badge for unmatched nodes. Only shown when unmatched_color is set.
dim_unmatched false bool Dim unmatched nodes. Only when unmatched_color: null.
colorize_launch_msgs true bool Colorize [INFO] [node-N]: … lifecycle lines.
show_timestamp true bool Show the [timestamp] bracket in node log lines for this package.
show_logger_name true bool Show the [logger_name] bracket in node log lines for this package.
highlight / highlights [] list Keyword entries applied to all matched nodes in this package. See Keyword highlighting.

Global config — all keys

Stored in ~/.config/dendROS/defaults.yaml, managed via dendros config:

Key Default Description
color_mode tag_only Global default output mode.
show_tag_launch true Show badges in ros2 launch / ros2 run output globally.
show_tag_cli true Show badges in every colorized ros2 CLI command (node list/info, topic list, service list, action list, param list/describe).
tag_position before before or after — badge position relative to [node-N] in launch/run output and ros2 node list/info.
tag_style normal normal or inverted — badge appearance globally.
unmatched_color null Global fallback color for unmatched nodes.
unmatched_tag null Global badge for unmatched nodes.
dim_unmatched false Dim unmatched nodes globally.
show_default_services true When false, hide standard ROS 2 system services from ros2 service list output.
topic_sort default default = ros2 alphabetical order; group = system topics first, then by publisher group.
debug false Print debug output on startup.
config_merge true Merge configs from included packages.
colorize_launch_msgs true Colorize lifecycle lines globally.
show_timestamp true Show the [timestamp] bracket in node log lines globally.
show_logger_name true Show the [logger_name] bracket in node log lines globally.
ignore_bold false Strip the bold modifier everywhere colors are resolved (launch/run, TUI, all CLI commands). Compatibility fix for terminals that brighten bold foreground text but not backgrounds — see Troubleshooting.
launch_mode tui tui opens ros2 launch in the full-screen viewer; classic prints to the terminal. See TUI Mode.
tui_scrollback_lines 5000 Lines kept by TUI mode.
crash_alert true Print an inline banner when a node dies unexpectedly.
crash_alert_color node node = use group color; red = always bold red.
crash_alert_interval 30 Seconds between periodic banner reprints. 0 = only on new crashes.
traceback_color fancy fancy = bold red header + dim red frames; red = all bold red; off = passthrough.
param_change_alert true Print inline notification on runtime parameter changes.
param_change_alert_scope tracked tracked = only config-listed nodes; all = entire graph.
param_change_alert_style inline inline = compact line; inverted = white-background strip across the line.
init_modify_build true dendros init: patch build files.
init_on_existing abort dendros init: abort, merge, or overwrite.
init_color palette dendros init: palette or null.
init_color_bold false dendros init: prefix palette colors with bold.
init_label false dendros init: auto-generate labels.

ros2 — intercepted subcommands

The ros2() shell wrapper intercepts specific subcommands; everything else calls the real ros2 binary directly:

Subcommand Behavior
ros2 launch … Output piped through the DendROS colorizer; opens in the full-screen viewer unless launch_mode: classic.
ros2 run … Output piped through the DendROS colorizer.
ros2 node list Output piped through dendros_node_list.py — nodes colored by group. See ros2 node list.
ros2 node info … Output piped through dendros_node_info.py — node name, sections, and entries colorized by group. See ros2 node info.
ros2 service list Output piped through dendros_service_list.py — services colored by owning node; default system services dimmed. See ros2 service list.
ros2 action list Output piped through dendros_action_list.py — actions colored by owning node. See ros2 action list.
ros2 param list Output piped through dendros_param_list.py — node headers colored, param lines dimmed. See ros2 param list.
ros2 param describe Output piped through dendros_param_describe.py — badge + colored param name, dim labels, bold section headers. See ros2 param describe.
ros2 topic list Output piped through dendros_topic_list.py — topics colored by primary publisher group, pub/sub count blocks, badge left. -v verbose: bold headers, dim types. See ros2 topic list.
Everything else Passed directly to the real ros2 binary, untouched.

dendros — subcommands

Subcommand Description
dendros config Open the interactive global-settings TUI.
dendros init Scaffold config/dendROS.yaml from launch files. See flags below.
dendros disable Disable colorization system-wide — every terminal, including an already-running ros2 launch, switches to plain passthrough within about a second. Also sets DENDROS_DISABLE=1 in the current shell.
dendros enable Re-enable colorization system-wide. Also unsets DENDROS_DISABLE in the current shell.
dendros reopen Reopen this terminal's last TUI launch, read-only. See Reopen the last run.
dendros focus <node>... Send focus to a running TUI launch.
dendros level [lvl] Send level to a running TUI launch (no level removes the filter).
dendros grep [text] Send grep to a running TUI launch (no text removes the filter).
dendros find <text> Send find to a running TUI launch.
dendros mute <node> Send mute to a running TUI launch.
dendros unmute <node\|all> Send unmute to a running TUI launch.
dendros clear Send clear to a running TUI launch.
dendros mark [label] Send mark to a running TUI launch.
dendros tee <file> [-c] [-a] Send tee to a running TUI launch; relative paths resolve in the current directory.

Tab completion is available for all subcommands, dendros init flags and dendros level values after sourcing dendROS.sh. The commands sent to a running TUI are described in Remote Control & Reopen.


TUI console commands

Typed after \ in TUI mode; Up / Down recall earlier commands. See Console Commands for details and keys.

Command Description
focus <node>... Show only the lines of the listed nodes (process name or logger name).
level [lvl] Show lines at debug/info/warn/error/fatal or worse; lines without a level stay visible. No argument removes the filter.
grep [text] Show only lines containing the text (smart case), with the matches highlighted. No argument removes the filter.
find <text> Jump to lines containing the text; Tab / Shift+Tab step older / newer.
mute <node> Hide one node's lines until unmute or clear.
unmute <node\|all> Show a muted node again, or all of them.
mark [label] Insert a timestamped separator line; marks stay visible under every filter.
tee <file> [-c] [-a] Save the lines currently shown (filters applied) to a file; -c keeps colors, -a appends.
clear Remove all filters and mutes, end any find.
help Show all commands and keys.

Environment variables

Variable Effect
DENDROS_DISABLE=1 Bypass DendROS in this shell or for one command. See Enable & Disable.
DENDROS_DEBUG=1 Print the config summary and node-to-color map to stderr at startup.

dendros init — CLI flags

Flag Alias Description
--recursive -r Follow launch file includes into external packages (BFS, cycle-safe).
--labels -l Auto-generate short uppercase labels from package names.

Node matching rules

Matching is performed in this order; first match wins:

  1. Exact full-path — /ns/talker matches only nodes at that exact path
  2. Exact basename — talker matches [talker-1] under any namespace
  3. Wildcard full-path — */amcl matches /robot/amcl, /ns/amcl, …
  4. Wildcard basename — nav2_* matches nav2_controller, nav2_planner, …

fnmatch syntax: * (any chars), ? (one char), [seq] (character class). The numeric instance suffix (-N) is stripped before matching.