Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. ROS
  4. ROS2 Communication Issues between Ethernet and FOXY

ROS2 Communication Issues between Ethernet and FOXY

Scheduled Pinned Locked Moved ROS
6 Posts 3 Posters 2.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Jeffrey MaoJ Offline
    Jeffrey MaoJ Offline
    Jeffrey Mao
    Contributor
    wrote on last edited by
    #1

    Hi Modalai,

    Currently, we are having trouble connecting to the drone while the drone is connected to the WiFi Network, and we are connected to the wifi network through the Ethernet along with some other communication lag between the drone and our laptops. We can connect to the drone if our laptop is on WiFi network and the drone to the WiFi network desptie it being a bit slow

    Is there any specific settings that ROS2 has have for communications that need to be implemented on the drone to enable the communications on speed up communications in ROS2.

    Thanks

    1 Reply Last reply
    0
    • Jeffrey MaoJ Offline
      Jeffrey MaoJ Offline
      Jeffrey Mao
      Contributor
      wrote on last edited by
      #2

      To Continue on this thread, everything is fine if connect both the VOXL2 board and laptop to Ethernet, but not VOXL2 board to WiFi and Laptop to Ethernet.

      1 Reply Last reply
      0
      • Zachary Lowell 0Z Offline
        Zachary Lowell 0Z Offline
        Zachary Lowell 0
        ModalAI Team
        wrote on last edited by
        #3

        I will look a bit more into this - so when you log into the router is the voxl2 still on the network and is assigned a LAN from the router? Can you still ping the voxl2 from the parent computer when the configuration is the one above. I will troubleshoot this and return with a fix.

        1 Reply Last reply
        0
        • Zachary Lowell 0Z Offline
          Zachary Lowell 0Z Offline
          Zachary Lowell 0
          ModalAI Team
          wrote on last edited by
          #4

          @Jeffrey-Mao I am unable to recreate this issue - can you describe a bit more how ROS2 is playing into this? I have tried all permutations of voxl2 on wifi with dongle vs ethernet cable and my parent computer on wifi vs etherenet - I am always able to ping the voxl2 just fine on its LAN.

          What do you mean by "connecting to the drone" - are you sure the voxl2 is in station mode and not SOFTAP mode? AKA it isnt creating its own WIFI signal. When the voxl2 is on wifi, how are you setting that up? Are you adb into the voxl2 and running voxl-wifi station WIFINAME WIFIPASSWD

          Let me know.
          Zach

          Manohari GoarinM 1 Reply Last reply
          0
          • Zachary Lowell 0Z Zachary Lowell 0

            @Jeffrey-Mao I am unable to recreate this issue - can you describe a bit more how ROS2 is playing into this? I have tried all permutations of voxl2 on wifi with dongle vs ethernet cable and my parent computer on wifi vs etherenet - I am always able to ping the voxl2 just fine on its LAN.

            What do you mean by "connecting to the drone" - are you sure the voxl2 is in station mode and not SOFTAP mode? AKA it isnt creating its own WIFI signal. When the voxl2 is on wifi, how are you setting that up? Are you adb into the voxl2 and running voxl-wifi station WIFINAME WIFIPASSWD

            Let me know.
            Zach

            Manohari GoarinM Offline
            Manohari GoarinM Offline
            Manohari Goarin
            wrote on last edited by Manohari Goarin
            #5

            Hi @Zachary-Lowell-0, I work with @Jeffrey-Mao on ROS2 and Voxl2 at the same lab. Thank you for your help on this issue!
            This is an update and additional details on the problem:

            • We tested 4 different setups:
            1. both laptop and voxl2 drone connected to Wifi,
            2. both laptop and drone on ethernet,
            3. laptop on ethernet and drone on Wifi,
            4. drone on ethernet and laptop on Wifi.
              We connect to the drone from the laptop via ssh. The Voxl2 is in station mode.
            • For all setups, the laptop and the drone can ping each other.
            • We launched a simulation on the drone and published topics. The problem appears when we try to see the messages on the laptop (with ros2 echo). The messages from our topics are not visible, only in configuration 3. However we can echo the /fmu topics. All other configurations are fine.
            • We launched a simulation on the laptop and tried to see the topics and messages on the drone. Everything is visible and fine.

            Is there a limitation on the number of topics/messages that the drone can send?

            Thank you in advance for your insights!

            Jeffrey MaoJ 1 Reply Last reply
            0
            • Manohari GoarinM Manohari Goarin

              Hi @Zachary-Lowell-0, I work with @Jeffrey-Mao on ROS2 and Voxl2 at the same lab. Thank you for your help on this issue!
              This is an update and additional details on the problem:

              • We tested 4 different setups:
              1. both laptop and voxl2 drone connected to Wifi,
              2. both laptop and drone on ethernet,
              3. laptop on ethernet and drone on Wifi,
              4. drone on ethernet and laptop on Wifi.
                We connect to the drone from the laptop via ssh. The Voxl2 is in station mode.
              • For all setups, the laptop and the drone can ping each other.
              • We launched a simulation on the drone and published topics. The problem appears when we try to see the messages on the laptop (with ros2 echo). The messages from our topics are not visible, only in configuration 3. However we can echo the /fmu topics. All other configurations are fine.
              • We launched a simulation on the laptop and tried to see the topics and messages on the drone. Everything is visible and fine.

              Is there a limitation on the number of topics/messages that the drone can send?

              Thank you in advance for your insights!

              Jeffrey MaoJ Offline
              Jeffrey MaoJ Offline
              Jeffrey Mao
              Contributor
              wrote on last edited by
              #6

              For a final wrap-up, we installed ROS2 Humble from Source on Voxl2 this fixed the communication issues.

              We also noticed in Foxy if we we had the following set up on the same device

              Publisher A -> (TOPIC A) Subscriber A (Which Publishes Topic B )

              Topic A publishes 500Hz
              Topic B publishes at 400Hz ish

              In Humble,

              Topic A publishes 500Hz
              Topic B publishes at 500Hz

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              ModalAI
              Categories Recent Tags ModalAI.com Docs
              © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups