Open thetaleofnarutouzumaki opened 3 years ago
Hello, Mithun.
Unfortunately, Python source code was never fully supported. I (the author and maintainer) have only implemented support for C++. The Python parser was an external contribution. But this does not mean that it won't work in your case.
I am going to run some tests on my side and let you know more.
Meanwhile, we can go through some basic pitfalls, to make sure everything is set up correctly.
rospack find MY_PACKAGE
, does it return a path to the source code?--ws /path/to/catkin/workspace
and --no-cache
. Same output?If all else fails, feel free to run the analysis again in debug mode.
python3 haros-runner.py --debug full ...
You will find a ~/.haros/log.txt
file that you can share with me, so I can try to pinpoint the problem.
After running a few tests on a minimal Python package, I can confirm that it is not working. I will see if I can fix some of the issues and release an update.
This does not invalidate my previous comment. You can still go through those steps/questions and let me know further details.
Hi @Balussery I went on a bug hunt and fixed multiple issues that were affecting Python parsing. Please update to HAROS v3.10.18 and bonsai v0.6.8.
Both are available via pip
.
Hi,
I am trying to parse a python ros node to get the list of topics, services and parameters. It's finding a bit difficult for me. Can someone help with this use case? I've tried to add a launch file with the node and add the configuration as below.
Command
Logs
Result is this: