I am able to get the pipeline.json file in ROS2 with i_pipeline_dump: true
, but I could not view it with neither the pipeline_editor(https://github.com/luxonis/depthai-gui) nor pipeline_graph(https://github.com/geaxgx/depthai_pipeline_graph).
The pipeline_editor throws an error when i try to run it with python3 pipeline_editor.py
:
ImportError: /home/nelson/.local/lib/python3.10/site-packages/PyQt5/QtCore.abi3.so: undefined symbol: _ZdlPvm, version Qt_5
I could fix this in here with:
from Qt import QtGui, QtCore
#from PyQt5.QtCore import QRegExp
and use QtCore.QRegExp
instead.
However when loading the pipeline.json I got an error:
File "/home/nelson/depthai-gui/NodeGraphQt/base/graph.py", line 1367, in _deserialize
for n_id, n_data in data.get('nodes', {}).items():
AttributeError: 'list' object has no attribute 'items'
Please let me know which version of pipeline_editor/viewer that is supported, thanks!
PS: I could not upload the json file here, let me know if you want me to paste the raw text directly.