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 Dear RosNodeViewer
pipx install dear-ros-node-viewer --system-site-packages
# 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.5.tar.gz
(264.0 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.5.tar.gz.
File metadata
- Download URL: dear_ros_node_viewer-1.1.5.tar.gz
- Upload date:
- Size: 264.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
944c5594939cea4e8119dbe0df2b4a1468c4ea6c4e3bf608a262159010998c8b
|
|
| MD5 |
a9a4020ac632ab27c39fa66f1df1c4c7
|
|
| BLAKE2b-256 |
c2042e2a3dff302c75bf8fbb4827110c2ef89d6361331aaf1428e1df6e366076
|
File details
Details for the file dear_ros_node_viewer-1.1.5-py3-none-any.whl.
File metadata
- Download URL: dear_ros_node_viewer-1.1.5-py3-none-any.whl
- Upload date:
- Size: 127.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
486aac847abb79cfea590c151143f64e15a0717362d00e707a23fd723278e192
|
|
| MD5 |
6ebcdb245de3b08ced71ffc15f962c9d
|
|
| BLAKE2b-256 |
5ce4d813b7b2ee223e98b9ed447c4873e07dc0a6da54064d8c1927a893b9514d
|