/dear_ros_node_viewer

Dear RosNodeViewer: Visualize ROS2 Node Graph

Primary LanguagePythonApache License 2.0Apache-2.0

Dear RosNodeViewer logo

demo.mp4

Python application PyPI Publish

Dear RosNodeViewer

About

  • Visualize ROS2 node diagram
  • Support the following sources:
    • architecture.yaml generated by CARET
    • rosgraph.dot generated by rqt_graph
    • running ROS graph analysis

Requirements

  • Ubuntu 20.04 (Not tested in Windows / Mac)
    • graphviz is required
  • optional: ROS 2 Galactic if you need runtime ROS graph analysis

Get Started

# Install requirements
sudo apt install graphviz graphviz-dev

# Install Dear RosNodeViewer
pip install dear-ros-node-viewer

# Download sample graph
wget https://raw.githubusercontent.com/takeshi-iwanari/dear_ros_node_viewer/main/sample/architecture_autoware.yaml

# Run Dear RosNodeViewer
dear_ros_node_viewer architecture_autoware.yaml
  • Operations:
    • Middle button drag: move graph area
    • Mouse scroll: zoom in/out (zoom function is tentative)

How to Use

See WiKi

Acknowledgements

  • Dear RosNodeViewer utilizes Dear PyGui
    • Dear RosNodeViewer is named in honor of Dear PyGui
  • Dear RosNodeViewer contains Roboto font
    • licensed under the Apache License, Version 2.0.