Skip to content

Quick Start

A complete walkthrough from zero to colorized output.


Step 1 — Install

git clone https://github.com/mlisi1/DendROS
cd DendROS && bash install.sh && source ~/.bashrc

Step 2 — Scaffold a config

Run dendros init from inside your bringup package:

cd ~/ros2_ws/src/my_bringup
dendros init

Recursive mode

If your launch file includes other packages, use --recursive to follow them:

dendros init --recursive          # follow IncludeLaunchDescription / <include>
dendros init --recursive --labels # also auto-generate short badge labels

dendros init --recursive --labels

dendros init --recursive --labels output


Step 3 — Edit the config

Open the generated config/dendROS.yaml and set colors and labels:

groups:
  nav2_bringup:
    color: "bold green"
    label: "NAV"
    nodes:
      - bt_navigator
      - controller_server
      - planner_server

  slam_toolbox:
    color: "bold blue"
    label: "LOC"
    nodes:
      - slam_toolbox

defaults:
  color_mode: tag_only
  show_group_tag: true
  unmatched_color: null

See Configuration for the full format and Colors for all accepted values.


Step 4 — Build and launch

cd ~/ros2_ws
colcon build --packages-select my_bringup
source install/setup.bash
ros2 launch my_bringup main.launch.py

Done

ros2 launch now opens in the DendROS viewer, with your groups colored. No other changes to your launch files or ROS 2 setup are needed.

ros2 launch my_bringup main.launch.py

A launch in the DendROS viewer

Scroll with the mouse wheel or Page Up / Page Down, drag to copy, Ctrl+C to stop the launch and Q to close the viewer. See TUI Mode.


Press \ in the viewer and type a command:

\focus slam_toolbox
\level warn
focus + level + grep

Stacking filters in the viewer

See Console Commands for all of them.

Prefer the classic scrolling output?

Set Launch mode to classic in the Output tab of dendros config, or launch_mode: classic in ~/.config/dendROS/defaults.yaml. ros2 launch then prints colorized output straight to the terminal, as ros2 run always does:

launch_mode: classic

Classic colorized launch output


Turning it off

dendros disable turns DendROS off in every terminal, including launches that are already running; dendros enable turns it back on. To skip it for a single command, prefix it with DENDROS_DISABLE=1. See Enable & Disable.


Next steps