Closed Raphtor closed 2 years ago
Hello,
no, there are no hardcoded paths and this has nothing to do with the error. The paths you are getting come from debug symbols which are also included in the unity package.
As for the issue, it looks like there is a problem with creating ros2 node. Could you provide a full editor log?
Also could you:
ros2 topic pub ...
, ros2 topic echo ...
),<PROJECT_DIR>Assets/Ros2ForUnity/Plugins/Linux/x86_64
to your LD_LIBRARY_PATH
before running editor,foxy
is the only sourced ROS2 version, maybe there is galactic
in your ~/.profile
/~/.bashrc
that you are not aware of? (I see that you wrote that you are using foxy
, but this error looks like the ros versions mismatch),rmw_fastrtps_cpp
as a DDS middleware?@Raphtor any luck with the error following @pijaro explainations?
Yes, I tried all of those. I ended up just using the ROS2 solution supported by Unity via their TCP connector.
Describe the bug I am getting a runtime error when running the example. I cannot see either node with
ros2 topic list
orros2 node list
.The error
Note:
/home/pjaroszek/projects/robotec/tasks/github/ros2-for-unity/release-1.1/ros2-for-unity-foxy/src/ros2cs/src/ros2cs/ros2cs_core/Node.cs:61
is not a path on my system. @pijaro it seems that your paths are hard coded somewhere in the release?To Reproduce Steps to reproduce the behavior:
Expected behavior The nodes talk to each other, and I can see them with
ros2 topic list
andros2 node list
Screenshots
Desktop (please complete the following information):
Additional context N/A