• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    Having issues Configuring ROS on VOXL CAM

    VOXL-CAM
    5
    21
    1.6k
    Loading More Posts
    • 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.
    • B
      Bright Nnadi @Steve Turner
      last edited by 8 Aug 2022, 20:16

      @Steve-Turner I updated the ROS_MASTER_URI but its still saying the same thing and saying it cannot contact ROS master 9d7d2f01-d129-4a8b-b506-ff4ef018423a.jpg

      1 Reply Last reply Reply Quote 0
      • B
        Bright Nnadi
        last edited by 8 Aug 2022, 20:22

        Saying the same thing 0f949cb3-ad26-4db0-b6b4-1a0998e38e3d.jpg

        1 Reply Last reply Reply Quote 0
        • C
          Chad Sweet ModalAI Team
          last edited by 10 Aug 2022, 01:47

          Assuming you are trying to run ROS master on your VOXL, first find out what is your VOXL's IP? Let's call that <VOXL IP>

          Then, can you ping that IP from the computer you are trying to run Rviz?

          $ ping <VOXL IP>
          

          If so, on VOXL edit your ROS environment

          export ROS_IP="<VOXL IP>"
          

          Then start ROS on the VOXL. Monitor the output of the ROS master when it launches, you should see the "roscore" IP the same as what you just configured.

          If so, configure the ROS environment on your PC

          What is the IP of your PC on the same network as the VOXL? We'll call that <PC IP>

          Configure the PC's ROS environment as such:

          export ROS_MASTER_URI="http://<VOXL IP>:11311"
          export ROS_IP="<PC IP>"
          

          Then launch RViz

          Note: The instructions above are configuring the master to be the VOXL by pointing both VOXL and the PC to the VOXL's IP address as master. Checkout slides 7,8,9 in the presentation here

          B K 3 Replies Last reply 10 Aug 2022, 18:53 Reply Quote 0
          • B
            Bright Nnadi @Chad Sweet
            last edited by 10 Aug 2022, 18:53

            @Chad-Sweet thanks Chad, so I got Rviz working now !![0_1660157598192_05B72248-F814-4C2F-947E-4443E4FB94F3.jpeg](Uploading 45%)

            1 Reply Last reply Reply Quote 0
            • B
              Bright Nnadi
              last edited by 10 Aug 2022, 19:55

              Is the IP address of my VOXL CAM 192.168.8.1

              1 Reply Last reply Reply Quote 0
              • B
                Bright Nnadi @Chad Sweet
                last edited by 11 Aug 2022, 14:03

                @Chad-Sweet I’m connected to the VOXL using Adb not wifi

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by 11 Aug 2022, 18:36

                  ROS uses wifi to communicate, not ADB. You'll need to connect the drone and you computer to the same network in order to use ros. This can either be done by connecting the drone to your home/work network or by setting the drone to serve as an AP. Instructions for either can be found here

                  K 2 Replies Last reply 22 Aug 2022, 16:59 Reply Quote 0
                  • K
                    Kris @Chad Sweet
                    last edited by Kris 18 Aug 2022, 13:26 18 Aug 2022, 13:24

                    @Chad-Sweet I am also having the same issue. I am not sure what im doing wrong.

                    This is my PC (my_ros_env.sh)
                    PC my_ros_env.sh.png

                    This is my VOXL (my_ros_env.sh)
                    VOXL my_ros_env.sh.png

                    This is what I get when I try to show my voxl-env
                    VOXL env.png

                    Setting up environment variables for ROS is a little confusing for me.

                    I am using wifi to communicate with VOXL.
                    My VOXL IP is the usual 192.168.8.1
                    My PC IP is 192.168.8.78

                    I am stuck here.
                    Could someone please point me in the right direction?

                    K 1 Reply Last reply 22 Aug 2022, 16:34 Reply Quote 0
                    • K
                      Kris @Kris
                      last edited by 22 Aug 2022, 16:34

                      Just wondering why my voxl environments are all blank everytime I try to view them. Should I " export " the values manually?

                      1 Reply Last reply Reply Quote 0
                      • K
                        Kris @Guest
                        last edited by 22 Aug 2022, 16:59

                        My Voxl System Image-
                        Voxl System Image Version.png

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kris @Guest
                          last edited by 22 Aug 2022, 17:11

                          My current voxl services-
                          Voxl Inspect Services.png

                          1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User
                            last edited by 22 Aug 2022, 17:51

                            Hi,

                            It looks like you're on a pretty old release of our software stack (3.3.0-0.5), you should download the latest release (3.8.0-0.7) from our downloads page and we'll be better able to support issues that you're having since there's a good chance we've fixed them in the 10 months since the 0.5 release.

                            K 1 Reply Last reply 23 Aug 2022, 16:41 Reply Quote 0
                            • K
                              Kris @Guest
                              last edited by 23 Aug 2022, 16:41

                              @Alex-Gardner Thank you for your help šŸ™‚

                              1 Reply Last reply Reply Quote 0
                              9 out of 21
                              • First post
                                9/21
                                Last post
                              Powered by NodeBB | Contributors