Skip to content

How to communicate with raspi via ethertnet #164

Closed Answered by gabrik
uhobeike asked this question in Q&A
Discussion options

You must be logged in to vote

Domain 0 is fine, and from the log we can see that topics are discovered and routes are created.

I think you should set ROS_LOCALHOST_ONLY and configure Cyclone to use the lo interface, in the bridge it is enough to pass --ros-localhost-only

So on the PC:

docker run --rm     --net=host     -e ROS_DISTRO=humble     -e RMW_IMPLEMENTATION=rmw_cyclonedds_cpp  -v "/home/ikebe:/home/ikebe"   --name zenoh     eclipse/zenoh-bridge-ros2dds:latest -c /home/ikebe/DEFAULT_CONFIG.json5 --ros-localhost-only

ros2 run demo_nodes_cpp talker

on the PI:

docker run --rm     --net=host     -e ROS_DISTRO=humble     -e RMW_IMPLEMENTATION=rmw_cyclonedds_cpp    -v "/home/ubuntu:/home/ubuntu"  --name zenoh     e…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@uhobeike
Comment options

@uhobeike
Comment options

@gabrik
Comment options

Answer selected by uhobeike
@uhobeike
Comment options

@gabrik
Comment options

@uhobeike
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants