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

    connecting Voxl cam and pixhawk cube

    Ask your questions right here!
    3
    8
    570
    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.
    • H
      howard
      last edited by 14 Jul 2022, 08:40

      hey,
      I want to use voxl cam with a external flight controller like pixhawk cube via TELEM2 , I have configured EKF2 parameters (EKF2_AID_MASK=280 and EKF2_HGT_MODE=3) for VIO and have verified MAV_1_CONFIG and other things, I do get Odometry values .But when I switch to HITL , Odometry disappears and also ekf2 status return invalid local position. Do you think it is a firmware issue? what could be wrong?
      Is it a good idea to connect external px4?
      Thanks

      E 1 Reply Last reply 14 Jul 2022, 16:32 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @howard
        last edited by 14 Jul 2022, 16:32

        @keil In HITL you would want odometry to be coming from the simulation. What simulator are you using?

        H 1 Reply Last reply 14 Jul 2022, 16:47 Reply Quote 0
        • H
          howard @Eric Katzfey
          last edited by 14 Jul 2022, 16:47

          @Eric-Katzfey I am using gazebo

          E 1 Reply Last reply 14 Jul 2022, 16:53 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @howard
            last edited by 14 Jul 2022, 16:53

            @keil Okay, gazebo can support odometry. But you will need to configure it properly to do so.

            H 1 Reply Last reply 14 Jul 2022, 17:12 Reply Quote 0
            • H
              howard @Eric Katzfey
              last edited by 14 Jul 2022, 17:12

              @Eric-Katzfey okay can you please provide any reference for that ? Would be really helpful, meanwhile I will also try to search
              Thank you

              1 Reply Last reply Reply Quote 0
              • Z
                Zachary Lowell ModalAI Team
                last edited by 14 Jul 2022, 17:33

                @keil odomotry should be out the box via gazebo. A minor edit needs to be changed inside PX4-Autopilot. Please do the following:

                1. Move into the PX4-Autopilot/Tools/sitl_gazebo/models/iris_vision directory and edit the following file: iris_vision.sdf
                2. Within this file change the following line: <uri>model://iris</uri> TO <uri>model://iris_hitl</uri>
                3. Once this edit has been made, run the following:
                  make px4_sitl_default gazebo_iris_vision

                That will build a gazebo environment with a hitl iris that leverages vision to run VIO - AKA this will return odometry data.

                H 1 Reply Last reply 14 Jul 2022, 17:51 Reply Quote 0
                • H
                  howard @Zachary Lowell
                  last edited by 14 Jul 2022, 17:51

                  @Zachary-Lowell thanks a lot, will surely try

                  1 Reply Last reply Reply Quote 0
                  • H
                    howard
                    last edited by howard 15 Jul 2022, 05:01 15 Jul 2022, 05:01

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    1 out of 8
                    • First post
                      1/8
                      Last post
                    Powered by NodeBB | Contributors