Run ROS2 on Multiple Machines (ROS_DOMAIN_ID explained)

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

ความคิดเห็น • 23

  • @edubob3012
    @edubob3012 10 หลายเดือนก่อน +7

    If you are stuck, I initially could only get pinging to work from both computers, one pc was vm with ubuntu and the other an actual pc with ubuntu. In vm turns out the networking connection must be Bridged. then in both Pcs you have to disable firewall within ubuntu by Sudo ufw disable. The ros2 talker listener should work then after. Also on windows that my vm with ubuntu is on, in Mcaffee if you have it installed it will block the ping requests so disable the mcaffee firewall.

  • @christophekumsta522
    @christophekumsta522 ปีที่แล้ว +6

    Hello, I discovered your courses through Udemy (ROS2 for beginners) and it's been the best experience I ever got!
    Thank you for sharing all that.
    Christophe.

  • @gxbmb
    @gxbmb ปีที่แล้ว +11

    hmmm, not sure why it doesnt work for me, my ping test worked for both machines, the listener is not receiving anything though one machine is VM, the other is raspberry pi

    • @21area21
      @21area21 3 หลายเดือนก่อน

      Same issue I'm running into. Did you ever figure it out?

  • @nerevarine87
    @nerevarine87 ปีที่แล้ว

    Simple and well-explained, thank you.

  • @petebaker5369
    @petebaker5369 13 วันที่ผ่านมา

    Hi, is it possible to do this between a windows and a linux pc?

  • @minhducvu8282
    @minhducvu8282 ปีที่แล้ว +1

    Have you modified something to the network setting in the Oracle VM? I can't repeat this tutorial successfully. Furthermore, the command "ros2 multicast listener" executed without any feedback in both pc and companion computer.

  • @dprobotix
    @dprobotix 11 หลายเดือนก่อน

    hi, how does it work if you connect two computers directly via ethernet cable, I tried few days looking at the Issue, I could not make it work , do you have an idea ?.

  • @maguirekrist4033
    @maguirekrist4033 ปีที่แล้ว +1

    I've spent 12 hours trying to debug my connection issues, still not results. I've verified the pinging and the IPs network prefix matches, same ROS_DOMAIN_ID, same ROS2 distribution, and I get nothing. What could be wrong?

    • @RoboticsBackEnd
      @RoboticsBackEnd  ปีที่แล้ว

      Hard to say, but yes probably a network issue. You can try first without setting ROS_DOMAIN_ID at all, and if the 2 machines cannot communicate with ROS2, then try to fix the network.

    • @Dawsatek22
      @Dawsatek22 ปีที่แล้ว

      @@RoboticsBackEnd how do remove ros domain id ?

    • @Ali_AKB_GH
      @Ali_AKB_GH ปีที่แล้ว

      you need to disable ufw or on each machine running ROS, allow udp multicast in ufw.
      Check this
      answers.ros.org/question/300370/ros2-talker-cannot-communicate-with-listener/

    • @Dawsatek22
      @Dawsatek22 ปีที่แล้ว

      @@Ali_AKB_GH thank you i solved the problem it was the firewall that gave me troubles

  • @matheusdantas8255
    @matheusdantas8255 ปีที่แล้ว

    In this case you use the oracle VM. There is a way to do the same thing with wls2 that you showed in the last video?
    I've tried before by myself and could not connect the wsl2 and my other notebook.

    • @RoboticsBackEnd
      @RoboticsBackEnd  ปีที่แล้ว +1

      Good question! And from what I found on the Internet it does not seem that trivial to do. Here's something to start with: superuser.com/questions/1622598/wsl2-172-xxx-xxx-xxx-ip-address-thing

  • @TasosManolidis
    @TasosManolidis ปีที่แล้ว

    Good afternoon i try to Connect mine and test with Ping and the problem is i found only the raspi 4 via Ubuntu and virtual box to windows 10(like your amazing course for ros2) but from raspi can’t fint nothing I try also the ufw but nothing what else can I check

    • @RoboticsBackEnd
      @RoboticsBackEnd  ปีที่แล้ว

      If you can ping from your computer to your Raspberry Pi it should also work the other way around. Maybe just try to start some nodes and see if the communication works?

    • @TasosManolidis
      @TasosManolidis ปีที่แล้ว

      @@RoboticsBackEnd first I tried that after o check with rqt and then with pink but no response

    • @brockmarks3984
      @brockmarks3984 ปีที่แล้ว

      I have same issue, anyone have a solution?

    • @TasosManolidis
      @TasosManolidis ปีที่แล้ว

      @@brockmarks3984 hi if you using virtual machine is not working I do t know why but I test with laptop with Ubuntu installed is working fine

    • @Dawsatek22
      @Dawsatek22 ปีที่แล้ว

      have you turned the firewall on or set it up to deny incoming status ?