Code Monkey home page Code Monkey logo

Comments (4)

triplekiller avatar triplekiller commented on August 25, 2024 1

route add -net 224.0.0.0 netmask 240.0.0.0 dev lo
ifconfig lo multicast

After running the above cmds, talker/listener demo works. Thanks for your help.

from ros2-toolchain-crosscompile.

emersonknapp avatar emersonknapp commented on August 25, 2024

Are you running the demo on an actual arm64 device? It is important to note that ROS2 multicast communication doesn't work in QEMU.

from ros2-toolchain-crosscompile.

triplekiller avatar triplekiller commented on August 25, 2024

Are you running the demo on an actual arm64 device? It is important to note that ROS2 multicast communication doesn't work in QEMU.

Yes. I run the demo in an actual arm64 device. And the print log of "route -n" is:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 eth0

I guess it means my arm64 linux kernel support multicast.

from ros2-toolchain-crosscompile.

emersonknapp avatar emersonknapp commented on August 25, 2024

I'm not sure exactly how to read the output of route -n to tell if multicast is enabled. Does that tell you that it is?

I think if netstat -g has an all-systems.mcast.net output, then it is enabled.

Other than that, I'm not that experienced with debugging network communication issues in ROS2.

from ros2-toolchain-crosscompile.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.