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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Voxl_mpa_to_ros

Voxl_mpa_to_ros

Scheduled Pinned Locked Moved Ask your questions right here!
8 Posts 3 Posters 1.7k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    gauravshukla914
    Regular
    wrote on last edited by tom
    #1

    For some reason, when I do -
    roslaunch voxl_mpa_to_ros voxl_mpa_to_ros.launch

    it doesn't seem to work fully. Here's the output -

    voxl:~$ roslaunch voxl_mpa_to_ros voxl_mpa_to_ros.launch 
    ... logging to /home/root/.ros/log/7da4c736-3eb2-11ed-b715-18473db1be57/roslaunch-apq8096-3745.log
    Checking log directory for disk usage. This may take awhile.
    Press Ctrl-C to interrupt
    Done checking log file disk usage. Usage is <1GB.
    
    started roslaunch server http://localhost:57891/
    
    SUMMARY
    ========
    
    PARAMETERS
     * /rosdistro: indigo
     * /rosversion: 1.11.21
    
    NODES
      /
        voxl_mpa_to_ros_node (voxl_mpa_to_ros/voxl_mpa_to_ros_node)
    
    auto-starting new master
    process[master]: started with pid [3764]
    ROS_MASTER_URI=http://localhost:11311
    
    setting /run_id to 7da4c736-3eb2-11ed-b715-18473db1be57
    process[rosout-1]: started with pid [3777]
    started core service [/rosout]
    process[voxl_mpa_to_ros_node-2]: started with pid [3780]
    
    
    MPA to ROS app is now running
    
    Found new interface: qvio_overlay
    Found new interface: stereo
    Found new interface: tracking
    Found new interface: imu1
    Found new interface: qvio
    
    

    And it stops after this. When I do rostopic list on the other terminal, it says unable to communicate with the Master. My bashrc file is correct with correct ROS_MASTER_IP and ROS_IP. Even rqt says the same thing. I plan to see the output of the camera in the rqt viewer.

    Dong LiuD 1 Reply Last reply
    0
    • G Offline
      G Offline
      gauravshukla914
      Regular
      wrote on last edited by
      #2

      Can someone help me with this? Thanks!

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tangotoo
        Contributor
        wrote on last edited by
        #3

        I don't know if its related to your problem, but I had a lack of communication issue between voxl-vision and my PX4 and it was due to an additional process, voxl-mavlink-server not running. You may want to check if there are any other supporting processes you need running first in order to bring up ROS. I'm not a ROS user, so I can't help too much in that regard.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gauravshukla914
          Regular
          wrote on last edited by
          #4

          @modaltb @Ed-Sutter @tom @Alex-Gardner anyone?

          1 Reply Last reply
          0
          • G gauravshukla914

            For some reason, when I do -
            roslaunch voxl_mpa_to_ros voxl_mpa_to_ros.launch

            it doesn't seem to work fully. Here's the output -

            voxl:~$ roslaunch voxl_mpa_to_ros voxl_mpa_to_ros.launch 
            ... logging to /home/root/.ros/log/7da4c736-3eb2-11ed-b715-18473db1be57/roslaunch-apq8096-3745.log
            Checking log directory for disk usage. This may take awhile.
            Press Ctrl-C to interrupt
            Done checking log file disk usage. Usage is <1GB.
            
            started roslaunch server http://localhost:57891/
            
            SUMMARY
            ========
            
            PARAMETERS
             * /rosdistro: indigo
             * /rosversion: 1.11.21
            
            NODES
              /
                voxl_mpa_to_ros_node (voxl_mpa_to_ros/voxl_mpa_to_ros_node)
            
            auto-starting new master
            process[master]: started with pid [3764]
            ROS_MASTER_URI=http://localhost:11311
            
            setting /run_id to 7da4c736-3eb2-11ed-b715-18473db1be57
            process[rosout-1]: started with pid [3777]
            started core service [/rosout]
            process[voxl_mpa_to_ros_node-2]: started with pid [3780]
            
            
            MPA to ROS app is now running
            
            Found new interface: qvio_overlay
            Found new interface: stereo
            Found new interface: tracking
            Found new interface: imu1
            Found new interface: qvio
            
            

            And it stops after this. When I do rostopic list on the other terminal, it says unable to communicate with the Master. My bashrc file is correct with correct ROS_MASTER_IP and ROS_IP. Even rqt says the same thing. I plan to see the output of the camera in the rqt viewer.

            Dong LiuD Offline
            Dong LiuD Offline
            Dong Liu
            Contributor
            wrote on last edited by Dong Liu
            #5

            @gauravshukla914

            Don't know it is related. But I had the same experience. You can't rostopic list because the ROS_MASTER_URI and ROS_IP are not set correctly.

            There is file /home/root/my_ros_env.sh which defines these two variables. Need to be changed to reflect the real values.

            Dong

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gauravshukla914
              Regular
              wrote on last edited by
              #6

              @Dong-Liu yes that's correct. Everytime a master ip or ros ip changes, I make sure to give the corrects IPs in the bachrc file and source it. This is not the issue, but thanks for the suggestion though!

              1 Reply Last reply
              0
              • G Offline
                G Offline
                gauravshukla914
                Regular
                wrote on last edited by
                #7

                This is solved. I'm made to source my_ros_env.sh file everytime before launching the mpa file. But this never used to happen before. Anyway for now its working by sourcing the my_ros_env.sh everytime. Thanks all!

                Dong LiuD 1 Reply Last reply
                0
                • G gauravshukla914

                  This is solved. I'm made to source my_ros_env.sh file everytime before launching the mpa file. But this never used to happen before. Anyway for now its working by sourcing the my_ros_env.sh everytime. Thanks all!

                  Dong LiuD Offline
                  Dong LiuD Offline
                  Dong Liu
                  Contributor
                  wrote on last edited by Dong Liu
                  #8

                  @gauravshukla914 I also noticed it. Somehow on the drone's ROS indigo system. roslaunch voxl_mpa_to_ros voxl_map_to_ros.launch won't honor the existing ROS_MASTER_URI, it always source ROS_MASTER_URI etc from my_ros_env.sh

                  1 Reply Last reply
                  1

                  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