RO2 communication, I see topics not the data when is a customMsg
Hi everyone
I have 2 machines. A WS machine with ROS2 and a Ubuntu 20.04 with ROS2 (same distro foxy). If I connect them to the same network they already see each others. I did some test with basics pub and sub nodes from one pc to another and it works correctly, i'm saving the ros2bag on the Ubuntu machine
Then I basically kept the same pub node on the WS machine but sending a custom message (very simple) instead of hello world 1, 2, 3...
On the Ubuntu machine i can see the topic in which WS is publishing with ros2 topic list, but ros2 topic echo is not working. When i try, it gives me a long error and at the end: ModuleNotFoundError: No module named 'ros2basics' (where ros2basics is the package containing the pub node on the WS machine)
What is this? is it a network issue? I would not say that since with std msgs it works fine. Shall I declare that package in some places in my Ubuntu machine?
Thanks