dear_ros_node_viewer
Project description
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 or 22.04
- graphviz is required
- optional: ROS 2 Galactic or Humble if you need runtime ROS graph analysis
- e.g.,
sudo apt install ros-humble-rqt-graph,sudo apt install ros-humble-desktop
- e.g.,
- Not tested in Windows / Mac
Get Started
# Install requirements
sudo apt install graphviz
# Install Dear RosNodeViewer
pip install dear-ros-node-viewer
# Download sample graph
wget https://raw.githubusercontent.com/iwatake2222/dear_ros_node_viewer/main/sample/architecture_autoware.yaml
# Run Dear RosNodeViewer
dear_ros_node_viewer architecture_autoware.yaml
- Quick operation guide:
- Middle button drag: move graph area
- Mouse scroll: zoom in/out (zoom function is tentative)
How to Use
Development
Setup
git clone https://github.com/iwatake2222/dear_ros_node_viewer.git
cd dear_ros_node_viewer
pip install -e .
pip install -r requirements.txt
Running Tests
# Run all tests
pytest tests/ -v
# Run with coverage
pytest --doctest-modules -v --cov=./src/dear_ros_node_viewer
# Run single test file
pytest tests/test_caret2networkx.py -v
Linting
flake8 . --exclude=.venv --count --select=E9,F63,F7,F82 --show-source --statistics
pylint ./src/dear_ros_node_viewer --disable=E0401,W1203,C0301
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dear_ros_node_viewer-1.1.2.tar.gz
(263.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dear_ros_node_viewer-1.1.2.tar.gz.
File metadata
- Download URL: dear_ros_node_viewer-1.1.2.tar.gz
- Upload date:
- Size: 263.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45e0e1fc5872756316f71d79bfe24f908d5e8144805016d277e2f9c64406125c
|
|
| MD5 |
656c955c12a9d71f7df9faf4b6875eaf
|
|
| BLAKE2b-256 |
5e7fb90cd3bd9dbea3f2b68afe47384526a90788c817f569265a59852f0759e0
|
File details
Details for the file dear_ros_node_viewer-1.1.2-py3-none-any.whl.
File metadata
- Download URL: dear_ros_node_viewer-1.1.2-py3-none-any.whl
- Upload date:
- Size: 125.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5fb375d139268f3e2c5a058a56f77cc77e6a7b97667e67e13b50f5283579eaa
|
|
| MD5 |
2d50ae60a2d979eb0cb137cab80afff2
|
|
| BLAKE2b-256 |
1569df266a631146976921af65aa0f7b80b4091d110d0f6624d50ae134cb4e8e
|