How can I connect the topics on a raspberry pi 4 and a computer through ros 2?
I know that ros2 can connect the topics of different computer through the loca lnetwork, but I am trying to read a topic in mi pc from a raspberry, but it does not appear, I am using ROS2 humble. Some idea, how fix that, usually in ros 1 we have a master uri and slave to export this topics information, but hear is not a step by step to follow.
Asked by Roscon on 2023-03-22 17:03:13 UTC
Answers
First of all check that the Raspberry Pi is pingable. If that is the case check the ROS_DOMAIN_ID on both machines (echo $ROS_DOMAIN_ID
).
If the ROS_DOMAIN_ID is not equal you can set it to the same value (e.g. 1) by executing : export ROS_DOMAIN_ID=1
on both machines.
Asked by nils_iseke on 2023-03-24 06:55:13 UTC
Comments